Skip to content

Commit e0b8fd7

Browse files
Pin dependencies
1 parent b9ac154 commit e0b8fd7

9 files changed

+23
-23
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@a073c66b2accf653a511d88537804dcafa07812e # 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/github-script@v6.3.3
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/github-script@v6.3.3
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/auto-assign-action@v1.2.1
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

+4-4
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/auto-assign-action@v1.2.1
27+
uses: kentaro-m/auto-assign-action@746a3a558fdd0e061f612ec9f8ff1b8a19c1a115 # v1.2.1
2828
with:
2929
configuration-path: '.github/auto_assign.yml'
3030

@@ -37,7 +37,7 @@ jobs:
3737
steps:
3838
- name: Verify PR Labels
3939
if: ${{ !contains(github.event.pull_request.labels.*.name, 'patch') && !contains(github.event.pull_request.labels.*.name, 'ignore-for-release') }}
40-
uses: actions/github-script@v6.3.3
40+
uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3
4141
with:
4242
github-token: ${{ secrets.GITHUB_TOKEN }}
4343
script: |
@@ -70,15 +70,15 @@ jobs:
7070
runs-on: ubuntu-latest
7171
steps:
7272
- name: Checkout
73-
uses: actions/checkout@v3
73+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
7474
- name: Formatting
7575
id: format
7676
continue-on-error: true
7777
uses: axel-op/googlejavaformat-action@v3
7878
with:
7979
args: "--set-exit-if-changed"
8080

81-
- uses: actions/github-script@v6.3.3
81+
- uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3
8282
if: steps.format.outcome != 'success'
8383
with:
8484
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/02_update_code.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
if: ${{ contains(github.event.comment.body, 'update_code') }}
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
2121
with:
2222
token: ${{ secrets.BOT_TOKEN_GITHUB }}
2323

@@ -26,7 +26,7 @@ jobs:
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
- name: Set up JDK 11
29-
uses: actions/setup-java@v1
29+
uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1
3030
with:
3131
java-version: 11
3232

@@ -58,7 +58,7 @@ jobs:
5858
if: ${{ always() && contains(needs.*.result, 'failure') }}
5959
steps:
6060
- name: Notify if Failure
61-
uses: actions/github-script@v6.3.3
61+
uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3
6262
with:
6363
github-token: ${{ secrets.GITHUB_TOKEN }}
6464
script: |

.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/maven-code-review@v1.8.3
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/05_release_deploy.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
steps:
8282
- name: Make Release
8383
id: release
84-
uses: pagopa/github-actions-template/maven-release@v1.5.4
84+
uses: pagopa/github-actions-template/maven-release@d91a1fd0b913c9830589be5d86cdb71c90813fae # v1.5.4
8585
with:
8686
semver: ${{ needs.setup.outputs.semver }}
8787
github_token: ${{ secrets.BOT_TOKEN_GITHUB }}
@@ -102,20 +102,20 @@ jobs:
102102
# github_token: ${{ secrets.GITHUB_TOKEN }}
103103
# tag: ${{ needs.release.outputs.version }}
104104
- name: Checkout
105-
uses: actions/checkout@v3
105+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
106106
with:
107107
ref: ${{ github.ref_name }}
108108

109109
- name: Login to GitHub Container Registry
110-
uses: docker/login-action@v2
110+
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2
111111
with:
112112
registry: ghcr.io
113113
username: ${{ github.actor }}
114114
password: ${{ secrets.GITHUB_TOKEN }}
115115

116116
- name: Docker meta
117117
id: meta
118-
uses: docker/metadata-action@v4.3.0
118+
uses: docker/metadata-action@507c2f2dc502c992ad446e3d7a5dfbe311567a96 # v4.3.0
119119
with:
120120
images: ghcr.io/${{ github.repository }}
121121
tags: |
@@ -125,7 +125,7 @@ jobs:
125125
type=sha
126126
127127
- name: Build and push
128-
uses: docker/build-push-action@v4
128+
uses: docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 # v4
129129
with:
130130
context: .
131131
push: true
@@ -155,7 +155,7 @@ jobs:
155155
steps:
156156
- name: Report Status
157157
if: always()
158-
uses: ravsamhq/notify-slack-action@v2
158+
uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2
159159
with:
160160
status: ${{ needs.deploy_aks.result }}
161161
token: ${{ secrets.GITHUB_TOKEN }}

docker/local-dbs/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3.9'
22
services:
33
postgres:
4-
image: postgres:14
4+
image: postgres:14@sha256:9ca42e2107805d1c9fc481c0378925f3a5c72477737ae709ddd163751768ac30
55
container_name: postgres_nexi
66
ports:
77
- 5432:5432

performance-test/docker-compose.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3.3'
22
services:
33
k6:
4-
image: grafana/k6
4+
image: grafana/k6@sha256:278d78f2953041b6b4b0bd315e8605ed43222245771adc405f3252f3edea0eef
55
container_name: k6
66
volumes:
77
- '${PWD}/src:/scripts'
@@ -15,7 +15,7 @@ services:
1515
- nginx
1616

1717
nginx:
18-
image: nginx
18+
image: nginx@sha256:56b388b0d79c738f4cf51bbaf184a14fab19337f4819ceb2cae7d94100262de8
1919
container_name: nginx
2020
volumes:
2121
- '${PWD}/nginx/nginx.conf:/etc/nginx/nginx.conf'

0 commit comments

Comments
 (0)