Skip to content

Commit f89581e

Browse files
authored
Pin GitHub Actions to git SHAs (#3100)
Tagged releases are no longer allowed in kubernetes/cloud-provider-openstack and all actions must be pinned to a full-length commit SHA.
1 parent 23db95b commit f89581e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/pr.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
1414
with:
1515
fetch-depth: 0
1616

1717
- name: Set up Helm
18-
uses: azure/setup-helm@v3
18+
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78
1919
with:
2020
version: v3.10.0
2121

22-
- uses: actions/setup-python@v4
22+
- uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c
2323
with:
2424
python-version: '3.9'
2525
check-latest: true
2626

2727
# see example https://github.com/helm/chart-testing-action
2828
- name: Set up chart-testing
29-
uses: helm/chart-testing-action@v2.3.1
29+
uses: helm/chart-testing-action@afea100a513515fbd68b0e72a7bb0ae34cb62aec
3030

3131
- name: Run chart-testing (lint)
3232
run: ct lint --target-branch ${GITHUB_BASE_REF}

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
contents: write
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
1717
with:
1818
fetch-depth: 0
1919

@@ -23,6 +23,6 @@ jobs:
2323
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
2424
2525
- name: Run chart-releaser
26-
uses: helm/chart-releaser-action@v1.6.0
26+
uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584
2727
env:
2828
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)