diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 40ddc29fa23..3636c25c63e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.7 with: show-progress: 'false' diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c65fbd51148..52f62633fd9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout GeoNetwork - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.7 with: fetch-depth: 0 - name: Install Python diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 8d473643803..4599d1985a9 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -15,7 +15,7 @@ jobs: - os: ubuntu-22.04 jdk: 11 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.1.7 with: # 500 commits, set to 0 to get all fetch-depth: 500 @@ -48,7 +48,7 @@ jobs: QA: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.1.7 with: # 500 commits, set to 0 to get all fetch-depth: 500 diff --git a/.github/workflows/mvn-dep-tree.yml b/.github/workflows/mvn-dep-tree.yml index 0ac94031a83..bcf57e646cd 100644 --- a/.github/workflows/mvn-dep-tree.yml +++ b/.github/workflows/mvn-dep-tree.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.7 with: show-progress: 'false' diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 98cf13704c4..fb088d4aea6 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -32,7 +32,7 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: persist-credentials: false diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 5788e6859bd..ffee788525a 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -13,7 +13,7 @@ jobs: # https://github.community/t/how-to-detect-a-pull-request-from-a-fork/18363/4 if: github.event.pull_request.head.repo.fork != true steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.1.7 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis submodules: 'recursive'