Skip to content

Commit cc73318

Browse files
authored
chore: Pin GitHub Actions dependencies (#16)
1 parent 6ce8090 commit cc73318

13 files changed

Lines changed: 57 additions & 57 deletions

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
runs-on: ${{ matrix.os }}
5555
steps:
56-
- uses: actions/checkout@v6
56+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5757

5858
# Build runner layout
5959
- name: Build & Layout Release
@@ -78,7 +78,7 @@ jobs:
7878
# Upload runner package tar.gz/zip as artifact
7979
- name: Publish Artifact
8080
if: github.event_name != 'pull_request'
81-
uses: actions/upload-artifact@v7
81+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
8282
with:
8383
name: runner-package-${{ matrix.runtime }}
8484
path: |
@@ -95,11 +95,11 @@ jobs:
9595
docker_platform: linux/arm64
9696
runs-on: ${{ matrix.os }}
9797
steps:
98-
- uses: actions/checkout@v6
98+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9999

100100
- name: Get latest runner version
101101
id: latest_runner
102-
uses: actions/github-script@v8
102+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
103103
with:
104104
github-token: ${{secrets.GITHUB_TOKEN}}
105105
script: |
@@ -111,10 +111,10 @@ jobs:
111111
core.setOutput('version', version);
112112
113113
- name: Setup Docker buildx
114-
uses: docker/setup-buildx-action@v4
114+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
115115

116116
- name: Build Docker image
117-
uses: docker/build-push-action@v7
117+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
118118
with:
119119
context: ./images
120120
load: true

.github/workflows/close-bugs-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v10
10+
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
1111
with:
1212
close-issue-message: "This issue does not seem to be a problem with the runner application, it concerns the GitHub actions platform more generally. Could you please post your feedback on the [GitHub Community Support Forum](https://github.com/orgs/community/discussions/categories/actions) which is actively monitored. Using the forum ensures that we route your problem to the correct team. 😃"
1313
exempt-issue-labels: "keep"

.github/workflows/close-features-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v10
10+
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
1111
with:
1212
close-issue-message: "Thank you for your interest in the runner application and taking the time to provide your valuable feedback. We kindly ask you to redirect this feedback to the [GitHub Community Support Forum](https://github.com/orgs/community/discussions/categories/actions) which our team actively monitors and would be a better place to start a discussion for new feature requests in GitHub Actions. For more information on this policy please [read our contribution guidelines](https://github.com/actions/runner#contribute). 😃"
1313
exempt-issue-labels: "keep"

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323

2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v6
26+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727

2828
# Initializes the CodeQL tools for scanning.
2929
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@v4
30+
uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
3131
# Override language selection by uncommenting this and choosing your languages
3232
# with:
3333
# languages: go, javascript, csharp, python, cpp, java
@@ -38,4 +38,4 @@ jobs:
3838
working-directory: src
3939

4040
- name: Perform CodeQL Analysis
41-
uses: github/codeql-action/analyze@v4
41+
uses: github/codeql-action/analyze@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2

.github/workflows/dependency-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
npm-vulnerabilities: ${{ steps.check-versions.outputs.npm-vulnerabilities }}
3030
open-dependency-prs: ${{ steps.check-prs.outputs.open-dependency-prs }}
3131
steps:
32-
- uses: actions/checkout@v6
32+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3333
- name: Setup Node.js
34-
uses: actions/setup-node@v6
34+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
3535
with:
3636
node-version: "20"
3737

.github/workflows/docker-buildx-upgrade.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
BUILDX_CURRENT_VERSION: ${{ steps.check_buildx_version.outputs.CURRENT_VERSION }}
1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v6
20+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2121

2222
- name: Check Docker version
2323
id: check_docker_version
@@ -89,7 +89,7 @@ jobs:
8989
runs-on: ubuntu-latest
9090
steps:
9191
- name: Checkout repository
92-
uses: actions/checkout@v6
92+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9393

9494
- name: Update Docker version
9595
shell: bash

.github/workflows/docker-publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
IMAGE_NAME: ${{ github.repository_owner }}/actions-runner
2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v6
23+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424
with:
2525
ref: ${{ github.event.inputs.releaseBranch }}
2626

2727
- name: Compute image version
2828
id: image
29-
uses: actions/github-script@v8
29+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
3030
with:
3131
script: |
3232
const fs = require('fs');
@@ -38,18 +38,18 @@ jobs:
3838
core.setOutput('version', runnerVersion);
3939
4040
- name: Setup Docker buildx
41-
uses: docker/setup-buildx-action@v4
41+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
4242

4343
- name: Log into registry ${{ env.REGISTRY }}
44-
uses: docker/login-action@v4
44+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
4545
with:
4646
registry: ${{ env.REGISTRY }}
4747
username: ${{ github.actor }}
4848
password: ${{ secrets.GITHUB_TOKEN }}
4949

5050
- name: Build and push Docker image
5151
id: build-and-push
52-
uses: docker/build-push-action@v7
52+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
5353
with:
5454
context: ./images
5555
platforms: |
@@ -68,7 +68,7 @@ jobs:
6868
org.opencontainers.image.description=https://github.com/actions/runner/releases/tag/v${{ steps.image.outputs.version }}
6969
7070
- name: Generate attestation
71-
uses: actions/attest-build-provenance@v4
71+
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
7272
with:
7373
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
7474
subject-digest: ${{ steps.build-and-push.outputs.digest }}

.github/workflows/dotnet-upgrade.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
DOTNET_CURRENT_MAJOR_MINOR_VERSION: ${{ steps.fetch_current_version.outputs.DOTNET_CURRENT_MAJOR_MINOR_VERSION }}
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v6
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919
- name: Get current major minor version
2020
id: fetch_current_version
2121
shell: bash
@@ -89,7 +89,7 @@ jobs:
8989
if: ${{ needs.dotnet-update.outputs.SHOULD_UPDATE == 1 && needs.dotnet-update.outputs.BRANCH_EXISTS == 0 }}
9090
runs-on: ubuntu-latest
9191
steps:
92-
- uses: actions/checkout@v6
92+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9393
with:
9494
ref: feature/dotnetsdk-upgrade/${{ needs.dotnet-update.outputs.DOTNET_LATEST_MAJOR_MINOR_PATCH_VERSION }}
9595
- name: Create Pull Request

.github/workflows/node-upgrade.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
update-node:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v6
12+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1313
- name: Get latest Node versions
1414
id: node-versions
1515
run: |

.github/workflows/npm-audit-typescript.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
npm-audit-with-ts-fix:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v6
10+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1111
- name: Setup Node.js
12-
uses: actions/setup-node@v6
12+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
1313
with:
1414
node-version: "20"
1515
- name: NPM install and audit fix with TypeScript auto-repair

0 commit comments

Comments
 (0)