@airtower-luna Sorry, some context would definitely be helpful…
This action creates a changelog on the fly. We want to create the changelog based off the title of the PR. We are using the
github.event.pull_request object to grab the title of the PR, create a file based off of the branch name, and push the change up if the file doesn’t already exist.
Our branches are all structured like so:
feature/JIRA-123/this-is-a-feature but sometimes we have the occasional spike that skips the changelog process. We want to make sure that the branches that match the above structure are the only ones creating changelogs.
The thing is the check never shows up to fire off the changelog action. It doesn’t do anything at all, but if I change it from
on: pull request to
on: push using the same exact Regex, the action will fire (but fail because push does not have the PR object).
I have experimented a bit. Things like
**/**/** seem to match. Things like
**/DEV-*/** do not.
Let me know if you need more info.