You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prevent workflows from running on forks by adding repository
owner checks to workflows that publish artifacts or use self-hosted
runners.
- Add check to `push.yaml` to prevent image publishing on forks
- Add check to `release.yaml` to prevent release creation on forks
- Add check to `k8s-bm.yaml` to prevent self-hosted runner usage on
forks
- Add check to `profiling.yaml` to prevent self-hosted runner usage on
forks
- Removed `Extract version` step from `release.yaml` since it is
redundant and just copying `github.ref_name` to a step variable
output without any transformation or processing
This ensures fork contributors don't need to manually disable workflows
and prevents unnecessary runs on forks.
Signed-off-by: vprashar2929 <[email protected]>
0 commit comments