Skip to content
Merged
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
14 changes: 7 additions & 7 deletions .github/workflows/agents-71-codex-belt-dispatcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Mint GitHub App token (preferred)
id: app_token
if: ${{ env.WORKFLOWS_APP_ID != '' && env.WORKFLOWS_APP_PRIVATE_KEY != '' }}
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
with:
app-id: ${{ env.WORKFLOWS_APP_ID }}
private-key: ${{ env.WORKFLOWS_APP_PRIVATE_KEY }}
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
echo "dry_run=${{ inputs.dry_run }}" >>"$GITHUB_OUTPUT"

- name: Checkout repo (for retry helpers)
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
token: ${{ env.GH_DISPATCH_TOKEN }}
fetch-depth: 1
Expand All @@ -180,7 +180,7 @@ jobs:

- name: Resolve Workflows default branch
id: workflows_ref
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
script: |
const { createTokenAwareRetry } = require('./.github/scripts/github-api-with-retry.js');
Expand All @@ -198,7 +198,7 @@ jobs:
core.setOutput('ref', data.default_branch);

- name: Checkout (for retry helpers)
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
repository: stranske/Workflows
ref: ${{ steps.workflows_ref.outputs.ref }}
Expand All @@ -212,7 +212,7 @@ jobs:

- name: Resolve candidate issue
id: pick
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_DISPATCH_TOKEN }}
script: |
Expand Down Expand Up @@ -307,7 +307,7 @@ jobs:

- name: Checkout default branch
if: ${{ steps.pick.outputs.issue != '' && steps.mode.outputs.dry_run != 'true' }}
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
ref: ${{ steps.pick.outputs.base }}
token: ${{ env.GH_DISPATCH_TOKEN }}
Expand All @@ -334,7 +334,7 @@ jobs:

- name: Transition issue to in-progress
if: ${{ steps.pick.outputs.issue != '' && steps.mode.outputs.dry_run != 'true' }}
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_DISPATCH_TOKEN }}
script: |
Expand Down
46 changes: 23 additions & 23 deletions .github/workflows/agents-72-codex-belt-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
- name: Mint GitHub App token (preferred)
id: app_token
if: ${{ env.WORKFLOWS_APP_ID != '' && env.WORKFLOWS_APP_PRIVATE_KEY != '' }}
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
with:
app-id: ${{ env.WORKFLOWS_APP_ID }}
private-key: ${{ env.WORKFLOWS_APP_PRIVATE_KEY }}
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:

- name: Determine worker mode
id: mode
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
script: |
const coerce = (value) => {
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:

- name: Resolve worker context
id: ctx
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_BELT_TOKEN }}
script: |
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
.write();

- name: Checkout repo (for retry helpers)
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
token: ${{ env.GH_BELT_TOKEN }}
fetch-depth: 1
Expand All @@ -303,7 +303,7 @@ jobs:

- name: Resolve Workflows default branch
id: workflows_ref
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
script: |
const { createTokenAwareRetry } = require('./.github/scripts/github-api-with-retry.js');
Expand All @@ -321,7 +321,7 @@ jobs:
core.setOutput('ref', data.default_branch);

- name: Checkout Workflows scripts
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
repository: stranske/Workflows
ref: ${{ steps.workflows_ref.outputs.ref }}
Expand All @@ -341,7 +341,7 @@ jobs:

- name: Determine default branch
id: base
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_BELT_TOKEN }}
script: |
Expand All @@ -366,7 +366,7 @@ jobs:

