Skip to content

Commit 70acbc2

Browse files
Update GitHub Actions (#821)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
1 parent c48c47f commit 70acbc2

File tree

5 files changed

+27
-27
lines changed

5 files changed

+27
-27
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
steps:
3434
- name : Checkout repository
3535
# https://github.com/actions/checkout/releases/tag/v4.1.1
36-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
3737

3838
- name: Setup Go
3939
# https://github.com/actions/setup-go/releases/tag/v5.0.0
40-
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
40+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
4141
with:
4242
go-version-file: 'go.mod'
4343

.github/workflows/release-charts.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# Required for vault
3030
id-token: write
3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
3333
with:
3434
ref: "${{ env.WEBHOOK_REF }}"
3535
path: webhook
@@ -41,7 +41,7 @@ jobs:
4141
secret/data/github/repo/${{ github.repository }}/github/app-credentials privateKey | PRIVATE_KEY
4242
4343
# Fetch github token just for the charts repository
44-
- uses: actions/create-github-app-token@v1
44+
- uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1
4545
id: app-token
4646
with:
4747
app-id: ${{ env.APP_ID }}
@@ -50,7 +50,7 @@ jobs:
5050
charts
5151
5252
- name: Checkout charts repository
53-
uses: actions/checkout@v4
53+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
5454
with:
5555
repository: ${{ github.repository_owner }}/charts
5656
ref: "${{ env.CHARTS_REF }}"

.github/workflows/release-rancher.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Install dependencies
3333
run: sudo snap install yq --channel=v4/stable
3434

35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
3636
with:
3737
ref: "${{ env.WEBHOOK_REF }}"
3838
path: webhook
@@ -44,7 +44,7 @@ jobs:
4444
secret/data/github/repo/${{ github.repository }}/github/app-credentials privateKey | PRIVATE_KEY
4545
4646
# Fetch github token just for the rancher repository
47-
- uses: actions/create-github-app-token@v1
47+
- uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1
4848
id: app-token
4949
with:
5050
app-id: ${{ env.APP_ID }}
@@ -53,7 +53,7 @@ jobs:
5353
rancher
5454
5555
- name: Checkout rancher repository
56-
uses: actions/checkout@v4
56+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
5757
with:
5858
repository: ${{ github.repository_owner }}/rancher
5959
ref: "${{ env.RANCHER_REF }}"
@@ -71,7 +71,7 @@ jobs:
7171
charts_branch=$(grep '"chart-default-branch"' pkg/settings/setting.go | cut -d'"' -f4)
7272
echo "charts_branch=$charts_branch" >> $GITHUB_OUTPUT
7373
74-
- uses: actions/checkout@v4
74+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
7575
with:
7676
repository: ${{ github.repository_owner }}/charts
7777
ref: "${{ steps.find_charts_branch.outputs.charts_branch }}"

.github/workflows/release.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
steps:
2626

2727
- name : Checkout repository
28-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2929
# https://github.com/actions/checkout/releases/tag/v4.1.1
3030

3131
- name: Setup Go
32-
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
32+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
3333
# https://github.com/actions/setup-go/releases/tag/v5.0.0
3434
with:
3535
go-version-file: 'go.mod'
@@ -51,7 +51,7 @@ jobs:
5151
5252
- name: Upload artifacts
5353
# https://github.com/actions/upload-artifact/commit/65462800fd760344b1a7b4382951275a0abb4808
54-
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
54+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5555
with:
5656
name: webhook-artifacts-${{ matrix.arch }}
5757
path: |
@@ -66,20 +66,20 @@ jobs:
6666

6767
- name : Checkout repository
6868
# https://github.com/actions/checkout/releases/tag/v4.1.1
69-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
69+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
7070

7171
- name: package-helm
7272
run: ./scripts/package-helm
7373

7474
- name: Download the amd64 artifacts
75-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
75+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
7676
# https://github.com/actions/download-artifact/releases/tag/v4.1.7
7777
with:
7878
name: webhook-artifacts-amd64
7979
path: dist/artifacts
8080

8181
- name: Download the arm64 artifacts
82-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
82+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
8383
# https://github.com/actions/download-artifact/releases/tag/v4.1.7
8484
with:
8585
name: webhook-artifacts-arm64
@@ -113,10 +113,10 @@ jobs:
113113
steps:
114114
- name : Checkout repository
115115
# https://github.com/actions/checkout/releases/tag/v4.1.1
116-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
116+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
117117

118118
- name: Download the artifacts
119-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
119+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
120120
# https://github.com/actions/download-artifact/releases/tag/v4.1.7
121121
with:
122122
name: webhook-artifacts-${{ matrix.arch }}
@@ -140,12 +140,12 @@ jobs:
140140
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
141141

142142
- name: Set up Docker Buildx
143-
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
143+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
144144
# https://github.com/docker/setup-buildx-action/releases/tag/v3.4.0
145145

146146
- name: Log in to the Container registry
147147
# https://github.com/docker/login-action/releases/tag/v3.2.0
148-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
148+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
149149
with:
150150
registry: ${{ env.REGISTRY }}
151151
username: ${{ env.DOCKER_USERNAME }}
@@ -154,7 +154,7 @@ jobs:
154154
- name: Build and push the webhook image
155155
id: build
156156
# https://github.com/docker/build-push-action/releases/tag/v6.3.0
157-
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
157+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
158158
with:
159159
context: .
160160
file: ./package/Dockerfile
@@ -168,7 +168,7 @@ jobs:
168168
touch "/tmp/digests/${digest#sha256:}"
169169
170170
- name: Upload digest
171-
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
171+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
172172
# https://github.com/actions/upload-artifact/releases/tag/v4.3.3
173173
with:
174174
name: digests-${{ matrix.arch }}
@@ -183,15 +183,15 @@ jobs:
183183
needs: image
184184
steps:
185185
- name: Download digests
186-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
186+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
187187
# https://github.com/actions/download-artifact/releases/tag/v4.1.7
188188
with:
189189
path: /tmp/digests
190190
pattern: digests-*
191191
merge-multiple: true
192192

193193
- name: Set up Docker Buildx
194-
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
194+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
195195
# https://github.com/docker/setup-buildx-action/releases/tag/v3.4.0
196196

197197
- name: "Read vault secrets"
@@ -202,7 +202,7 @@ jobs:
202202
secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials password | DOCKER_PASSWORD
203203
204204
- name: Log in to the Container registry
205-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
205+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
206206
# https://github.com/docker/login-action/releases/tag/v3.2.0
207207
with:
208208
registry: ${{ env.REGISTRY }}

.github/workflows/sync-deps.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
secret/data/github/repo/${{ github.repository }}/github/app-credentials privateKey | PRIVATE_KEY
3434
3535
# Fetch github token just for the webhook repository
36-
- uses: actions/create-github-app-token@v1
36+
- uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1
3737
id: app-token
3838
with:
3939
app-id: ${{ env.APP_ID }}
@@ -42,7 +42,7 @@ jobs:
4242
webhook
4343
4444
- name : Checkout webhook repository
45-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
45+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
4646
with:
4747
ref: "${{ env.WEBHOOK_REF }}"
4848
path: webhook
@@ -51,7 +51,7 @@ jobs:
5151
persist-credentials: true
5252

5353
- name : Checkout rancher repository
54-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
54+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
5555
with:
5656
repository: "${{ github.event.inputs.rancher_repository }}"
5757
ref: "${{ env.RANCHER_REF }}"

0 commit comments

Comments
 (0)