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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
runs-on: ${{ matrix.runner }}
steps:
- name: Checkout first to use locally defined actions
uses: actions/checkout@v6.0.2
uses: actions/checkout@v7

- name: Setup Nix
uses: ./.github/setup-nix
Expand All @@ -68,7 +68,7 @@ jobs:
runs-on: [self-hosted, linux, x64]
steps:
- name: Checkout first to use locally defined actions
uses: actions/checkout@v6.0.2
uses: actions/checkout@v7

- name: Stage the devShell test fixture as the workspace flake
run: |
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
runs-on: ${{ matrix.runner }}
steps:
- name: Checkout first to use locally defined actions
uses: actions/checkout@v6.0.2
uses: actions/checkout@v7

# On this runner Nix already exists, so the installer step is skipped and
# only `Configure Nix` + the new verification run. A green step here is
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
runs-on: [self-hosted, linux, x64]
steps:
- name: Checkout first to use locally defined actions
uses: actions/checkout@v6.0.2
uses: actions/checkout@v7

- name: Setup Nix
uses: ./.github/setup-nix
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
runs-on: [self-hosted, linux, x64]
steps:
- name: Checkout first to use locally defined actions
uses: actions/checkout@v6.0.2
uses: actions/checkout@v7

- name: Setup Nix
uses: ./.github/setup-nix
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/netbird-attic-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
ATTIC_SUBSTITUTER: https://cache.metacraft-labs.com/metacraft-private-infrastructure
ATTIC_TRUSTED_PUBLIC_KEY: metacraft-private-infrastructure:TWjFAlGXK9Mky5VG3PBln2MqYz4XPw3MTHHVPYZiAhE=
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7

