Skip to content

Commit e9a6fba

Browse files
committed
[TASK] Update and SHA-pin GitHub Actions in workflow files
Updates and SHA-pins all GitHub Actions in non-CI workflow files (Docker, deploy, split-repositories, Dependabot auto-merge/approve). main.yaml is excluded — it will be migrated to shared reusable workflows via #1196.
1 parent bb64fe4 commit e9a6fba

6 files changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/deploy-azure-assets.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
build:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
21+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222

2323
- name: Get the version
2424
id: get-version

.github/workflows/docker-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: "ubuntu-latest"
2020
steps:
2121
- name: "Checkout"
22-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
22+
uses: "actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2
2323

2424
- name: "Prepare action (adjust configure-guides-step)"
2525
##################################################################

.github/workflows/docker.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- linux/amd64
2525
- linux/arm64
2626
steps:
27-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
27+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2828

2929
- name: Prepare image name
3030
run: |
@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: Docker meta
3737
id: meta
38-
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf
38+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
3939
with:
4040
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4141
tags: |
@@ -46,24 +46,24 @@ jobs:
4646
type=semver,pattern={{major}}
4747
4848
- name: Log in to the Container registry
49-
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2
49+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
5050
with:
5151
registry: ${{ env.REGISTRY }}
5252
username: ${{ github.actor }}
5353
password: ${{ secrets.GITHUB_TOKEN }}
5454

5555
- name: Set up QEMU
56-
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a
56+
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
5757

5858
- name: Set up Docker Buildx
5959
id: buildx
60-
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
60+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
6161

6262
- name: Build and push
6363
id: build
6464
env:
6565
TYPO3AZUREEDGEURIVERSION: ${{ env.DOCKER_METADATA_OUTPUT_VERSION }}
66-
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
66+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
6767
with:
6868
context: .
6969
push: ${{ github.event_name != 'pull_request' }}
@@ -81,7 +81,7 @@ jobs:
8181
touch "/tmp/digests/${digest#sha256:}"
8282
-
8383
name: Upload digest
84-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
84+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
8585
with:
8686
name: digests-${{ env.PLATFORM_NAME }}
8787
overwrite: true
@@ -101,18 +101,18 @@ jobs:
101101
102102
-
103103
name: Download digests
104-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3
104+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
105105
with:
106106
pattern: digests-*
107107
merge-multiple: true
108108
path: /tmp/digests
109109
-
110110
name: Set up Docker Buildx
111-
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
111+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
112112
-
113113
name: Docker meta
114114
id: meta
115-
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf
115+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
116116
with:
117117
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
118118
tags: |
@@ -122,7 +122,7 @@ jobs:
122122
type=raw,value=latest,enable=true
123123
124124
- name: Log in to the Container registry
125-
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2
125+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
126126
with:
127127
registry: ${{ env.REGISTRY }}
128128
username: ${{ github.actor }}

.github/workflows/pr-auto-approve.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- name: Dependabot metadata
2020
id: metadata
21-
uses: dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7
21+
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
2222
with:
2323
github-token: "${{ secrets.GITHUB_TOKEN }}"
2424

.github/workflows/pr-auto-merge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Dependabot metadata
2121
id: metadata
22-
uses: dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7
22+
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
2323
with:
2424
github-token: "${{ secrets.GITHUB_TOKEN }}"
2525

.github/workflows/split-repositories.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ jobs:
2020
runs-on: "ubuntu-latest"
2121
name: "Publish Sub-split"
2222
steps:
23-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
23+
- uses: "actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2
2424
with:
2525
fetch-depth: "0"
2626
persist-credentials: "false"
27-
- uses: frankdejonge/use-github-token@15e6289d07c12b3b1603268a628bb74f2e9765f4
27+
- uses: "frankdejonge/use-github-token@15e6289d07c12b3b1603268a628bb74f2e9765f4" # 1.1.0
2828
with:
2929
authentication: "typo3-documentation-team:${{ secrets.BOT_TOKEN }}"
3030
user_name: "TYPO3 Documentation Team"
3131
user_email: "documentation-automation@typo3.com"
3232
- name: "Cache splitsh-lite"
3333
id: "splitsh-cache"
34-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306
34+
uses: "actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306" # v5.0.3
3535
with:
3636
path: "./.splitsh"
3737
key: "${{ runner.os }}-splitsh-d-101"
38-
- uses: frankdejonge/use-subsplit-publish@0001015147267203898034927e8cccad3a7a9aa7
38+
- uses: "frankdejonge/use-subsplit-publish@0001015147267203898034927e8cccad3a7a9aa7" # 1.1.0
3939
with:
4040
source-branch: "main"
4141
config-path: "./config.subsplit-publish.json"

0 commit comments

Comments
 (0)