My set-up is as follows:
- name: step1 when: branch: - epic/* - name: step2 when: branch: exclude: - epic/* - name: step3 when: branch: - epic/* ... trigger: event: - pull_request
When I push to a new branch named
epic/test-branch the exact opposite of what I expect happens. Step2 runs and step1 and step3 do not.