Skip to content

Commit c84a74a

Browse files
committed
GitHub Actions: reusable workflows: pin versions
Dependabot does not look at our reusable workflows (i.e. .gtihub/actions/*) so we have to pin them manually. `rancher-eio/read-vault-secrets@main` was not pinned because that's one of our own orgs. Signed-off-by: Mark Yen <mark.yen@suse.com>
1 parent 3d67bf1 commit c84a74a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/actions/get-token/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ runs:
2727
- id: gen-token
2828
name: Generate token
2929
if: github.repository == 'rancher-sandbox/rancher-desktop'
30-
uses: actions/create-github-app-token@v1
30+
uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6
3131
with:
3232
app-id: ${{ env.APP_ID }}
3333
private-key: ${{ env.PRIVATE_KEY }}

.github/actions/yarn-install/action.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ runs:
77
steps:
88
# In case we're running on a self-hosted runner without `yarn` installed,
99
# set up NodeJS, enable `yarn`, and then handle the caching.
10-
- uses: actions/setup-node@v4
10+
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1111
with:
1212
node-version-file: package.json
1313
- run: corepack enable yarn
1414
shell: bash
15-
- uses: actions/setup-node@v4
15+
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1616
with:
1717
node-version-file: package.json
1818
cache: yarn
1919

20-
- uses: actions/setup-go@v5
20+
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
2121
with:
2222
go-version-file: go.work
2323
cache-dependency-path: src/go/**/go.sum
2424

25-
- uses: actions/setup-python@v5
25+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2626
with:
2727
python-version: '3.x'
2828
cache: pip

0 commit comments

Comments
 (0)