on:
pull_request:
branches: [main]
I only want GitHub Actions to run when the branch I'm making the PR from does not start with "random/name*".
I found this in the docs:
on:
pull_request:
# Sequence of patterns matched against refs/heads
branches-ignore:
- 'mona/octocat'
- 'releases/**-alpha'
but it only excludes it when making a PR to that branch, I want it to ignore branches I'm making the PR from. Is this possible?
0 comments:
Post a Comment
Thanks