- name: Check parallel allowance
id: parallel
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_BELT_TOKEN }}
script: |
Expand Down Expand Up @@ -409,7 +409,7 @@ jobs:
- name: Evaluate keepalive worker gate
if: ${{ inputs.keepalive == true }}
id: keepalive_gate
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
env:
KEEPALIVE: ${{ inputs.keepalive && 'true' || 'false' }}
ISSUE_NUMBER: ${{ steps.ctx.outputs.issue }}
Expand Down Expand Up @@ -466,7 +466,7 @@ jobs:
- name: Prune merged step branches
if: ${{ steps.parallel.outputs.allowed == 'true' && (inputs.keepalive != true || steps.keepalive_gate.outputs.action != 'skip') && steps.mode.outputs.dry_run != 'true' }}
id: prune
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_BELT_TOKEN }}
script: |
Expand Down Expand Up @@ -551,7 +551,7 @@ jobs:
- name: Re-verify issue labels
if: ${{ steps.parallel.outputs.allowed == 'true' && (inputs.keepalive != true || steps.keepalive_gate.outputs.action != 'skip') }}
id: verify
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_BELT_TOKEN }}
script: |
Expand Down Expand Up @@ -584,15 +584,15 @@ jobs:

- name: Checkout branch
if: ${{ steps.parallel.outputs.allowed == 'true' && (inputs.keepalive != true || steps.keepalive_gate.outputs.action != 'skip') }}
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
ref: ${{ steps.ctx.outputs.branch }}
token: ${{ env.GH_BELT_TOKEN }}
fetch-depth: 0

- name: Checkout belt tooling
if: ${{ steps.parallel.outputs.allowed == 'true' && (inputs.keepalive != true || steps.keepalive_gate.outputs.action != 'skip') }}
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
repository: stranske/Workflows
ref: ${{ steps.workflows_ref.outputs.ref }}
Expand All @@ -602,7 +602,7 @@ jobs:

- name: Validate branch prefix
if: ${{ steps.parallel.outputs.allowed == 'true' && (inputs.keepalive != true || steps.keepalive_gate.outputs.action != 'skip') }}
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
script: |
const fs = require('node:fs');
Expand Down Expand Up @@ -774,7 +774,7 @@ jobs:
id: ledger_issue
env:
ISSUE_NUMBER: ${{ steps.ctx.outputs.issue }}
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
script: |
const { createTokenAwareRetry } = require('./.github/scripts/github-api-with-retry.js');
Expand Down Expand Up @@ -1023,7 +1023,7 @@ jobs:

- name: Ensure issue labels reflect in-progress state
if: ${{ steps.parallel.outputs.allowed == 'true' && (inputs.keepalive != true || steps.keepalive_gate.outputs.action != 'skip') && steps.mode.outputs.dry_run != 'true' && steps.verify.outputs.has_in_progress != 'true' }}
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_BELT_TOKEN }}
script: |
Expand All @@ -1045,7 +1045,7 @@ jobs:

- name: Remove residual status:ready label
if: ${{ steps.parallel.outputs.allowed == 'true' && (inputs.keepalive != true || steps.keepalive_gate.outputs.action != 'skip') && steps.mode.outputs.dry_run != 'true' && steps.verify.outputs.has_ready == 'true' }}
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_BELT_TOKEN }}
script: |
Expand All @@ -1070,7 +1070,7 @@ jobs:
- name: Open or refresh agent PR
if: ${{ steps.parallel.outputs.allowed == 'true' && (inputs.keepalive != true || steps.keepalive_gate.outputs.action != 'skip') && steps.mode.outputs.dry_run != 'true' }}
id: pr
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_BELT_TOKEN }}
script: |
Expand Down Expand Up @@ -1137,7 +1137,7 @@ jobs:

- name: Configure auto-merge strategy
if: ${{ steps.parallel.outputs.allowed == 'true' && (inputs.keepalive != true || steps.keepalive_gate.outputs.action != 'skip') && steps.mode.outputs.dry_run != 'true' && steps.pr.outputs.number }}
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_BELT_TOKEN }}
script: |
Expand Down Expand Up @@ -1177,7 +1177,7 @@ jobs:

- name: Apply automation labels
if: ${{ steps.parallel.outputs.allowed == 'true' && (inputs.keepalive != true || steps.keepalive_gate.outputs.action != 'skip') && steps.mode.outputs.dry_run != 'true' && steps.pr.outputs.number }}
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_BELT_TOKEN }}
script: |
Expand All @@ -1201,7 +1201,7 @@ jobs:

