From ef45bb2bd3629df3cfcb73776896ef45dfb5141e Mon Sep 17 00:00:00 2001 From: "renovate-pagopa[bot]" <164534245+renovate-pagopa[bot]@users.noreply.github.com> Date: Tue, 15 Oct 2024 05:38:36 +0000 Subject: [PATCH] Pin dependencies --- .github/workflows/anchore.yml | 8 ++++---- .github/workflows/check_pr.yml | 10 +++++----- .github/workflows/code_review.yml | 4 ++-- .github/workflows/create_dashboard.yaml | 4 ++-- .github/workflows/release_deploy.yml | 12 ++++++------ .github/workflows/update_code.yml | 6 +++--- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/anchore.yml b/.github/workflows/anchore.yml index 2988c58f..80fecf74 100644 --- a/.github/workflows/anchore.yml +++ b/.github/workflows/anchore.yml @@ -35,12 +35,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the code - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - name: Create Dockerfile run: | ./sbt -v docker:stage - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 # v4 with: context: ./wispsoapconverter/target/docker/stage push: false @@ -50,7 +50,7 @@ jobs: - name: Run the Anchore scan action itself with GitHub Advanced Security code scanning integration enabled id: scan - uses: anchore/scan-action@v3 + uses: anchore/scan-action@3343887d815d7b07465f6fdcd395bd66508d486a # v3 with: image: "localbuild/testimage:latest" acs-report-enable: true @@ -58,7 +58,7 @@ jobs: severity-cutoff: "high" - name: Upload Anchore Scan Report - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@083cd45dc7d463f048a5d0975943f0e19e9c9378 # v2 if: always() with: sarif_file: ${{ steps.scan.outputs.sarif }} diff --git a/.github/workflows/check_pr.yml b/.github/workflows/check_pr.yml index cce975c6..bb83a15a 100644 --- a/.github/workflows/check_pr.yml +++ b/.github/workflows/check_pr.yml @@ -24,7 +24,7 @@ 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' @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - name: Formatting id: format @@ -43,7 +43,7 @@ jobs: path: . fail-on-changes: false - - 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 }} @@ -77,12 +77,12 @@ jobs: runs-on: ubuntu-latest name: Check Size steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 with: fetch-depth: 0 - name: Check Size - uses: actions/github-script@v6.3.3 + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3 env: IGNORED_FILES: openapi.json, openapi-node.json with: diff --git a/.github/workflows/code_review.yml b/.github/workflows/code_review.yml index d9fafb6d..c27ace3f 100644 --- a/.github/workflows/code_review.yml +++ b/.github/workflows/code_review.yml @@ -35,9 +35,9 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 - name: Setup JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3 with: distribution: temurin java-version: 17 diff --git a/.github/workflows/create_dashboard.yaml b/.github/workflows/create_dashboard.yaml index 61fa2510..9e9b4c2e 100644 --- a/.github/workflows/create_dashboard.yaml +++ b/.github/workflows/create_dashboard.yaml @@ -38,7 +38,7 @@ jobs: persist-credentials: false # from https://github.com/pagopa/opex-dashboard-azure-action/ - - uses: pagopa/opex-dashboard-azure-action@v1.1.2 + - uses: pagopa/opex-dashboard-azure-action@ece3bc2b133be74cabb50aec14cdb9b8051b886f # v1.1.2 with: environment: ${{ matrix.environment }} api-name: @@ -55,7 +55,7 @@ jobs: if: ${{ always() }} steps: - name: Delete Previous deployments - uses: actions/github-script@v6 + uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6 env: SHA_HEAD: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.sha}} with: diff --git a/.github/workflows/release_deploy.yml b/.github/workflows/release_deploy.yml index 65978798..25140d83 100644 --- a/.github/workflows/release_deploy.yml +++ b/.github/workflows/release_deploy.yml @@ -93,7 +93,7 @@ jobs: steps: - name: Make Release id: release - uses: pagopa/github-actions-template/sbt-release@v1.11.1 + uses: pagopa/github-actions-template/sbt-release@5db4c9108164a07d96527978da1c3febec934f22 # v1.11.1 with: semver: ${{ needs.setup.outputs.semver }} github_token: ${{ secrets.BOT_TOKEN_GITHUB }} @@ -113,12 +113,12 @@ jobs: # branch: ${{ github.ref_name}} # github_token: ${{ secrets.GITHUB_TOKEN }} # tag: ${{ needs.release.outputs.version }} - - uses: actions/checkout@v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 with: ref: ${{ github.ref_name }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2 with: registry: ghcr.io username: ${{ github.actor }} @@ -126,7 +126,7 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v4.3.0 + uses: docker/metadata-action@507c2f2dc502c992ad446e3d7a5dfbe311567a96 # v4.3.0 with: images: ghcr.io/${{ github.repository }} tags: | @@ -140,7 +140,7 @@ jobs: run: | ./sbt -v docker:stage - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 # v4 with: context: ./wispsoapconverter/target/docker/stage push: true @@ -170,7 +170,7 @@ jobs: steps: - name: Report Status if: ${{ needs.setup.outputs.environment == 'prod' }} - uses: ravsamhq/notify-slack-action@v2 + uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2 with: status: ${{ needs.deploy_aks.result }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/update_code.yml b/.github/workflows/update_code.yml index ed41d83e..8b42a431 100644 --- a/.github/workflows/update_code.yml +++ b/.github/workflows/update_code.yml @@ -17,7 +17,7 @@ jobs: if: ${{ contains(github.event.comment.body, 'update_code') }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 with: token: ${{ secrets.BOT_TOKEN_GITHUB }} @@ -26,7 +26,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1 with: java-version: 11 @@ -58,7 +58,7 @@ jobs: if: ${{ always() && contains(needs.*.result, 'failure') }} steps: - name: Notify if Failure - uses: actions/github-script@v6.3.3 + uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: |