diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d5b9ed..c2b3cde 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: pull-requests: read # allows SonarCloud to decorate PRs with analysis results steps: - name: Checkout - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis diff --git a/.github/workflows/build_container.yml b/.github/workflows/build_container.yml index 8c8c410..c869c63 100644 --- a/.github/workflows/build_container.yml +++ b/.github/workflows/build_container.yml @@ -37,7 +37,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Checkout repository - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: fetch-depth: 0 diff --git a/.github/workflows/tag_release.yml b/.github/workflows/tag_release.yml index 9b03f2e..79400c1 100644 --- a/.github/workflows/tag_release.yml +++ b/.github/workflows/tag_release.yml @@ -30,7 +30,7 @@ jobs: contents: write steps: - name: Checkout repository - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: fetch-depth: 0 @@ -56,7 +56,7 @@ jobs: echo "release_tag=$RELEASE_TAG" >> $GITHUB_ENV - name: Checkout tag "${{ env.release_tag }}" - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: ref: ${{ env.release_tag }}