Update ci.yml

This commit is contained in:
Woolfgm authored and GitHub committed 2025-12-17 22:41:02 +01:00
1 parent ab513103df
commit cd98caea43
1 file changed
+5 -5
+5 -5
View File
@@ -66,7 +66,7 @@ jobs:
- name: Determine fetch depth - name: Determine fetch depth
run: echo "FETCH_DEPTH=$((${{ github.event.pull_request.commits }} + 2))" >> "$GITHUB_ENV" run: echo "FETCH_DEPTH=$((${{ github.event.pull_request.commits }} + 2))" >> "$GITHUB_ENV"
- *ANNOTATION_PR_NUMBER - *ANNOTATION_PR_NUMBER
- uses: actions/checkout@v5 - uses: actions/checkout@v6
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: ${{ env.FETCH_DEPTH }} fetch-depth: ${{ env.FETCH_DEPTH }}
@@ -148,7 +148,7 @@ jobs:
- &CHECKOUT - &CHECKOUT
name: Checkout name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
with: with:
# Ensure the latest merged pull request state is used, even on re-runs. # Ensure the latest merged pull request state is used, even on re-runs.
ref: &CHECKOUT_REF_TMPL ${{ github.event_name == 'pull_request' && github.ref || '' }} ref: &CHECKOUT_REF_TMPL ${{ github.event_name == 'pull_request' && github.ref || '' }}
@@ -383,7 +383,7 @@ jobs:
- *ANNOTATION_PR_NUMBER - *ANNOTATION_PR_NUMBER
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
with: with:
ref: ${{ needs.record-frozen-commit.outputs.commit }} ref: ${{ needs.record-frozen-commit.outputs.commit }}
@@ -439,7 +439,7 @@ jobs:
- *ANNOTATION_PR_NUMBER - *ANNOTATION_PR_NUMBER
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
with: with:
ref: ${{ needs.record-frozen-commit.outputs.commit }} ref: ${{ needs.record-frozen-commit.outputs.commit }}
@@ -657,7 +657,7 @@ jobs:
- *ANNOTATION_PR_NUMBER - *ANNOTATION_PR_NUMBER
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
with: with:
ref: *CHECKOUT_REF_TMPL ref: *CHECKOUT_REF_TMPL
fetch-depth: 0 fetch-depth: 0