Skip to content

Commit 355307d

Browse files
DrJKLactions-user
authored andcommitted
fix: Remove extra arguments to checkout in favor of the GitHub defaults (#5883)
## Summary Should allow this action to run on fork PRs. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-5883-fix-Remove-extra-arguments-to-checkout-in-favor-of-the-GitHub-defaults-27f6d73d365081a780f7cf4a5a62c368) by [Unito](https://www.unito.io) --------- Co-authored-by: GitHub Action <[email protected]>
1 parent 033f603 commit 355307d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/lint-and-format.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ jobs:
1515
- name: Checkout PR
1616
uses: actions/checkout@v5
1717
with:
18-
token: ${{ secrets.GITHUB_TOKEN }}
19-
ref: ${{ github.event.pull_request.head.ref }}
20-
fetch-depth: 0
18+
ref: ${{ github.head_ref }}
2119

2220
- name: Install pnpm
2321
uses: pnpm/action-setup@v4

0 commit comments

Comments
 (0)