repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by bugabinga

Retire Node 20 action runtimes (#85)

93c2ec320bcf4aff284f69ceada5dd8d52ac5b1a

agent-smith-bugabinga-adc[bot] <306488075+agent-smith-bugabinga-adc[bot]@users.noreply.github.com> ·

SSH signature · not checked

Browse filesCompare with HEAD

## What forced this
Healthy ADW jobs now carry GitHub's Node 20 retirement warning, and
DevSkim also reports that CodeQL Action v3 retires in December 2026.

## The call
Run the supported Node 24-native majors now, before GitHub removes the
compatibility shim.

## What we deliberately didn't do
Do not fold in #61's alert-trigger repair or #65's bot handoff fix;
coupling independent behavior changes would make a mechanical runtime
migration harder to review and revert.

## Evidence
[Run
30103619041](https://github.com/bugabinga/smith/actions/runs/30103619041/job/89515540992)
warns on checkout v4 and App-token v1; [run
30089070044](https://github.com/bugabinga/smith/actions/runs/30089070044/job/89467996465)
adds the CodeQL v3 retirement warning, while runner 2.336.0 exceeds the
replacements' 2.327.1 minimum.

## Surface touched
`.github/workflows/*.yml` across 25 workflow files.

## If this ages badly
Revert only the incompatible action major if a job exposes a changed
input or runtime assumption; keep the other Node 24 migrations.

Signed-off-by: Oliver Jan Krylow <oliver@bugabinga.net>
Co-authored-by: agent-smith-bugabinga-adc[bot] <agent-smith-bugabinga-adc[bot]@users.noreply.github.com>
Co-authored-by: Oliver Jan Krylow <oliver@bugabinga.net>

Changed files (25)

+68 / −55 text lines

Diff layout

.github/workflows/adw-alerts.yml

Modified

+15 / −2 text lines

2727 cancel-in-progress: true
2929jobs:
30 # alert events can't run the action, so hand off to the automation event.
31 relay:
32 if: github.event_name == 'dependabot_alert' || github.event_name == 'code_scanning_alert'
33 runs-on: ubuntu-latest
34 steps:
35 - id: token
36 uses: actions/create-github-app-token@v3
37 with:
38 app-id: ${{ secrets.APP_ID }}
39 private-key: ${{ secrets.APP_PRIVATE_KEY }}
40 - env:
41 GH_TOKEN: ${{ steps.token.outputs.token }}
42 run: gh workflow run adw-alerts.yml -R ${{ github.repository }}
3043 triage:
3144 runs-on: ubuntu-latest
3245 steps:
33 - uses: actions/checkout@v4
46 - uses: actions/checkout@v7
3447 - id: token
35 uses: actions/create-github-app-token@v1
48 uses: actions/create-github-app-token@v3
3649 with:
3750 app-id: ${{ secrets.APP_ID }}
3851 private-key: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/adw-automerge.yml

Modified

+1 / −1 text lines

2626 runs-on: ubuntu-latest
2727 steps:
2828 - id: token
29 uses: actions/create-github-app-token@v1
29 uses: actions/create-github-app-token@v3
3030 with:
3131 app-id: ${{ secrets.APP_ID }}
3232 private-key: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/adw-build.yml

Modified

+2 / −2 text lines

2828 !contains(github.event.issue.labels.*.name, 'codex')
2929 runs-on: ubuntu-latest
3030 steps:
31 - uses: actions/checkout@v4
31 - uses: actions/checkout@v7
3232 - id: token
33 uses: actions/create-github-app-token@v1
33 uses: actions/create-github-app-token@v3
3434 with:
3535 app-id: ${{ secrets.APP_ID }}
3636 private-key: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/adw-codex-build.yml

Modified

+2 / −2 text lines

3939 runs-on: ubuntu-latest
4040 steps:
4141 - id: token
42 uses: actions/create-github-app-token@v1
42 uses: actions/create-github-app-token@v3
4343 with:
4444 app-id: ${{ secrets.APP_ID }}
4545 private-key: ${{ secrets.APP_PRIVATE_KEY }}
46 - uses: actions/checkout@v4
46 - uses: actions/checkout@v7
4747 with:
4848 persist-credentials: false
4949 - name: Codex auth + config

.github/workflows/adw-codex-review.yml

Modified

+2 / −2 text lines

4040 github.event.pull_request.user.login != 'dependabot[bot]'
4141 runs-on: ubuntu-latest
4242 steps:
43 - uses: actions/checkout@v4
43 - uses: actions/checkout@v7
4444 with:
4545 persist-credentials: false
4646 - id: token
4848 # fail-open, and the steps below fall back to github.token (read-only on a
4949 # fork) so the advisory job never hard-errors on an outside PR.
5050 continue-on-error: true
51 uses: actions/create-github-app-token@v1
51 uses: actions/create-github-app-token@v3
5252 with:
5353 app-id: ${{ secrets.APP_ID }}
5454 private-key: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/adw-comment.yml

Modified

+2 / −2 text lines

2828 contains(github.event.comment.body, '@smith')
2929 runs-on: ubuntu-latest
3030 steps:
31 - uses: actions/checkout@v4
31 - uses: actions/checkout@v7
3232 - id: token
33 uses: actions/create-github-app-token@v1
33 uses: actions/create-github-app-token@v3
3434 with:
3535 app-id: ${{ secrets.APP_ID }}
3636 private-key: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/adw-deps.yml

Modified

+2 / −2 text lines

2323 if: github.event.pull_request.user.login == 'dependabot[bot]'
2424 runs-on: ubuntu-latest
2525 steps:
26 - uses: actions/checkout@v4
26 - uses: actions/checkout@v7
2727 with:
2828 persist-credentials: false
2929 - id: token
30 uses: actions/create-github-app-token@v1
30 uses: actions/create-github-app-token@v3
3131 with:
3232 app-id: ${{ secrets.APP_ID }}
3333 private-key: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/adw-docs.yml

Modified

+2 / −2 text lines

2929 runs-on: ubuntu-latest
3030 steps:
3131 - id: token
32 uses: actions/create-github-app-token@v1
32 uses: actions/create-github-app-token@v3
3333 with:
3434 app-id: ${{ secrets.APP_ID }}
3535 private-key: ${{ secrets.APP_PRIVATE_KEY }}
36 - uses: actions/checkout@v4
36 - uses: actions/checkout@v7
3737 with:
3838 # Persist the App token (not the ambient GITHUB_TOKEN) so the full-access
3939 # Codex step has only one credential in reach, and git push works.

.github/workflows/adw-doctor.yml

Modified

+2 / −2 text lines

2626 runs-on: ubuntu-latest
2727 steps:
2828 - id: token
29 uses: actions/create-github-app-token@v1
29 uses: actions/create-github-app-token@v3
3030 with:
3131 app-id: ${{ secrets.APP_ID }}
3232 private-key: ${{ secrets.APP_PRIVATE_KEY }}
33 - uses: actions/checkout@v4
33 - uses: actions/checkout@v7
3434 with:
3535 fetch-depth: 0
3636 # Persist the App token (not the ambient GITHUB_TOKEN) so the full-access

.github/workflows/adw-intake.yml

Modified

+2 / −2 text lines

1919 triage:
2020 runs-on: ubuntu-latest
2121 steps:
22 - uses: actions/checkout@v4
22 - uses: actions/checkout@v7
2323 with:
2424 persist-credentials: false
2525 - name: mint the bot token
2626 id: token
27 uses: actions/create-github-app-token@v1
27 uses: actions/create-github-app-token@v3
2828 with:
2929 app-id: ${{ secrets.APP_ID }}
3030 private-key: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/adw-jam-detector.yml

Modified

+1 / −1 text lines

5959 runs-on: ubuntu-latest
6060 steps:
6161 - id: token
62 uses: actions/create-github-app-token@v1
62 uses: actions/create-github-app-token@v3
6363 with:
6464 app-id: ${{ secrets.APP_ID }}
6565 private-key: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/adw-labels.yml

Modified

+1 / −1 text lines

1717 sync:
1818 runs-on: ubuntu-latest
1919 steps:
20 - uses: actions/checkout@v4
20 - uses: actions/checkout@v7
2121 - name: sync labels from .github/labels.yml
2222 uses: crazy-max/ghaction-github-labeler@v5
2323 with:

.github/workflows/adw-plan.yml

Modified

+8 / −8 text lines

4848 runs-on: ubuntu-latest
4949 steps:
5050 - id: token
51 uses: actions/create-github-app-token@v1
51 uses: actions/create-github-app-token@v3
5252 with:
5353 app-id: ${{ secrets.APP_ID }}
5454 private-key: ${{ secrets.APP_PRIVATE_KEY }}
6363 runs-on: ubuntu-latest
6464 steps:
6565 - id: token
66 uses: actions/create-github-app-token@v1
66 uses: actions/create-github-app-token@v3
6767 with:
6868 app-id: ${{ secrets.APP_ID }}
6969 private-key: ${{ secrets.APP_PRIVATE_KEY }}
7979 group: adw-plan
8080 cancel-in-progress: false
8181 steps:
82 - uses: actions/checkout@v4
82 - uses: actions/checkout@v7
8383 with:
8484 fetch-depth: 0
8585 - id: token
86 uses: actions/create-github-app-token@v1
86 uses: actions/create-github-app-token@v3
8787 with:
8888 app-id: ${{ secrets.APP_ID }}
8989 private-key: ${{ secrets.APP_PRIVATE_KEY }}
110110 group: adw-plan
111111 cancel-in-progress: false
112112 steps:
113 - uses: actions/checkout@v4
113 - uses: actions/checkout@v7
114114 with:
115115 fetch-depth: 0
116116 - id: token
117 uses: actions/create-github-app-token@v1
117 uses: actions/create-github-app-token@v3
118118 with:
119119 app-id: ${{ secrets.APP_ID }}
120120 private-key: ${{ secrets.APP_PRIVATE_KEY }}
145145 group: adw-plan
146146 cancel-in-progress: false
147147 steps:
148 - uses: actions/checkout@v4
148 - uses: actions/checkout@v7
149149 with:
150150 fetch-depth: 0
151151 - id: token
152 uses: actions/create-github-app-token@v1
152 uses: actions/create-github-app-token@v3
153153 with:
154154 app-id: ${{ secrets.APP_ID }}
155155 private-key: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/adw-release.yml

Modified

+3 / −3 text lines

2424 runs-on: ubuntu-latest
2525 steps:
2626 - id: token
27 uses: actions/create-github-app-token@v1
27 uses: actions/create-github-app-token@v3
2828 with:
2929 app-id: ${{ secrets.APP_ID }}
3030 private-key: ${{ secrets.APP_PRIVATE_KEY }}
3636 if: github.event_name == 'workflow_dispatch'
3737 runs-on: ubuntu-latest
3838 steps:
39 - uses: actions/checkout@v4
39 - uses: actions/checkout@v7
4040 with:
4141 fetch-depth: 0
4242 persist-credentials: false
4343 - id: token
44 uses: actions/create-github-app-token@v1
44 uses: actions/create-github-app-token@v3
4545 with:
4646 app-id: ${{ secrets.APP_ID }}
4747 private-key: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/adw-review.yml

Modified

+4 / −4 text lines

4242 needs: reset
4343 runs-on: ubuntu-latest
4444 steps:
45 - uses: actions/checkout@v4
45 - uses: actions/checkout@v7
4646 - id: token
47 uses: actions/create-github-app-token@v1
47 uses: actions/create-github-app-token@v3
4848 with:
4949 app-id: ${{ secrets.APP_ID }}
5050 private-key: ${{ secrets.APP_PRIVATE_KEY }}
7070 needs: reset
7171 runs-on: ubuntu-latest
7272 steps:
73 - uses: actions/checkout@v4
73 - uses: actions/checkout@v7
7474 - id: token
75 uses: actions/create-github-app-token@v1
75 uses: actions/create-github-app-token@v3
7676 with:
7777 app-id: ${{ secrets.APP_ID }}
7878 private-key: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/adw-revise.yml

Modified

+4 / −4 text lines

3636 )
3737 runs-on: ubuntu-latest
3838 steps:
39 - uses: actions/checkout@v4
39 - uses: actions/checkout@v7
4040 - id: token
41 uses: actions/create-github-app-token@v1
41 uses: actions/create-github-app-token@v3
4242 with:
4343 app-id: ${{ secrets.APP_ID }}
4444 private-key: ${{ secrets.APP_PRIVATE_KEY }}
7575 runs-on: ubuntu-latest
7676 steps:
7777 - id: token
78 uses: actions/create-github-app-token@v1
78 uses: actions/create-github-app-token@v3
7979 with:
8080 app-id: ${{ secrets.APP_ID }}
8181 private-key: ${{ secrets.APP_PRIVATE_KEY }}
82 - uses: actions/checkout@v4
82 - uses: actions/checkout@v7
8383 with:
8484 ref: ${{ github.event.pull_request.head.ref }}
8585 # App token persisted (not the ambient one) so the full-access Codex step

.github/workflows/adw-survey.yml

Modified

+2 / −2 text lines

2424 survey:
2525 runs-on: ubuntu-latest
2626 steps:
27 - uses: actions/checkout@v4
27 - uses: actions/checkout@v7
2828 - id: token
29 uses: actions/create-github-app-token@v1
29 uses: actions/create-github-app-token@v3
3030 with:
3131 app-id: ${{ secrets.APP_ID }}
3232 private-key: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/adw-sweep.yml

Modified

+2 / −2 text lines

2222 sweep:
2323 runs-on: ubuntu-latest
2424 steps:
25 - uses: actions/checkout@v4
25 - uses: actions/checkout@v7
2626 with:
2727 persist-credentials: false
2828 - id: token
29 uses: actions/create-github-app-token@v1
29 uses: actions/create-github-app-token@v3
3030 with:
3131 app-id: ${{ secrets.APP_ID }}
3232 private-key: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/ci-prototype.yml

Modified

+3 / −3 text lines

3232 run:
3333 working-directory: prototypes/p34-ci-pipeline/cross
3434 steps:
35 - uses: actions/checkout@v4
35 - uses: actions/checkout@v7
3636 - name: toolchain + targets
3737 run: |
3838 rustup default stable
7474 run:
7575 working-directory: prototypes/p34-ci-pipeline/cross
7676 steps:
77 - uses: actions/checkout@v4
77 - uses: actions/checkout@v7
7878 - run: rustup default stable
7979 - name: build + run cross bin natively
8080 run: cargo run
9090 run:
9191 working-directory: prototypes/p34-ci-pipeline/archgate
9292 steps:
93 - uses: actions/checkout@v4
93 - uses: actions/checkout@v7
9494 - run: rustup default stable
9595 - name: metadata gate PASSES the legal graph
9696 run: python3 gate.py

.github/workflows/codeql.yml

Modified

+1 / −1 text lines

8282 # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
8383 steps:
8484 - name: Checkout repository
85 uses: actions/checkout@v4
85 uses: actions/checkout@v7
8787 # Add any setup steps before running the `github/codeql-action/init` action.
8888 # This includes steps like installing compilers or runtimes (`actions/setup-node`

.github/workflows/devskim.yml

Modified

+2 / −2 text lines

4141 security-events: write
4242 steps:
4343 - name: Checkout code
44 uses: actions/checkout@v4
44 uses: actions/checkout@v7
4646 - name: Run DevSkim scanner
4747 uses: microsoft/DevSkim-Action@v1
5454 ignore-globs: "**/.git/**,**/bin/**,**/target/**,**/prototypes/**"
5656 - name: Upload DevSkim scan results to GitHub Security tab
57 uses: github/codeql-action/upload-sarif@v3
57 uses: github/codeql-action/upload-sarif@v4
5858 with:
5959 sarif_file: devskim-results.sarif

.github/workflows/p35-adw-harness.yml

Modified

+2 / −2 text lines

2626 harness:
2727 runs-on: ubuntu-latest
2828 steps:
29 - uses: actions/checkout@v4
29 - uses: actions/checkout@v7
3131 - name: mint the bot token
3232 id: token
3333 continue-on-error: true
34 uses: actions/create-github-app-token@v1
34 uses: actions/create-github-app-token@v3
3535 with:
3636 app-id: ${{ secrets.APP_ID }}
3737 private-key: ${{ secrets.APP_PRIVATE_KEY }}

.github/workflows/p37-codex-harness.yml

Modified

+1 / −1 text lines

2020 probe:
2121 runs-on: ubuntu-latest
2222 steps:
23 - uses: actions/checkout@v4
23 - uses: actions/checkout@v7
2525 - name: Install the Codex CLI
2626 continue-on-error: true

.github/workflows/pages.yml

Modified

+1 / −1 text lines

3232 outputs:
3333 publish: ${{ steps.assemble.outputs.publish }}
3434 steps:
35 - uses: actions/checkout@v4
35 - uses: actions/checkout@v7
3636 - id: detect
3737 run: |
3838 if [ -f site/package.json ]; then echo "site=true" >> "$GITHUB_OUTPUT"; else echo "site=false" >> "$GITHUB_OUTPUT"; fi

.github/workflows/prototypes.yml

Modified

+1 / −1 text lines

3030 build-test:
3131 runs-on: ubuntu-latest
3232 steps:
33 - uses: actions/checkout@v4
33 - uses: actions/checkout@v7
3434 - name: toolchain
3535 run: rustup default stable && rustc -V && cargo -V
3636 - name: build + test every prototype (fail if any regresses)