Skip to content

Commit 650f551

Browse files
Pin dependencies
1 parent 847050b commit 650f551

6 files changed

+14
-14
lines changed

.github/workflows/00_anchore.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,20 @@ jobs:
3535
runs-on: ubuntu-latest
3636
steps:
3737
- name: Checkout the code
38-
uses: actions/checkout@v3
38+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
3939

4040
- name: Build the Docker image
4141
run: docker build . --file ${{ env.DOCKERFILE }} --tag localbuild/testimage:latest
4242

4343
- name: Run the Anchore scan action itself with GitHub Advanced Security code scanning integration enabled
44-
uses: anchore/scan-action@v3
44+
uses: anchore/scan-action@3343887d815d7b07465f6fdcd395bd66508d486a # v3
4545
with:
4646
image: "localbuild/testimage:latest"
4747
acs-report-enable: true
4848
fail-build: true
4949
severity-cutoff: "high"
5050
- name: Upload Anchore Scan Report
51-
uses: github/codeql-action/upload-sarif@v2
51+
uses: github/codeql-action/upload-sarif@d958b976dc5b990f802df244f2dc5d807113327f # v2
5252
if: always()
5353
with:
5454
sarif_file: results.sarif

.github/workflows/01_add_patch_label.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Check user labels
2121
id: check_user_labels
22-
uses: actions/[email protected]
22+
uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3
2323
with:
2424
github-token: ${{ secrets.GITHUB_TOKEN }}
2525
script: |
@@ -48,7 +48,7 @@ jobs:
4848

4949
- name: Add comment
5050
if: ${{ steps.check_user_labels.outputs.result == 'true' }}
51-
uses: actions/[email protected]
51+
uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3
5252
with:
5353
github-token: ${{ secrets.GITHUB_TOKEN }}
5454
script: |

.github/workflows/01_assignee.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
steps:
2222
- name: Assign Me
2323
# You may pin to the exact commit or the version.
24-
uses: kentaro-m/[email protected]
24+
uses: kentaro-m/auto-assign-action@746a3a558fdd0e061f612ec9f8ff1b8a19c1a115 # v1.2.1
2525
with:
2626
configuration-path: '.github/auto_assign.yml'

.github/workflows/02_check_pr.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- name: Assign Me
2626
# You may pin to the exact commit or the version.
27-
uses: kentaro-m/[email protected]
27+
uses: kentaro-m/auto-assign-action@746a3a558fdd0e061f612ec9f8ff1b8a19c1a115 # v1.2.1
2828
with:
2929
configuration-path: '.github/auto_assign.yml'
3030

@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: Checkout
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
3737

3838
- name: Formatting
3939
id: format
@@ -43,7 +43,7 @@ jobs:
4343
path: .
4444
fail-on-changes: false
4545

46-
- uses: actions/[email protected]
46+
- uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3
4747
if: steps.format.outcome != 'success'
4848
with:
4949
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -77,12 +77,12 @@ jobs:
7777
runs-on: ubuntu-latest
7878
name: Check Size
7979
steps:
80-
- uses: actions/checkout@v3
80+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
8181
with:
8282
fetch-depth: 0
8383

8484
- name: Check Size
85-
uses: actions/[email protected]
85+
uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3
8686
env:
8787
IGNORED_FILES: openapi.json, openapi-node.json
8888
with:

.github/workflows/03_code_review.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
# Steps represent a sequence of tasks that will be executed as part of the job
3636
steps:
3737
- name: Code Review
38-
uses: pagopa/github-actions-template/[email protected]
38+
uses: pagopa/github-actions-template/maven-code-review@de4ca1ddefb1461c176cc42259e494158b578fe3 # v1.8.3
3939
with:
4040
github_token: ${{ secrets.GITHUB_TOKEN }}
4141
sonar_token: ${{ secrets.SONAR_TOKEN }}

.github/workflows/04_release_deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
steps:
105105
- name: Build and Push
106106
id: semver
107-
uses: pagopa/github-actions-template/[email protected]
107+
uses: pagopa/github-actions-template/ghcr-build-push@d91a1fd0b913c9830589be5d86cdb71c90813fae # v1.5.4
108108
with:
109109
branch: ${{ github.ref_name}}
110110
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -134,7 +134,7 @@ jobs:
134134
steps:
135135
- name: Report Status
136136
if: always()
137-
uses: ravsamhq/notify-slack-action@v2
137+
uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2
138138
with:
139139
status: ${{ needs.deploy_azure_fn.result }}
140140
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)