Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/scripts/issue_intake.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
from pathlib import Path
import sys

PROJECT_ROOT = Path(__file__).resolve().parents[2]
if str(PROJECT_ROOT) not in sys.path:
sys.path.insert(0, str(PROJECT_ROOT))

from scripts.issue_intake import main


Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/issue-intake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,17 @@ jobs:
- name: Install lightweight dependencies
run: pip install requests

- name: Validate intake imports
env:
PYTHONPATH: ${{ github.workspace }}
run: |
python - <<'PY'
import scripts.issue_intake
print("imports ok")
PY

- name: Run issue intake
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python .github/scripts/issue_intake.py
PYTHONPATH: ${{ github.workspace }}
run: python -m scripts.issue_intake
Loading