diff --git a/workflow-templates/gradle-build-sonar-scan.yml b/workflow-templates/gradle-build-sonar-scan.yml index 1f4cb17..ba93e4e 100644 --- a/workflow-templates/gradle-build-sonar-scan.yml +++ b/workflow-templates/gradle-build-sonar-scan.yml @@ -79,7 +79,7 @@ jobs: checks: write steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up JDK ${{ env.JAVA_VERSION }} diff --git a/workflow-templates/pr.yml b/workflow-templates/pr.yml index 6556bd3..2def9e0 100644 --- a/workflow-templates/pr.yml +++ b/workflow-templates/pr.yml @@ -18,7 +18,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 - name: Set up JDK 21 diff --git a/workflow-templates/push.yml b/workflow-templates/push.yml index 55ce070..75840db 100644 --- a/workflow-templates/push.yml +++ b/workflow-templates/push.yml @@ -10,7 +10,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 - name: Set up JDK 21