From 0fb3b5db94deefd87cf5b7ed9a9f43904a0930a6 Mon Sep 17 00:00:00 2001 From: "renovate-pagopa[bot]" <164534245+renovate-pagopa[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 06:10:33 +0000 Subject: [PATCH] Pin dependencies --- .github/workflows/00_anchore.yml | 6 +++--- .github/workflows/01_add_patch_label.yml | 4 ++-- .github/workflows/01_assignee.yml | 2 +- .github/workflows/02_check_pr.yml | 6 +++--- .github/workflows/03_code_review.yml | 2 +- .github/workflows/04_release_deploy.yml | 4 ++-- docker/docker-compose.yml | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/00_anchore.yml b/.github/workflows/00_anchore.yml index 802f626..a6c6c5d 100644 --- a/.github/workflows/00_anchore.yml +++ b/.github/workflows/00_anchore.yml @@ -35,20 +35,20 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the code - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - name: Build the Docker image run: docker build . --file ${{ env.DOCKERFILE }} --tag localbuild/testimage:latest - name: Run the Anchore scan action itself with GitHub Advanced Security code scanning integration enabled - uses: anchore/scan-action@v3 + uses: anchore/scan-action@3343887d815d7b07465f6fdcd395bd66508d486a # v3 with: image: "localbuild/testimage:latest" acs-report-enable: true fail-build: true severity-cutoff: "high" - name: Upload Anchore Scan Report - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@6a89f57882288b3d2f190cda65000eec9e9ebb7c # v2 if: always() with: sarif_file: results.sarif diff --git a/.github/workflows/01_add_patch_label.yml b/.github/workflows/01_add_patch_label.yml index 41e5a82..2d2bbf0 100644 --- a/.github/workflows/01_add_patch_label.yml +++ b/.github/workflows/01_add_patch_label.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Check user labels id: check_user_labels - uses: actions/github-script@v6.3.3 + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -48,7 +48,7 @@ jobs: - name: Add comment if: ${{ steps.check_user_labels.outputs.result == 'true' }} - uses: actions/github-script@v6.3.3 + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/01_assignee.yml b/.github/workflows/01_assignee.yml index 0611917..cf22668 100644 --- a/.github/workflows/01_assignee.yml +++ b/.github/workflows/01_assignee.yml @@ -21,6 +21,6 @@ jobs: steps: - name: Assign Me # You may pin to the exact commit or the version. - uses: kentaro-m/auto-assign-action@v1.2.1 + uses: kentaro-m/auto-assign-action@746a3a558fdd0e061f612ec9f8ff1b8a19c1a115 # v1.2.1 with: configuration-path: '.github/auto_assign.yml' diff --git a/.github/workflows/02_check_pr.yml b/.github/workflows/02_check_pr.yml index 5608117..9491dff 100644 --- a/.github/workflows/02_check_pr.yml +++ b/.github/workflows/02_check_pr.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Verify PR Labels if: ${{ !contains(github.event.pull_request.labels.*.name, 'patch') && !contains(github.event.pull_request.labels.*.name, 'ignore-for-release') }} - uses: actions/github-script@v6.3.3 + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -57,7 +57,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - name: Formatting id: format continue-on-error: true @@ -65,7 +65,7 @@ jobs: with: args: "--set-exit-if-changed" - - uses: actions/github-script@v6.3.3 + - uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3 if: steps.format.outcome != 'success' with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/03_code_review.yml b/.github/workflows/03_code_review.yml index 83f12f9..b6d6dd6 100644 --- a/.github/workflows/03_code_review.yml +++ b/.github/workflows/03_code_review.yml @@ -35,7 +35,7 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: Code Review - uses: pagopa/github-actions-template/maven-code-review@v1.8.3 + uses: pagopa/github-actions-template/maven-code-review@de4ca1ddefb1461c176cc42259e494158b578fe3 # v1.8.3 with: github_token: ${{ secrets.GITHUB_TOKEN }} sonar_token: ${{ secrets.SONAR_TOKEN }} diff --git a/.github/workflows/04_release_deploy.yml b/.github/workflows/04_release_deploy.yml index 47debcc..95d5e0d 100644 --- a/.github/workflows/04_release_deploy.yml +++ b/.github/workflows/04_release_deploy.yml @@ -112,7 +112,7 @@ jobs: steps: - name: Build and Push id: semver - uses: pagopa/github-actions-template/ghcr-build-push@v1.5.4 + uses: pagopa/github-actions-template/ghcr-build-push@d91a1fd0b913c9830589be5d86cdb71c90813fae # v1.5.4 with: branch: ${{ github.ref_name}} github_token: ${{ secrets.GITHUB_TOKEN }} @@ -142,7 +142,7 @@ jobs: steps: - name: Report Status if: always() - uses: ravsamhq/notify-slack-action@v2 + uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2 with: status: ${{ needs.deploy_azure_fn.result }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 28fb269..8d0799d 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -3,7 +3,7 @@ name: pagopa-taxonomy-function services: storage: container_name: 'pagopa-taxonomy-function-storage' - image: mcr.microsoft.com/azure-storage/azurite + image: mcr.microsoft.com/azure-storage/azurite@sha256:47a392f1c93a6b639999fc505dcae348e350183b47f2a7526c765ddd7fa56e0e ports: - "10000:10000" - "10001:10001"