Skip to content

Commit fa852b0

Browse files
committed
ci: Use only 1 version of any action
I noticed 2 different versions of action/checkout and checked to see if there were any others and boy were there. I manually updated these so they were all at the same latest version, so while some workflows might be updated the repo itself sees no new actions.
1 parent 945dfc1 commit fa852b0

14 files changed

Lines changed: 27 additions & 27 deletions

.github/workflows/ami-release-nix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,14 +212,14 @@ jobs:
212212
aws s3 cp /tmp/pg_binaries.tar.gz s3://${{ secrets.PROD_ARTIFACTS_BUCKET }}/upgrades${{ steps.arch_version.outputs.arch_suffix }}/postgres/supabase-postgres-${{ steps.arch_version.outputs.version }}/upgrade_bundle.tar.gz
213213
214214
- name: GitHub OIDC Auth
215-
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0
215+
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
216216
with:
217217
aws-region: ap-southeast-1
218218
role-to-assume: arn:aws:iam::279559813984:role/supabase-github-oidc-role
219219
role-session-name: shared-services-jump
220220

221221
- name: Assume destination role
222-
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0
222+
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
223223
with:
224224
aws-region: ap-southeast-1
225225
role-to-assume: arn:aws:iam::279559813984:role/supabase-nix-catalog-artifacts-role-6387512

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- name: Load postgres_release values
2323
id: load_postgres_release
24-
uses: mikefarah/yq@master
24+
uses: mikefarah/yq@065b200af9851db0d5132f50bc10b1406ea5c0a8 # v4.50.1
2525
with:
2626
args: eval '.postgres_release' ansible/vars.yml
2727
# The output will be available as steps.load_postgres_release.outputs.stdout

.github/workflows/cli-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
shopt -u dotglob
7373
7474
- name: Upload artifacts
75-
uses: actions/upload-artifact@v4
75+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7676
with:
7777
name: supabase-postgres-${{ matrix.arch }}
7878
path: supabase-postgres-${{ steps.version.outputs.version }}-${{ matrix.arch }}
@@ -95,7 +95,7 @@ jobs:
9595
arch: linux-arm64
9696
steps:
9797
- name: Download artifact
98-
uses: actions/download-artifact@v4
98+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
9999
with:
100100
name: supabase-postgres-${{ matrix.arch }}
101101
path: .
@@ -398,7 +398,7 @@ jobs:
398398
contents: write
399399
steps:
400400
- name: Download all artifacts
401-
uses: actions/download-artifact@v4
401+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
402402
with:
403403
path: artifacts
404404

@@ -453,7 +453,7 @@ jobs:
453453
fi
454454
455455
- name: Create Release
456-
uses: softprops/action-gh-release@v2
456+
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
457457
with:
458458
tag_name: ${{ steps.release_tag.outputs.tag }}
459459
files: release/*

.github/workflows/cli-smoke-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
base_hash: ${{ steps.check.outputs.base_hash }}
2424
steps:
2525
- name: Checkout Repo
26-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2727

2828
- name: Install nix
2929
uses: ./.github/actions/nix-install-ephemeral
@@ -52,7 +52,7 @@ jobs:
5252
pg_version: ['15', '17']
5353
steps:
5454
- name: Checkout Repo
55-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
55+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5656

5757
- name: Install nix
5858
uses: ./.github/actions/nix-install-ephemeral

.github/workflows/docker-image-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
input_hash: ${{ steps.check.outputs.input_hash }}
3535
steps:
3636
- name: Checkout Repo
37-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
37+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3838

3939
- name: Install nix
4040
uses: ./.github/actions/nix-install-ephemeral
@@ -68,7 +68,7 @@ jobs:
6868
- { dockerfile: Dockerfile-multigres, target: variant-orioledb-17, name: multigres-orioledb-17 }
6969
steps:
7070
- name: Checkout Repo
71-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
71+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
7272

7373
- name: Install nix
7474
uses: ./.github/actions/nix-install-ephemeral

.github/workflows/mirror.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
id-token: write
2626
steps:
2727
- name: configure aws credentials
28-
uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0
28+
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
2929
with:
3030
role-to-assume: ${{ secrets.PROD_AWS_ROLE }}
3131
aws-region: us-east-1

.github/workflows/nix-build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
steps:
4040
- name: Checkout Repo
4141
if: ${{ matrix.attr != '' }}
42-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
42+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4343
- name: Install nix (ephemeral)
4444
if: ${{ matrix.attr != '' && matrix.runs_on.group != 'self-hosted-runners-nix' }}
4545
uses: ./.github/actions/nix-install-ephemeral
@@ -71,7 +71,7 @@ jobs:
7171
steps:
7272
- name: Checkout Repo
7373
if: ${{ matrix.attr != '' }}
74-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
74+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
7575
- name: Install nix (ephemeral)
7676
if: ${{ matrix.attr != '' && matrix.runs_on.group != 'self-hosted-runners-nix' }}
7777
uses: ./.github/actions/nix-install-ephemeral
@@ -103,7 +103,7 @@ jobs:
103103
steps:
104104
- name: Checkout Repo
105105
if: ${{ matrix.attr != '' }}
106-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
106+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
107107
- name: Install nix
108108
if: ${{ matrix.attr != '' }}
109109
uses: ./.github/actions/nix-install-self-hosted
@@ -127,7 +127,7 @@ jobs:
127127
steps:
128128
- name: Checkout Repo
129129
if: ${{ matrix.attr != '' }}
130-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
130+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
131131
- name: Install nix
132132
if: ${{ matrix.attr != '' }}
133133
uses: ./.github/actions/nix-install-self-hosted
@@ -151,7 +151,7 @@ jobs:
151151
steps:
152152
- name: Checkout Repo
153153
if: ${{ matrix.attr != '' }}
154-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
154+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
155155
- name: Install nix
156156
if: ${{ matrix.attr != '' }}
157157
uses: ./.github/actions/nix-install-ephemeral
@@ -180,7 +180,7 @@ jobs:
180180
steps:
181181
- name: Checkout Repo
182182
if: ${{ matrix.attr != '' }}
183-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
183+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
184184
- name: Install nix
185185
if: ${{ matrix.attr != '' }}
186186
uses: ./.github/actions/nix-install-ephemeral

.github/workflows/nix-eval.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
checks_matrix: ${{ steps.set-matrix.outputs.checks_matrix }}
2424
steps:
2525
- name: Checkout Repo
26-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
26+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2727
- name: Mount Nix cache disk
2828
uses: useblacksmith/stickydisk@a652394bf1bf95399f406e648482b41fbd25c51f # v1
2929
with:

.github/workflows/publish-migrations-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
working-directory: ${{ github.workspace }}/migrations/db/migrations
3030

3131
- name: configure aws credentials - prod
32-
uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838 # v1.7.0
32+
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
3333
with:
3434
role-to-assume: ${{ secrets.PROD_AWS_ROLE }}
3535
aws-region: "ap-southeast-1"

.github/workflows/publish-migrations-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
working-directory: ${{ github.workspace }}/migrations/db/migrations
2323

2424
- name: configure aws credentials - staging
25-
uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838 # v1.7.0
25+
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
2626
with:
2727
role-to-assume: ${{ secrets.DEV_AWS_ROLE }}
2828
aws-region: "ap-southeast-1"

0 commit comments

Comments
 (0)