Skip to content

Commit 0e7c5f1

Browse files
committed
chore(ci): pin third-party GitHub actions to specific commit hashes (#14115)
(cherry picked from commit 0a440b6)
1 parent 8ad87ed commit 0e7c5f1

6 files changed

+11
-11
lines changed

.github/workflows/autodocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
git checkout -b "autodocs-${{ steps.kong-branch.outputs.name }}"
124124
125125
- name: Commit autodoc changes
126-
uses: stefanzweifel/git-auto-commit-action@v5
126+
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5
127127
with:
128128
repository: "./docs.konghq.com"
129129
commit_message: "Autodocs update"

.github/workflows/build_and_test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
uses: actions/checkout@v4
140140

141141
- name: Download runtimes file
142-
uses: Kong/gh-storage/download@v1
142+
uses: Kong/gh-storage/download@b196a6b94032e56e414227c749e9f96a6afc2b91 # v1
143143
env:
144144
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
145145
with:

.github/workflows/changelog-validation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
- uses: actions/checkout@v4
1313

1414
- name: Validate changelogs
15-
uses: Kong/gateway-changelog@main
15+
uses: Kong/gateway-changelog@bc389e6bcc015b3560c4d1024a3782331602a0f6
1616
with:
1717
files: changelog/unreleased/*/*.yml

.github/workflows/label-schema.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Schema change label found
11-
uses: rtCamp/action-slack-notify@v2
11+
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # v2
1212
continue-on-error: true
1313
env:
1414
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_SCHEMA_CHANGE }}

.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ jobs:
340340

341341
- name: Docker meta
342342
id: meta
343-
uses: docker/metadata-action@v5
343+
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5
344344
env:
345345
DOCKER_METADATA_PR_HEAD_SHA: true
346346
with:
@@ -351,10 +351,10 @@ jobs:
351351
352352
- name: Set up QEMU
353353
if: matrix.docker-platforms != ''
354-
uses: docker/setup-qemu-action@v3
354+
uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3
355355

356356
- name: Set up Docker Buildx
357-
uses: docker/setup-buildx-action@v3
357+
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3
358358

359359
- name: Set platforms
360360
id: docker_platforms_arg
@@ -380,7 +380,7 @@ jobs:
380380
echo "rpm_platform=$rpm_platform" >> $GITHUB_OUTPUT
381381
382382
- name: Build Docker Image
383-
uses: docker/build-push-action@v5
383+
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
384384
with:
385385
file: build/dockerfiles/${{ matrix.package }}.Dockerfile
386386
context: .
@@ -458,7 +458,7 @@ jobs:
458458
IMAGE: ${{ needs.metadata.outputs.prerelease-docker-repository }}:${{ needs.metadata.outputs.commit-sha }}-${{ matrix.label }}
459459
steps:
460460
- name: Install regctl
461-
uses: regclient/actions/regctl-installer@main
461+
uses: regclient/actions/regctl-installer@ce5fd131e371ffcdd7508b478cb223b3511a9183
462462

463463
- name: Login to Docker Hub
464464
if: ${{ env.HAS_ACCESS_TO_GITHUB_TOKEN }}
@@ -601,7 +601,7 @@ jobs:
601601
602602
- name: Docker meta
603603
id: meta
604-
uses: docker/metadata-action@v5
604+
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5
605605
with:
606606
images: ${{ needs.metadata.outputs.docker-repository }}
607607
sep-tags: " "

.github/workflows/update-test-runtime-statistics.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
artifact-name-regexp: "^test-runtime-statistics-\\d+$"
2929

3030
- name: Upload new runtimes file
31-
uses: Kong/gh-storage/upload@v1
31+
uses: Kong/gh-storage/upload@b196a6b94032e56e414227c749e9f96a6afc2b91 # v1
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.PAT }}
3434
with:

0 commit comments

Comments
 (0)