Skip to content

Commit 169d65b

Browse files
holyspectralpohanhuang
authored andcommitted
Pin GH Actions to commit sha
1 parent 77f1ad1 commit 169d65b

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/add_issue.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
name: Add issue to project
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/create-github-app-token@v2
16+
- uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2
1717
id: app-token
1818
with:
1919
app-id: ${{ secrets.ADD_ISSUE_APP_ID }}
2020
private-key: ${{ secrets.ADD_ISSUE_PRIVATE_KEY }}
2121
owner: ${{ github.repository_owner }}
22-
- uses: actions/add-to-project@v1.0.2
22+
- uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2
2323
with:
2424
project-url: https://github.com/orgs/neuvector/projects/15
2525
github-token: ${{ steps.app-token.outputs.token }}

.github/workflows/fossa.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
# The FOSSA token is shared between all repos in NeuVector's GH org. It can
2121
# be used directly and there is no need to request specific access to EIO.
2222
- name: Read FOSSA token
23-
uses: rancher-eio/read-vault-secrets@main
23+
uses: rancher-eio/read-vault-secrets@0da85151ad1f19ed7986c41587e45aac1ace74b6 # v3
2424
with:
2525
secrets: |
2626
secret/data/github/org/neuvector/fossa/credentials token | FOSSA_API_KEY_PUSH_ONLY
2727
2828
- name: FOSSA scan
29-
uses: fossas/fossa-action@main
29+
uses: fossas/fossa-action@c414b9ad82eaad041e47a7cf62a4f02411f427a0 # v1.8.0
3030
with:
3131
api-key: ${{ env.FOSSA_API_KEY_PUSH_ONLY }}
3232
# Only runs the scan and do not provide/returns any results back to the

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818

1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2222

2323
- name: Load Secrets from Vault
24-
uses: rancher-eio/read-vault-secrets@main
24+
uses: rancher-eio/read-vault-secrets@0da85151ad1f19ed7986c41587e45aac1ace74b6 # v3
2525
with:
2626
secrets: |
2727
secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials username | RANCHER_DOCKER_USERNAME ;
@@ -36,7 +36,7 @@ jobs:
3636
TARGET=${{ github.ref_name }}
3737
echo "TAG=${TARGET#v}" >> $GITHUB_ENV
3838
- name: Publish neuvector manifest
39-
uses: rancher/ecm-distro-tools/actions/publish-image@master
39+
uses: rancher/ecm-distro-tools/actions/publish-image@10ab39987d39be83da6a252c1c3b540e496e0287 # v0.66.0
4040
with:
4141
push-to-public: true
4242
push-to-prime: false
@@ -49,7 +49,7 @@ jobs:
4949
public-username: ${{ env.DOCKER_USERNAME }}
5050
public-password: ${{ env.DOCKER_PASSWORD }}
5151
- name: Publish rancher manifest
52-
uses: rancher/ecm-distro-tools/actions/publish-image@master
52+
uses: rancher/ecm-distro-tools/actions/publish-image@10ab39987d39be83da6a252c1c3b540e496e0287 # v0.66.0
5353
env:
5454
IMAGE_PREFIX: neuvector-
5555
with:

.github/workflows/renovate-vault.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ permissions:
2222

2323
jobs:
2424
call-workflow:
25-
uses: rancher/renovate-config/.github/workflows/renovate-vault.yml@release
25+
uses: rancher/renovate-config/.github/workflows/renovate-vault.yml@c88cbe41a49d02648b9bf83aa5a64902151323fa # release
2626
with:
2727
logLevel: ${{ inputs.logLevel || 'info' }}
2828
overrideSchedule: ${{ github.event.inputs.overrideSchedule == 'true' && '{''schedule'':null}' || '' }}

0 commit comments

Comments
 (0)