There was an error while loading. Please reload this page.
1 parent 5e1f651 commit 51824e8Copy full SHA for 51824e8
2 files changed
.github/workflows/linter.yml
@@ -22,7 +22,10 @@ jobs:
22
- name: Checkout code
23
uses: actions/checkout@v4
24
with:
25
- ref: ${{ github.head_ref }}
+ # Checkout the actual branch, not a specific commit
26
+ ref: ${{ github.head_ref || github.ref_name }}
27
+ # Fetch the full history to avoid shallow clone issues
28
+ fetch-depth: 0
29
30
- name: Run Laravel Pint
31
uses: aglipanci/laravel-pint-action@latest
.github/workflows/test-runner.yml
@@ -41,7 +41,7 @@ jobs:
41
42
43
44
+ ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
45
46
- name: Validate composer.json and composer.lock
47
run: composer validate --strict
0 commit comments