diff --git a/.github/workflows/apps-monitoring-deploy.yml b/.github/workflows/apps-monitoring-deploy.yml index cb24691b..53b866d6 100644 --- a/.github/workflows/apps-monitoring-deploy.yml +++ b/.github/workflows/apps-monitoring-deploy.yml @@ -15,12 +15,12 @@ jobs: working-directory: ./AppsMonitoring steps: - - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: fetch-depth: 0 - name: flux install - uses: fluxcd/flux2/action@8454b02a32e48d775b9f563cb51fdcb1787b5b93 # v2.7.5 + uses: fluxcd/flux2/action@889be9d6cc8afa8ed639e1e1ba4ab678e3b38d8c # v2.9.4 with: version: '2.5.1' @@ -32,7 +32,7 @@ jobs: echo "image_tag=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: az login - uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0 + uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1 with: client-id: ${{ secrets.AZURE_CLIENT_ID }} tenant-id: ${{ secrets.AZURE_TENANT_ID }} @@ -45,7 +45,7 @@ jobs: run: docker build -t ${{ steps.vars.outputs.image }} -f src/Altinn.Apps.Monitoring/Dockerfile . - name: scan image - uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # 0.33.1 + uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0 with: image-ref: '${{ steps.vars.outputs.image }}' format: 'table' @@ -58,7 +58,7 @@ jobs: run: docker push ${{ steps.vars.outputs.image }} - name: yq install - uses: mikefarah/yq@065b200af9851db0d5132f50bc10b1406ea5c0a8 # v4.50.1 + uses: mikefarah/yq@c14f446382944492701b16c1ddb48bb9dbe683e3 # v4.53.6 - name: patch base with image tag run: | diff --git a/.github/workflows/apps-monitoring-pr-build.yml b/.github/workflows/apps-monitoring-pr-build.yml index ce396eca..a3fdffa4 100644 --- a/.github/workflows/apps-monitoring-pr-build.yml +++ b/.github/workflows/apps-monitoring-pr-build.yml @@ -16,12 +16,12 @@ jobs: working-directory: ./AppsMonitoring steps: - - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: fetch-depth: 0 - name: Setup dotnet '10.0.x' - uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1 + uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0 with: dotnet-version: '10.0.x' diff --git a/.github/workflows/apps-monitoring-promote.yml b/.github/workflows/apps-monitoring-promote.yml index fd7b1e9d..8c14a3bc 100644 --- a/.github/workflows/apps-monitoring-promote.yml +++ b/.github/workflows/apps-monitoring-promote.yml @@ -47,7 +47,7 @@ jobs: } - name: flux install - uses: fluxcd/flux2/action@8454b02a32e48d775b9f563cb51fdcb1787b5b93 # v2.7.5 + uses: fluxcd/flux2/action@889be9d6cc8afa8ed639e1e1ba4ab678e3b38d8c # v2.9.4 with: version: '2.5.1' @@ -57,7 +57,7 @@ jobs: echo "registry=altinncr.azurecr.io" >> $GITHUB_OUTPUT - name: az login - uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0 + uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1 with: client-id: ${{ secrets.AZURE_CLIENT_ID }} tenant-id: ${{ secrets.AZURE_TENANT_ID }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 107e7592..995840c5 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -29,14 +29,14 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 - name: Setup .NET 9.0.* SDK - uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1 + uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0 with: dotnet-version: | 9.0.x - name: Initialize CodeQL - uses: github/codeql-action/init@45c373516f557556c15d420e3f5e0aa3d64366bc # v3.31.9 + uses: github/codeql-action/init@f3712979fa5f215279b101dd0a2e3bdfb4353324 # v3.37.7 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} @@ -45,9 +45,9 @@ jobs: # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main - name: Autobuild - uses: github/codeql-action/autobuild@45c373516f557556c15d420e3f5e0aa3d64366bc # v3.31.9 + uses: github/codeql-action/autobuild@f3712979fa5f215279b101dd0a2e3bdfb4353324 # v3.37.7 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@45c373516f557556c15d420e3f5e0aa3d64366bc # v3.31.9 + uses: github/codeql-action/analyze@f3712979fa5f215279b101dd0a2e3bdfb4353324 # v3.37.7 with: category: "/language:${{matrix.language}}"