diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5afef90f..18d86b54 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,7 +50,7 @@ jobs: SONAR_JAVA_VERSION: 7.24.0.32100 SONAR_SERVER_JAVA_VERSION: 17 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up JDK @@ -80,7 +80,7 @@ jobs: # Forked repos do not have the secrets to deploy so this would fail if: ( github.event_name == 'release' || ( github.event_name == 'push' && github.ref == 'refs/heads/master' )) && github.repository == 'spotbugs/sonar-findbugs' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up JDK 11 diff --git a/.github/workflows/sonar-update-center.yml b/.github/workflows/sonar-update-center.yml index 314515dd..14e8591d 100644 --- a/.github/workflows/sonar-update-center.yml +++ b/.github/workflows/sonar-update-center.yml @@ -21,7 +21,7 @@ jobs: cond: ${{ github.event_name == 'pull_request_target' }} if_true: refs/pull/${{ github.event.pull_request.number }}/merge if_false: ${{ github.ref }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ steps.condval.outputs.value }} - name: Read .nvmrc @@ -48,7 +48,7 @@ jobs: cond: ${{ github.event_name == 'pull_request_target' }} if_true: refs/pull/${{ github.event.pull_request.number }}/merge if_false: ${{ github.ref }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ steps.condval.outputs.value }} - uses: ./.github/actions/sonar-update-center diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index facdafab..acb62914 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -41,7 +41,7 @@ jobs: cond: ${{ github.event_name == 'pull_request_target' }} if_true: refs/pull/${{ github.event.pull_request.number }}/merge if_false: ${{ github.ref }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ steps.condval.outputs.value }}