I’d like to have another system (Jira in my case) do a webhook POST to GitHub, where a specific PR will have GitHub Workflow actions rerun.
I see documentation on how to trigger a workflow with an external event, but nothing for how to target a specific PR.
The general flow I’m working with is:
- PR opened.
- GitHub workflow executes, where a check may fail (as desired) based on data from external system.
- External system data is updated.
- External system sends message to GitHub to trigger workflow to be rerun on that same PR (but not other open PR’s on the same repo).
That step #4 is where I don’t see much for options. The link above looks somewhat promising, but I get the sense I’m missing something in using it or perhaps it’s just the wrong thing for my use case.