I want to trigger an action on pull request only when my branch starts with a specific pattern (which uses a dash separator).
This action should run only on the branch that starts with
CODE-123-fixwill be nice to have, but at this moment I need only the first cases.
name: PR update on: pull_request: types: [opened] branches: - '[a-z]+-[0-9]+'
invalid branches patterns here.