fix(ci): fix workflow by adding working-directory, fetch script, and removing npm ci

- Set defaults.run.working-directory to .github/issue-resolution so
  scripts resolve from the correct path
- Remove npm ci step (no npm dependencies needed)
- Add fetch-candidates.mjs to gather open issues with comments and
  timeline events via GitHub REST API
- Add minimal package.json with type: module
This commit is contained in:
Ashley Mensah
2026-04-28 15:53:17 +02:00
parent 7c43973bc9
commit 9ff735dd52
3 changed files with 98 additions and 1 deletions

View File

@@ -40,6 +40,10 @@ jobs:
PROJECT_REPO_FIELD_ID: "PVTF_lADOBfz4Jc4BVeWRzhQ56sk"
PROJECT_STATUS_OPTION_NEEDS_REVIEW_ID: "a55a2be9"
defaults:
run:
working-directory: .github/issue-resolution
steps:
- uses: actions/checkout@v4
@@ -47,7 +51,6 @@ jobs:
with:
node-version: "20"
- run: npm ci
- run: node scripts/fetch-candidates.mjs
- run: node scripts/classify-candidates.mjs
- run: node scripts/apply-decisions.mjs