diff --git a/.github/workflows/check_history.yaml b/.github/workflows/check_history.yaml index 7f384653..7e43be3f 100644 --- a/.github/workflows/check_history.yaml +++ b/.github/workflows/check_history.yaml @@ -9,7 +9,7 @@ jobs: name: 'Check if PR is based on latest main' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: ref: ${{ github.event.pull_request.head.sha }} # ensure we get the actual PR HEAD and not the merged result fetch-depth: 0 # ensure the complete Git history is available @@ -36,7 +36,7 @@ jobs: name: 'Check if PR has a linear history without merges' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: ref: ${{ github.event.pull_request.head.sha }} # ensure we get the actual PR HEAD and not the merged result fetch-depth: 0 # ensure the complete Git history is available @@ -60,7 +60,7 @@ jobs: name: 'Check if PR has any fixup! or WIP commits' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: ref: ${{ github.event.pull_request.head.sha }} # ensure we get the actual PR HEAD and not the merged result fetch-depth: 0 # ensure the complete Git history is available diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index df652ea0..64563a45 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -14,7 +14,7 @@ jobs: contents: write steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: "Setup PHP" uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/lint_test_pull_requests.yaml b/.github/workflows/lint_test_pull_requests.yaml index fab4eea9..6b1b117f 100644 --- a/.github/workflows/lint_test_pull_requests.yaml +++ b/.github/workflows/lint_test_pull_requests.yaml @@ -41,7 +41,7 @@ jobs: steps: - name: "Checkout" - uses: actions/checkout@v6 + uses: actions/checkout@v7 # see https://github.com/shivammathur/setup-php - name: "Setup PHP" @@ -71,7 +71,7 @@ jobs: - 8.3 - 8.4 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 546794e4..732302a3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,7 +46,7 @@ jobs: name: Split subtree packages/${{ matrix.package.path }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 # ensure the complete Git history is available