#60
Switch `lat check` to `pull_request_target` so fork PRs run without maintainer approval.
Summary
Run the lat check CI workflow automatically on fork PRs. No maintainer approval required.
Why
Fork PRs fire pull_request, which parks the run behind the GitHub's "Approve and run" gate. Contributors cannot see in the CI whether lat check passes or not.
Changed
- Switch the trigger from
pull_requesttopull_request_target. It isn't subject to the fork-PR approval gate, so the workflow now starts on its own. - Check out the PR's head SHA explicitly, since
pull_request_targetdefaults to the base branch. - Keep previous
permissions: contents: read. No PR code is executed. Skipping the gate for thelars20070/lat-check-action@v1action is safe. Feel free to move to1st1/lat-check-action@v1. - All instances of
.DS_Storeare ignored.
@lars20070 is attempting to deploy a commit to the Yury Selivanov's projects Team on Vercel.
A member of the Team first needs to authorize it.