# No netbird-cache-probe-url: the private cache returns 401 without a
# token, and the probe uses `curl -fsS` (fails on 4xx). Connectivity is
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/reusable-cloudflare-import.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ jobs:
offline:
runs-on: ${{ fromJSON(inputs.runner) }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: metacraft-labs/devops-modules
ref: ${{ inputs.nixos_modules_ref }}
Expand Down Expand Up @@ -145,8 +145,8 @@ jobs:
|| (github.event_name == 'workflow_dispatch' && inputs.mode == 'plan')
runs-on: ${{ fromJSON(inputs.runner) }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: metacraft-labs/devops-modules
ref: ${{ inputs.nixos_modules_ref }}
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
echo "token_path=$token_file" >> "$GITHUB_OUTPUT"

- name: Configure AWS credentials for plan
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
uses: aws-actions/configure-aws-credentials@e1253824e5c10ff9df46874f81ed3ec929e19cfd # v6.3.0
with:
aws-region: ${{ inputs.aws_region }}
role-to-assume: ${{ github.event_name == 'workflow_dispatch' && vars.AWS_TERRAFORM_DRIFT_ROLE_ARN || vars.AWS_TERRAFORM_PLAN_ROLE_ARN }}
Expand Down Expand Up @@ -309,8 +309,8 @@ jobs:
runs-on: ${{ fromJSON(inputs.runner) }}
environment: production
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: metacraft-labs/devops-modules
ref: ${{ inputs.nixos_modules_ref }}
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
echo "token_path=$token_file" >> "$GITHUB_OUTPUT"

- name: Configure AWS credentials for apply
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
uses: aws-actions/configure-aws-credentials@e1253824e5c10ff9df46874f81ed3ec929e19cfd # v6.3.0
with:
aws-region: ${{ inputs.aws_region }}
role-to-assume: ${{ vars.AWS_TERRAFORM_APPLY_ROLE_ARN }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/reusable-flake-checks-ci-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ jobs:
grep -q "^machine $h " "$HOME/.config/nix/netrc" 2>/dev/null || \
printf 'machine %s password %s\n' "$h" "$ATTIC_TOKEN" >> "$HOME/.config/nix/netrc"

- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7

- name: Generate Shard Matrix
id: generate-matrix
Expand Down Expand Up @@ -311,7 +311,7 @@ jobs:
grep -q "^machine $h " "$HOME/.config/nix/netrc" 2>/dev/null || \
printf 'machine %s password %s\n' "$h" "$ATTIC_TOKEN" >> "$HOME/.config/nix/netrc"

- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7

- name: Generate CI Matrix
id: generate-matrix
Expand Down Expand Up @@ -352,7 +352,7 @@ jobs:
if: needs.shard-matrix.outputs.eval_matrix != '{"include":[]}' &&
needs.eval-matrix.result == 'success'
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7

- name: Setup Nix
uses: metacraft-labs/devops-modules/.github/setup-nix@dev
Expand Down Expand Up @@ -763,7 +763,7 @@ jobs:
run: |
echo "All evaluated outputs were already present in the configured caches."

- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7
if: ${{ !matrix.noop }}

- name: Setup Nix
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
LINT_HAS_STATIC_TOKEN: ${{ secrets.NIX_GITHUB_TOKEN != '' || secrets.GH_READ_METACRAFT_PRIVATE_REPOS != '' }}
LINT_HAS_TOKEN_APP: ${{ secrets.CI_TOKEN_PROVIDER_PRIVATE_KEY != '' && (secrets.CI_TOKEN_PROVIDER_APP_ID != '' || vars.CI_TOKEN_PROVIDER_APP_ID != '') }}
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7
with:
fetch-depth: ${{ inputs.fetch-depth }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ${{ fromJSON(inputs.runner) }}
steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reusable-nix-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
pull-requests: write

steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
id: nix-diff-full
if: steps.discover.outputs.count != '0'
continue-on-error: true
uses: natsukium/nix-diff-action@v1.1.0
uses: natsukium/nix-diff-action@v1.1.1
env:
NIX_CONFIG: |
experimental-features = nix-command flakes pipe-operators
Expand All @@ -218,7 +218,7 @@ jobs:
id: nix-diff-fallback
if: steps.nix-diff-full.outcome == 'failure'
continue-on-error: true
uses: natsukium/nix-diff-action@v1.1.0
uses: natsukium/nix-diff-action@v1.1.1
env:
NIX_CONFIG: |
experimental-features = nix-command flakes pipe-operators
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-public-runner-guard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout caller repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@v7
- name: Checkout nixos-modules (checker source)
uses: actions/checkout@v6.0.2
uses: actions/checkout@v7
with:
repository: metacraft-labs/devops-modules
ref: ${{ inputs.ref }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reusable-recorder-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ jobs:
runner: ${{ fromJSON(inputs.runners) }}
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Generate CI token
id: app-token
uses: actions/create-github-app-token@v1
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.CI_TOKEN_PROVIDER_APP_ID }}
private-key: ${{ secrets.CI_TOKEN_PROVIDER_PRIVATE_KEY }}
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:

- name: Upload test logs on failure
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: test-logs-${{ join(matrix.runner, '-') }}
path: ${{ inputs.log-path }}
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/reusable-terraform-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,10 @@ jobs:
TF_DEVSHELL_FLAKE_REQUESTED: ${{ vars.TERRAFORM_DEVSHELL_FLAKE }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Checkout called workflow source
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: ${{ job.workflow_repository }}
ref: ${{ job.workflow_sha }}
Expand Down Expand Up @@ -517,10 +517,10 @@ jobs:
TF_DEVSHELL_FLAKE_REQUESTED: ${{ vars.TERRAFORM_DEVSHELL_FLAKE }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Checkout called workflow source
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: ${{ job.workflow_repository }}
ref: ${{ job.workflow_sha }}
Expand Down Expand Up @@ -691,7 +691,7 @@ jobs:
- name: Mint GitHub App token
if: inputs.github_app_owner != ''
id: gh_app_token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v2
with:
app-id: ${{ secrets.GH_APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
Expand All @@ -717,7 +717,7 @@ jobs:

- name: Configure AWS credentials for plan
if: inputs.aws_plan_role_arn != ''
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
uses: aws-actions/configure-aws-credentials@e1253824e5c10ff9df46874f81ed3ec929e19cfd # v6.3.0
with:
aws-region: ${{ inputs.aws_region }}
role-to-assume: ${{ inputs.aws_plan_role_arn }}
Expand Down Expand Up @@ -1144,10 +1144,10 @@ jobs:
environment: ${{ inputs.environment_name }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Checkout called workflow source
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: ${{ job.workflow_repository }}
ref: ${{ job.workflow_sha }}
Expand Down Expand Up @@ -1321,7 +1321,7 @@ jobs:
- name: Mint GitHub App token
if: inputs.github_app_owner != ''
id: gh_app_token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v2
with:
app-id: ${{ secrets.GH_APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
Expand All @@ -1347,7 +1347,7 @@ jobs:

- name: Configure AWS credentials for apply
if: inputs.aws_apply_role_arn != ''
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
uses: aws-actions/configure-aws-credentials@e1253824e5c10ff9df46874f81ed3ec929e19cfd # v6.3.0
with:
aws-region: ${{ inputs.aws_region }}
role-to-assume: ${{ inputs.aws_apply_role_arn }}
Expand Down Expand Up @@ -1515,7 +1515,7 @@ jobs:
- name: Re-mint GitHub App token for apply
if: steps.apply_plan.outputs.changes == 'true' && inputs.github_app_owner != ''
id: gh_app_token_apply
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v2
with:
app-id: ${{ secrets.GH_APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
Expand All @@ -1529,7 +1529,7 @@ jobs:

- name: Refresh AWS credentials for apply
if: steps.apply_plan.outputs.changes == 'true' && inputs.aws_apply_role_arn != ''
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
uses: aws-actions/configure-aws-credentials@e1253824e5c10ff9df46874f81ed3ec929e19cfd # v6.3.0
with:
aws-region: ${{ inputs.aws_region }}
role-to-assume: ${{ inputs.aws_apply_role_arn }}
Expand Down Expand Up @@ -1618,10 +1618,10 @@ jobs:
TF_DEVSHELL_FLAKE_REQUESTED: ${{ vars.TERRAFORM_DEVSHELL_FLAKE }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Checkout called workflow source
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: ${{ job.workflow_repository }}
ref: ${{ job.workflow_sha }}
Expand Down Expand Up @@ -1788,7 +1788,7 @@ jobs:
- name: Mint GitHub App token
if: inputs.github_app_owner != ''
id: gh_app_token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v2
with:
app-id: ${{ secrets.GH_APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
Expand All @@ -1802,7 +1802,7 @@ jobs:

- name: Configure AWS credentials for drift
if: inputs.aws_plan_role_arn != '' || inputs.aws_drift_role_arn != ''
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
uses: aws-actions/configure-aws-credentials@e1253824e5c10ff9df46874f81ed3ec929e19cfd # v6.3.0
with:
aws-region: ${{ inputs.aws_region }}
role-to-assume: ${{ inputs.aws_drift_role_arn != '' && inputs.aws_drift_role_arn || inputs.aws_plan_role_arn }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-update-flake-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
pull-request-number: ${{ steps.create-pr.outputs.pull-request-number }}

steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7

- name: Setup Nix
uses: metacraft-labs/devops-modules/.github/setup-nix@dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-update-flake-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
runs-on: ${{ fromJSON(inputs.runner || '["self-hosted", "linux", "x64"]') }}
steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@v7

- name: Setup Nix
uses: metacraft-labs/devops-modules/.github/setup-nix@dev
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/setup-nix-netrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
uses: actions/checkout@v7

# What the file MAKES CURL SEND, which is a different claim from what the
# file contains -- and the only one that can see the defect this guards.
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
uses: actions/checkout@v7

- name: Setup Nix (this action, defaults)
uses: ./.github/setup-nix
Expand Down
Loading