Skip to content

Commit 0f24d69

Browse files
committed
ci: pin GHA Actions
see: loopbackio/security#27 Signed-off-by: Rifa Achrinza <[email protected]>
1 parent a61affa commit 0f24d69

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/continuous-integration.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
fail-fast: false
2929
runs-on: ${{ matrix.os }}
3030
steps:
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
3232
with:
3333
fetch-depth: 0
3434
- name: Use Node.js ${{ matrix.node-version }}
35-
uses: actions/setup-node@v4
35+
uses: actions/setup-node@f152de45cc393bb48ce5d89d36b731f54556e65 # tag=v4.0.0
3636
with:
3737
node-version: ${{ matrix.node-version }}
3838
- name: Update NPM (Node.js v10)
@@ -56,7 +56,7 @@ jobs:
5656
ls
5757
ls ./coverage
5858
- name: Coveralls Parallel
59-
uses: coverallsapp/github-action@master
59+
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # tag=v2.2.3
6060
with:
6161
github-token: ${{ secrets.github_token }}
6262
flag-name: run-${{ matrix.os }}-node@${{ matrix.node-version }}
@@ -69,7 +69,7 @@ jobs:
6969
runs-on: ubuntu-latest
7070
steps:
7171
- name: Coveralls Finish
72-
uses: coverallsapp/github-action@master
72+
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # tag=v2.2.3
7373
with:
7474
github-token: ${{ secrets.github_token }}
7575
parallel-finished: true
@@ -79,11 +79,11 @@ jobs:
7979
runs-on: ubuntu-latest
8080
if: ${{ github.event.pull_request }}
8181
steps:
82-
- uses: actions/checkout@v4
82+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
8383
with:
8484
fetch-depth: 0
8585
- name: Use Node.js 16
86-
uses: actions/setup-node@v4
86+
uses: actions/setup-node@f152de45cc393bb48ce5d89d36b731f54556e65 # tag=v4.0.0
8787
with:
8888
node-version: 16
8989
- name: Bootstrap project
@@ -98,11 +98,11 @@ jobs:
9898
# See: https://github.com/github/codeql-action/blob/008b2cc71c4cf3401f45919d8eede44a65b4a322/README.md#usage
9999
security-events: write
100100
steps:
101-
- uses: actions/checkout@v4
101+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
102102
- name: Initialize CodeQL
103-
uses: github/codeql-action/init@v2
103+
uses: github/codeql-action/init@49abf0ba24d0b7953cb586944e918a0b92074c80 # tag=v2.22.4
104104
with:
105105
languages: 'javascript'
106106
config-file: ./.github/codeql/codeql-config.yaml
107107
- name: Perform CodeQL Analysis
108-
uses: github/codeql-action/analyze@v2
108+
uses: github/codeql-action/analyze@49abf0ba24d0b7953cb586944e918a0b92074c80 # tag=v2.22.4

0 commit comments

Comments
 (0)