From 9e4f6a7797f3bd724f319326fe3d193ab7db2773 Mon Sep 17 00:00:00 2001 From: "renovate-pagopa[bot]" <164534245+renovate-pagopa[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 06:06:36 +0000 Subject: [PATCH] Pin dependencies --- .github/workflows/anchore.yml | 6 +++--- .github/workflows/assignee.yml | 2 +- .github/workflows/check_metadata_pr.yml | 4 ++-- .github/workflows/code_review.yml | 2 +- .github/workflows/integration_test.yml | 4 ++-- .github/workflows/release_deploy.yml | 16 ++++++++-------- .github/workflows/release_deploy_aks.yml | 6 +++--- .github/workflows/sonar_analysis.yml | 2 +- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/anchore.yml b/.github/workflows/anchore.yml index 802f626..8b792dc 100644 --- a/.github/workflows/anchore.yml +++ b/.github/workflows/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@e8b34a2aaa1d35eab0b758128337086bb22bc6bf # v2 if: always() with: sarif_file: results.sarif diff --git a/.github/workflows/assignee.yml b/.github/workflows/assignee.yml index 0611917..cf22668 100644 --- a/.github/workflows/assignee.yml +++ b/.github/workflows/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/check_metadata_pr.yml b/.github/workflows/check_metadata_pr.yml index c687c53..5130b4a 100644 --- a/.github/workflows/check_metadata_pr.yml +++ b/.github/workflows/check_metadata_pr.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Verify PR Labels - uses: jesusvasquez333/verify-pr-label-action@v1.4.0 + uses: jesusvasquez333/verify-pr-label-action@657d111bbbe13e22bbd55870f1813c699bde1401 # v1.4.0 with: github-token: '${{ secrets.GITHUB_TOKEN }}' valid-labels: 'bug, enhancement, breaking-change, ignore-for-release' @@ -29,7 +29,7 @@ jobs: - name: Label Check if: ${{ !contains(github.event.pull_request.labels.*.name, 'breaking-change') && !contains(github.event.pull_request.labels.*.name, 'enhancement') && !contains(github.event.pull_request.labels.*.name, 'bug') && !contains(github.event.pull_request.labels.*.name, 'ignore-for-release') }} - uses: actions/github-script@v3 + uses: actions/github-script@ffc2c79a5b2490bd33e0a41c1de74b877714d736 # v3 with: script: | core.setFailed('Missing required labels') diff --git a/.github/workflows/code_review.yml b/.github/workflows/code_review.yml index cb03334..b6e9029 100644 --- a/.github/workflows/code_review.yml +++ b/.github/workflows/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.10.4 + uses: pagopa/github-actions-template/maven-code-review@5a544cfcc87edacde3391e4fb70228194f90ec63 # v1.10.4 with: github_token: ${{ secrets.GITHUB_TOKEN }} sonar_token: ${{ secrets.SONAR_TOKEN }} diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index de0c6bc..67b7312 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -64,7 +64,7 @@ jobs: steps: - name: Report Status if: ${{ inputs.notify }} - uses: ravsamhq/notify-slack-action@v2 + uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2 with: status: ${{ needs.integration_test.result }} token: ${{ secrets.GITHUB_TOKEN }} @@ -81,7 +81,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 c84feb0..b11102e 100644 --- a/.github/workflows/release_deploy.yml +++ b/.github/workflows/release_deploy.yml @@ -110,7 +110,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 }} @@ -125,10 +125,10 @@ jobs: steps: - name: 'Checkout GitHub Action' - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - name: 'Login via Azure CLI' - uses: azure/login@v1 + uses: azure/login@cb79c773a3cfa27f31f25eb3f677781210c9ce3d # v1 with: client-id: ${{ secrets.CLIENT_ID }} tenant-id: ${{ secrets.TENANT_ID }} @@ -142,14 +142,14 @@ jobs: - name: 'Azure CLI script: start staging slot' - uses: azure/CLI@v1 + uses: azure/CLI@4db43908b9df2e7ac93c8275a8f9a448c59338dd # v1 if: ${{ contains(github.event.inputs.environment, 'prod') }} with: inlineScript: | az functionapp start --name ${{ env.APP_NAME }} --resource-group ${{ env.RESOURCE_GROUP }} --slot staging - name: 'Run Azure Functions Container Action: staging slot' - uses: Azure/functions-container-action@v1.2.1 + uses: Azure/functions-container-action@0aec6197033a72d3ca813f1aebd9391f639c2a8f # v1.2.1 if: ${{ contains(github.event.inputs.environment, 'prod')}} with: app-name: ${{ env.APP_NAME }} @@ -157,7 +157,7 @@ jobs: slot-name: staging - name: 'Deploy Approval' - uses: trstringer/manual-approval@v1 + uses: trstringer/manual-approval@662b3ddbc7685f897992051e87e1b4b58c07dc03 # v1 if: ${{ contains(github.event.inputs.environment, 'prod')}} with: secret: ${{ secrets.BOT_TOKEN_GITHUB }} @@ -169,14 +169,14 @@ jobs: timeout-minutes: 360 - name: 'Run Azure Functions Container Action' - uses: Azure/functions-container-action@v1.2.1 + uses: Azure/functions-container-action@0aec6197033a72d3ca813f1aebd9391f639c2a8f # v1.2.1 with: app-name: ${{ env.APP_NAME }} image: ${{ env.REGISTRY_IMAGE }} slot-name: production - name: 'Azure CLI script: end staging slot' - uses: azure/CLI@v1 + uses: azure/CLI@4db43908b9df2e7ac93c8275a8f9a448c59338dd # v1 if: ${{ contains(github.event.inputs.environment, 'prod') }} with: inlineScript: | diff --git a/.github/workflows/release_deploy_aks.yml b/.github/workflows/release_deploy_aks.yml index 076f4b5..fb32199 100644 --- a/.github/workflows/release_deploy_aks.yml +++ b/.github/workflows/release_deploy_aks.yml @@ -95,7 +95,7 @@ jobs: steps: - name: Make Release id: release - uses: pagopa/github-actions-template/maven-release@v1.5.4 + uses: pagopa/github-actions-template/maven-release@d91a1fd0b913c9830589be5d86cdb71c90813fae # v1.5.4 with: semver: ${{ needs.setup.outputs.semver }} github_token: ${{ secrets.BOT_TOKEN_GITHUB }} @@ -110,7 +110,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 }} @@ -137,7 +137,7 @@ jobs: steps: - name: Report Status if: ${{ needs.setup.outputs.environment == 'prod' || needs.setup.outputs.environment == 'all' }} - 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/sonar_analysis.yml b/.github/workflows/sonar_analysis.yml index 2a65a8a..5a018e8 100644 --- a/.github/workflows/sonar_analysis.yml +++ b/.github/workflows/sonar_analysis.yml @@ -19,7 +19,7 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: Azure Pipelines Action - Jversion - uses: jacopocarlini/azure-pipelines@v1.3 + uses: jacopocarlini/azure-pipelines@b9721743a54e862597395b4a70727cfdc03028fb # v1.3 with: azure-devops-project-url: https://dev.azure.com/pagopaspa/pagoPA-projects azure-pipeline-name: 'pagopa-platform-authorizer.code-review'