Hi there folks,
What I’m trying to achieve is to have 2 different protected branches with different workflows.
The first one has workflow
foo that runs
on: pull_request: branches: [ branchA ]
I want to have a similar workflow on
branchB and I wouldn’t mind calling it
foo as well since they perform the same function, but I understand this could be confusing so I called it
The thing is, I’m adding the workflow file only to the branch it applies to, so
branchA has the file for workflow
branchB has the file for workflow
bar. I think this is the correct approach since I only want each workflow to run on that specific branch. Is this a fair assumption?
Also I want to trigger workflow
bar manually so I only set
on: workflow_dispatch:. But then after merging it I can’t see the action the the GitHub UI. Is there something else I need to do to add the Action properly other than commit the file? When testing
bar with a PR trigger it runs fine.
Thanks in advance