Skip to content
Open
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
20 changes: 10 additions & 10 deletions .github/workflows/_image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
echo "REGISTRY_IMAGE=ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/${{ inputs.image_name }}" >> "$GITHUB_ENV"
echo "IMAGE_TITLE=${{ inputs.title != '' && inputs.title || inputs.image_name }}" >> "$GITHUB_ENV"

- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

# Base images by role (ADR 1220): every BASE_<ROLE> argument the
# Dockerfile declares, from ops/base-images/<role>/Dockerfile. In this
Expand All @@ -99,19 +99,19 @@ jobs:
if [ -n "$TARGET" ]; then args+=(--target "$TARGET"); fi
python3 ops/base-images/base-images.py "${args[@]}"

- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1

- name: Log in to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push by digest (${{ matrix.arch }})
id: build
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: ${{ inputs.context }}
file: ${{ inputs.file }}
Expand All @@ -137,7 +137,7 @@ jobs:

- name: Upload digest
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: digests-${{ inputs.image_name }}-${{ matrix.arch }}
path: /tmp/digests/*
Expand All @@ -156,27 +156,27 @@ jobs:
- name: Resolve self-referential registry namespace (lowercased)
run: echo "REGISTRY_IMAGE=ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/${{ inputs.image_name }}" >> "$GITHUB_ENV"

- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Download digests
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
path: /tmp/digests
pattern: digests-${{ inputs.image_name }}-*
merge-multiple: true

- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1

- name: Log in to GHCR
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker metadata
id: meta
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/_release-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: The pusher holds the admin role
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
shell: bash
working-directory: crates
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@1.95.0
with:
targets: ${{ matrix.rust_target }}
Expand All @@ -163,7 +163,7 @@ jobs:
- name: Python for zig (Linux)
if: matrix.glibc != ''
id: python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: '3.12'
- name: zig and cargo-zigbuild (Linux), to link against the glibc floor and not the runner's
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
echo "$sum $OUT" > "$OUT.sha256"
echo "- \`$OUT\` sha256 \`$sum\`" >> "$GITHUB_STEP_SUMMARY"

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: ${{ inputs.bin }}-${{ matrix.os_label }}-${{ matrix.arch }}
path: dist/*
Expand All @@ -286,7 +286,7 @@ jobs:
packages: read
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: ./.github/actions/apt-failover
- name: docs_asset is named
env:
Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:
echo "- size $(du -h "dist/$DOCS_ASSET" | cut -f1), sha256 \`$(awk '{print $1}' "dist/$DOCS_ASSET.sha256")\`"
echo "- index.html present: $(tar tzf "dist/$DOCS_ASSET" | grep -cx './index.html' || true)"
} >> "$GITHUB_STEP_SUMMARY"
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: ${{ inputs.bin }}-docs
path: dist/*
Expand All @@ -366,7 +366,7 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
path: artifacts
merge-multiple: true
Expand All @@ -385,7 +385,7 @@ jobs:
--certificate-identity-regexp "^https://github.com/${GITHUB_REPOSITORY}/" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
SHA256SUMS
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: ${{ inputs.bin }}-checksums
path: |
Expand All @@ -403,13 +403,13 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- uses: actions/checkout@v7
- uses: actions/download-artifact@v8
with:
path: release-assets
merge-multiple: true
- run: ls -la release-assets/
- uses: softprops/action-gh-release@v2
- uses: softprops/action-gh-release@v3
with:
tag_name: ${{ github.ref_name }}
files: release-assets/*
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/acceptance-pairings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: '3.12'
- run: pip install --quiet pyyaml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/acl-assertions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2

Expand All @@ -45,7 +45,7 @@ jobs:

- name: Cache Cargo inputs and build
if: steps.changes.outputs.run_tests == 'true'
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
~/.cargo/registry/index
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/admit-audit-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
outputs:
relevant: ${{ steps.filter.outputs.relevant }}
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
ref: ${{ github.event.pull_request.head.sha || github.sha }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/admit-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ jobs:
run:
working-directory: ops/admit-audit
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: '1.26.11'
cache-dependency-path: ops/admit-audit/go.sum
- run: go vet ./...
- name: golangci-lint (Block 50A.3 — strict config)
uses: golangci/golangci-lint-action@9fae48acfc02a90574d7c304a1758ef9895495fa # v7
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: v2.12.1
working-directory: ops/admit-audit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/agent-references.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
# The scanning script that runs below is main's, never the pull request's.
# No `ref`: with none, a push checks out the pushed commit, and
# `pull_request_target` checks out the base branch, never the pull request.
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0 # need the base commit to diff against

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ansible-syntax-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,23 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Static lint — within-file register-name collisions
run: bash ops/ansible/tests/check-register-uniqueness.sh

inventory-group-vars-consistency:
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Static lint — group_vars dirs map to inventory groups
run: bash ops/ci/check-ansible-inventory-groups.sh

per-role-syntax-check:
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Install ansible-core
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/apt-failover-selftest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
packages: read
timeout-minutes: 40
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
# The runner image's own apt sources, as an annotation (readable without the log): the
# failover sends only the Ubuntu archive hosts to the cache, and leaves these direct.
- name: The runner's apt sources
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
packages: read
timeout-minutes: 10
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
# Whether the runner's mirror answers right now, judged apart from the action.
- name: The mirror, before the action
id: mirror
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/audit-fifo-evict.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
PROM_VERSION: '2.54.1'
PROM_SHA256: '31715ef65e8a898d0f97c8c08c03b6b9afe485ac84e1698bcfec90fc6e62924f'
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: install promtool (version-pinned + checksum-verified)
run: |
set -euo pipefail
Expand All @@ -47,12 +47,12 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: '1.26.11'
cache: false
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: '3.12'
- run: pip install --quiet pyyaml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/base-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: The guard fails on each defect it exists to catch
run: python3 ops/base-images/base-images.py --self-test
- name: Base images are public, pinned and named by role
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cargo-deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Run cargo-deny (licenses + bans + sources, advisories handled by rust-audit.yml)
uses: EmbarkStudios/cargo-deny-action@3c6349835b2b7b196a839186cb8b78e02f7b5f25 # v2
Expand All @@ -74,8 +74,8 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions-rust-lang/setup-rust-toolchain@a188e68d0fd2bd36ad51dccb2b07ba6e75105f30 # v2.0.1
with:
toolchain: '1.100.0'
components: ''
Expand Down
Loading
Loading