From 06b66a08e8eb405f356a3480d48b425932c01d46 Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Tue, 3 Nov 2026 10:43:59 -0600 Subject: [PATCH] ci(main-broken): load pm-dispatch-queue as a local action The watcher failed at 'Set up job' on every run since 2026-11-03 because the runner could not download developing-today/code as an action archive ('Could not find file .../_staging/code-/archive'), so no main breakage was filed (issue #4867, runs 41627469155, 41629527441, 41665798024). Check the repo out first and use the in-repo composite action path instead, which needs no action-repository download. Fixes #4867 --- .github/workflows/main-broken.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main-broken.yml b/.github/workflows/main-broken.yml index 93f564302f..6b8961a710 100644 --- a/.github/workflows/main-broken.yml +++ b/.github/workflows/main-broken.yml @@ -82,6 +82,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 permissions: + contents: read issues: write actions: read pull-requests: read @@ -92,6 +93,19 @@ jobs: RUN_ID: ${{ github.event.workflow_run.id || inputs.run_id }} DRY_RUN: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run }} steps: + # The pm-dispatch-queue action is loaded from this checkout rather + # than as `developing-today/code/.github/actions/pm-dispatch-queue@main`. + # The remote form made the runner download the whole repo as an + # action archive during "Set up job", which failed on every run with + # `Could not find file .../_staging/code-/archive` and broke the + # watcher entirely (issue #4867, runs 41627469155 / 41629527441 / + # 41665798024). A local action path is resolved from the workspace + # and needs no action-repository download. + - name: Check out the watcher action + uses: actions/checkout@v7 + with: + persist-credentials: false + - name: Identify breakage id: identify run: | @@ -187,7 +201,7 @@ jobs: - name: Queue the breakage via pm-dispatch (creates the issue) id: dispatch-create if: steps.identify.outputs.action == 'create' - uses: developing-today/code/.github/actions/pm-dispatch-queue@main + uses: ./.github/actions/pm-dispatch-queue with: title: ${{ steps.identify.outputs.title }} prompt: ${{ steps.identify.outputs.prompt }} @@ -249,7 +263,7 @@ jobs: - name: Queue a fresh fix task via pm-dispatch (existing issue) id: dispatch-append if: steps.identify.outputs.action == 'append' - uses: developing-today/code/.github/actions/pm-dispatch-queue@main + uses: ./.github/actions/pm-dispatch-queue with: title: ${{ steps.identify.outputs.title }} prompt: ${{ steps.identify.outputs.prompt }}