sergiodxa / remix-utils

A set of utility functions and types to use with Remix.run
https://sergiodxa.github.io/remix-utils/
MIT License
2.12k stars 118 forks source link

Update CI to run for external contributors #285

Closed G-Rath closed 11 months ago

G-Rath commented 11 months ago

push only works for pushes to branches in the repository which means pull requests from forks won't trigger it.

This change limits the workflow running on push to the main branch, meaning everyone including maintainers with write access to this repository will now need to open a PR to have CI run but this is generally fine if you're already following a PR based flow (which most people do), and avoids running the workflow twice for PRs (once for the push trigger and then again for the pull_request trigger) which is a little nicer on 🌎