diff --git a/.github/workflows/agent-drift.yml b/.github/workflows/agent-drift.yml index 2171b72..54d4fc2 100644 --- a/.github/workflows/agent-drift.yml +++ b/.github/workflows/agent-drift.yml @@ -9,6 +9,6 @@ concurrency: jobs: agent-drift: - uses: BehindTheMusicTree/github-workflows/.github/workflows/agent-drift.yml@092fa6c34b270f7170f03bef4993bffbaff01afd # v6.7.2 + uses: BehindTheMusicTree/github-workflows/.github/workflows/agent-drift.yml@b6b1f3922b06554dceac5fec7e7e5746b9bf7373 # v6.9.0 permissions: contents: read diff --git a/.github/workflows/org-conformance.yml b/.github/workflows/org-conformance.yml index 83b6b3f..1b9a28c 100644 --- a/.github/workflows/org-conformance.yml +++ b/.github/workflows/org-conformance.yml @@ -11,6 +11,6 @@ concurrency: jobs: org-conformance: - uses: BehindTheMusicTree/github-workflows/.github/workflows/org-conformance.yml@092fa6c34b270f7170f03bef4993bffbaff01afd # v6.7.2 + uses: BehindTheMusicTree/github-workflows/.github/workflows/org-conformance.yml@b6b1f3922b06554dceac5fec7e7e5746b9bf7373 # v6.9.0 permissions: contents: read diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index 042e4b4..bf5fa2c 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -15,4 +15,4 @@ concurrency: jobs: pr-title: - uses: BehindTheMusicTree/github-workflows/.github/workflows/pr-title.yml@092fa6c34b270f7170f03bef4993bffbaff01afd # v6.7.2 + uses: BehindTheMusicTree/github-workflows/.github/workflows/pr-title.yml@b6b1f3922b06554dceac5fec7e7e5746b9bf7373 # v6.9.0 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b41823d..4ac1485 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,20 +3,27 @@ name: Publish to npm on: push: branches: [main] + # Recovery when GitHub created no run for a release push: replays that push's validation on the given commit. + workflow_dispatch: + inputs: + release-commit: + description: Full SHA of the release commit on main whose push produced no run + type: string + required: true permissions: contents: read # Preserve every main push carrying a release. concurrency: - group: publish-${{ github.sha }} + group: publish-${{ inputs.release-commit || github.sha }} cancel-in-progress: false jobs: tag: permissions: contents: write - uses: BehindTheMusicTree/github-workflows/.github/workflows/release-tag.yml@092fa6c34b270f7170f03bef4993bffbaff01afd # v6.7.2 + uses: BehindTheMusicTree/github-workflows/.github/workflows/release-tag.yml@b6b1f3922b06554dceac5fec7e7e5746b9bf7373 # v6.9.0 with: app-id: ${{ vars.RELEASE_APP_ID }} secrets: @@ -33,7 +40,8 @@ jobs: steps: - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0 with: - ref: ${{ github.sha }} + # A recovery dispatch runs on the head of main, not on the released commit. + ref: ${{ github.event.inputs.release-commit || github.sha }} fetch-depth: 0 persist-credentials: false @@ -41,7 +49,7 @@ jobs: uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 with: repository: BehindTheMusicTree/github-workflows - ref: 18b90bc9c64b9abab0a86e7ea74f65acac93aec1 # v6.6.0 + ref: b6b1f3922b06554dceac5fec7e7e5746b9bf7373 # v6.9.0 path: .release-foundation persist-credentials: false @@ -91,7 +99,7 @@ jobs: needs: [tag, publish] # Ordinary pushes skip publishing and still reconcile the release PR. if: ${{ !cancelled() && needs.tag.result == 'success' && (needs.tag.outputs.tag == '' || needs.publish.result == 'success') }} - uses: BehindTheMusicTree/github-workflows/.github/workflows/release-please.yml@092fa6c34b270f7170f03bef4993bffbaff01afd # v6.7.2 + uses: BehindTheMusicTree/github-workflows/.github/workflows/release-please.yml@b6b1f3922b06554dceac5fec7e7e5746b9bf7373 # v6.9.0 with: app-id: ${{ vars.RELEASE_PR_APP_ID }} auto-merge: true diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 09c770a..50f8850 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -48,7 +48,7 @@ jobs: needs: build permissions: contents: read - uses: BehindTheMusicTree/github-workflows/.github/workflows/coverage.yml@092fa6c34b270f7170f03bef4993bffbaff01afd # v6.7.2 + uses: BehindTheMusicTree/github-workflows/.github/workflows/coverage.yml@b6b1f3922b06554dceac5fec7e7e5746b9bf7373 # v6.9.0 with: # Floor shared by both packages; their vitest configs keep stricter per-package thresholds. line: 85