- name: Ensure PR assignees include automation
if: ${{ steps.parallel.outputs.allowed == 'true' && (inputs.keepalive != true || steps.keepalive_gate.outputs.action != 'skip') && steps.mode.outputs.dry_run != 'true' && steps.pr.outputs.number }}
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_BELT_TOKEN }}
script: |
Expand Down Expand Up @@ -1240,7 +1240,7 @@ jobs:

- name: Post activation comment
if: ${{ steps.parallel.outputs.allowed == 'true' && (inputs.keepalive != true || steps.keepalive_gate.outputs.action != 'skip') && steps.mode.outputs.dry_run != 'true' && steps.pr.outputs.number && inputs.keepalive != true }}
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_BELT_TOKEN }}
script: |
Expand Down Expand Up @@ -1316,7 +1316,7 @@ jobs:

- name: Sync issue comment with PR link
if: ${{ steps.parallel.outputs.allowed == 'true' && (inputs.keepalive != true || steps.keepalive_gate.outputs.action != 'skip') && steps.mode.outputs.dry_run != 'true' && steps.pr.outputs.number }}
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_BELT_TOKEN }}
script: |
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/agents-73-codex-belt-conveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
- name: Mint GitHub App token (preferred)
id: app_token
if: ${{ env.WORKFLOWS_APP_ID != '' && env.WORKFLOWS_APP_PRIVATE_KEY != '' }}
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
with:
app-id: ${{ env.WORKFLOWS_APP_ID }}
private-key: ${{ env.WORKFLOWS_APP_PRIVATE_KEY }}
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
} >>"$GITHUB_OUTPUT"

- name: Checkout retry helpers
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
sparse-checkout: |
.github/actions/setup-api-client
Expand All @@ -204,7 +204,7 @@ jobs:

- name: Summarise invocation
id: summary
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
script: |
const summary = core.summary;
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:

- name: Load PR details
id: pr
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_CONVEYOR_TOKEN }}
script: |
Expand Down Expand Up @@ -329,7 +329,7 @@ jobs:

- name: Ensure Gate succeeded
id: gate
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_CONVEYOR_TOKEN }}
script: |
Expand Down Expand Up @@ -358,7 +358,7 @@ jobs:

- name: Detect bootstrap-only placeholder change
id: bootstrap
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_CONVEYOR_TOKEN }}
script: |
Expand Down Expand Up @@ -433,7 +433,7 @@ jobs:
- name: Merge PR with squash
if: ${{ steps.mode.outputs.dry_run != 'true' && steps.bootstrap.outputs.bootstrap != 'true' }}
id: merge
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_CONVEYOR_TOKEN }}
script: |
Expand All @@ -458,7 +458,7 @@ jobs:

- name: Delete branch after merge
if: ${{ steps.mode.outputs.dry_run != 'true' && steps.bootstrap.outputs.bootstrap != 'true' && steps.merge.outputs.merged == 'true' }}
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_CONVEYOR_TOKEN }}
script: |
Expand All @@ -482,7 +482,7 @@ jobs:

- name: Close source issue
if: ${{ steps.mode.outputs.dry_run != 'true' && steps.bootstrap.outputs.bootstrap != 'true' && steps.merge.outputs.merged == 'true' }}
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_CONVEYOR_TOKEN }}
script: |
Expand Down Expand Up @@ -528,7 +528,7 @@ jobs:

- name: Leave merge confirmation on PR
if: ${{ steps.mode.outputs.dry_run != 'true' && steps.bootstrap.outputs.bootstrap != 'true' && steps.merge.outputs.merged == 'true' }}
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_CONVEYOR_TOKEN }}
script: |
Expand Down Expand Up @@ -560,7 +560,7 @@ jobs:

- name: Re-dispatch dispatcher
if: ${{ steps.mode.outputs.dry_run != 'true' && steps.bootstrap.outputs.bootstrap != 'true' && steps.merge.outputs.merged == 'true' }}
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ env.GH_CONVEYOR_TOKEN }}
script: |
Expand Down
Loading
Loading