Skip to content

Commit 2bd790d

Browse files
holyspectralkakabisht
authored andcommitted
Pin GH Actions to commit sha
1 parent a32f79d commit 2bd790d

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
name: Build Docusaurus
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1616
with:
1717
fetch-depth: 0
18-
- uses: actions/setup-node@v4
18+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1919
with:
2020
node-version: 18
2121
cache: yarn
@@ -26,7 +26,7 @@ jobs:
2626
run: yarn build --no-minify
2727

2828
- name: Upload Build Artifact
29-
uses: actions/upload-pages-artifact@v3
29+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
3030
with:
3131
path: build
3232

@@ -46,6 +46,6 @@ jobs:
4646
steps:
4747
- name: Deploy to GitHub Pages
4848
id: deployment
49-
uses: actions/deploy-pages@v4
49+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
5050
with:
51-
github_token: ${{ secrets.GITHUB_TOKEN }}
51+
github_token: ${{ secrets.GITHUB_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

0 commit comments

Comments
 (0)