Do not run several CI jobs on forks#8132
Conversation
|
@TomasVotruba I'm a little bit confused because sometimes it's written as |
|
That depends on even, if specifically on pull request even, use:
|
|
ok, what i want is that the job doesn't run on PRs and on main branch as forks should only run tests, nothing else |
|
On usage even, please use |
I think in this case the scheduler runs on main branch and not on a PR |
|
|
|
Yes, but forks should also not run scheduled tasks: on:
schedule:
- cron: '0 */12 * * *' # every 12 hours |
|
Okay, let's give it a try 👍 |
|
Thank you @simonschaufi |
Closes: rectorphp/rector#9790