diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 03f165b05..397e0e089 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -38,12 +38,6 @@ jobs: run: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-command }} - uses: actions/checkout@v4 - if: github.event_name == 'push' || github.event_name == 'schedule' - - - uses: actions/checkout@v4 - if: github.event_name == 'pull_request' - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Setup Java ${{ matrix.java }} uses: actions/setup-java@v4 @@ -73,12 +67,6 @@ jobs: steps: - uses: actions/checkout@v4 - if: github.event_name == 'push' || github.event_name == 'schedule' - - - uses: actions/checkout@v4 - if: github.event_name == 'pull_request' - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Setup Java ${{ matrix.java }} uses: actions/setup-java@v4 @@ -111,12 +99,6 @@ jobs: run: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-command }} - uses: actions/checkout@v4 - if: github.event_name == 'push' || github.event_name == 'schedule' - - - uses: actions/checkout@v4 - if: github.event_name == 'pull_request' - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Setup Java ${{ matrix.java }} uses: actions/setup-java@v4 @@ -145,13 +127,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 - if: github.event_name == 'push' || github.event_name == 'schedule' - - - uses: actions/checkout@v4 - if: github.event_name == 'pull_request' - with: - ref: ${{ github.event.pull_request.head.sha }} + - uses: actions/f - name: Setup Java ${{ matrix.java }} uses: actions/setup-java@v4