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
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -588,30 +588,30 @@ jobs:
persist-credentials: false

- name: Download image artifacts
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: ${{ matrix.image }}
merge-multiple: true
path: dist/diskless

- name: Download the next image set
if: needs.changes.outputs.release != 'true' && matrix.next != ''
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: ${{ matrix.next }}
merge-multiple: true
path: dist/diskless-next

- name: Download the broken image set
if: needs.changes.outputs.release != 'true' && matrix.broken
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: image-broken
path: dist/diskless-broken

- name: Download the Ignition test config signatures
if: needs.changes.outputs.release != 'true' && matrix.sigs
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: ignition-sigs
path: dist/ignition-sigs
Expand Down Expand Up @@ -690,7 +690,7 @@ jobs:

# Every part of the image set, merged back into the set as built.
- name: Download image artifacts
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: image-set-*
merge-multiple: true
Expand Down Expand Up @@ -777,14 +777,14 @@ jobs:

# Every part of the image set, merged back into the set as built.
- name: Download image artifacts
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: image-set-*
merge-multiple: true
path: dist/diskless

- name: Download the size report
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: image-size
path: dist/diskless
Expand Down Expand Up @@ -891,7 +891,7 @@ jobs:

# Every part of the image set, merged back into the set as built.
- name: Download image artifacts
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: image-set-*
merge-multiple: true
Expand All @@ -900,7 +900,7 @@ jobs:
# Only image-check's success uploads it; the rehearsal runs either way.
- name: Download the size report
if: needs.image-check.result == 'success'
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: image-size
path: dist/diskless
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: '3.15'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/track-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
# which downloads upstream assets; it is never written to .git/config.
- name: Get mergeraptor token
id: app-token
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
with:
app-id: ${{ secrets.MERGERAPTOR_APP_ID }}
private-key: ${{ secrets.MERGERAPTOR_PRIVATE_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/track-junctions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
# never written to .git/config.
- name: Get mergeraptor token
id: app-token
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
with:
app-id: ${{ secrets.MERGERAPTOR_APP_ID }}
private-key: ${{ secrets.MERGERAPTOR_PRIVATE_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: '3.15'

Expand Down
12 changes: 6 additions & 6 deletions docs/skills/ci-tooling.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ metadata:

### Action pins — always use SHA, never mutable tags

Every `uses:` line must reference a full commit SHA. Never use `@v2` or `@main`.
Every `uses:` line must reference a full commit SHA, with its exact release tag
in the comment (not a moving major tag). The online workflow audit checks both.

```yaml
# correct (see build.yml for the current pinned SHA)
- uses: taiki-e/install-action@<full-commit-sha> # v2
- uses: taiki-e/install-action@<full-commit-sha> # v2.90.1

# wrong — mutable tag, supply-chain risk
- uses: taiki-e/install-action@v2
```

Check `.github/workflows/build.yml` (and sibling repos such as
`projectbluefin/dakota` and `projectbluefin/common`) for the current pinned SHA
before adding an action.
Check `.github/workflows/build.yml` (and sibling repos `projectbluefin/dakota`
and `projectbluefin/common`) for the current pinned SHA before adding an action.

### Installing `just` — taiki-e/install-action, not snap/cargo/apt

Expand All @@ -48,7 +48,7 @@ Pin the tool version too, not only the action SHA. Without `@<version>`,
a binary chosen by an upstream release rather than by a commit in this repo.

```yaml
- uses: taiki-e/install-action@<full-commit-sha> # v2 — see build.yml for the current pin
- uses: taiki-e/install-action@<full-commit-sha> # v2.90.1 — see build.yml for the current pin
with:
tool: just@<version> # the version every other call site uses
```
Expand Down
Loading