Skip to content
Merged
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
18 changes: 16 additions & 2 deletions .github/workflows/main-broken.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
issues: write
actions: read
pull-requests: read
Expand All @@ -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-<sha>/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: |
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down