eventespresso / barista

Javascript modules & tools for Event Espresso development
GNU General Public License v3.0
5 stars 1 forks source link

Allow manual trigger for E2E job #1286

Closed alexkuc closed 7 months ago

alexkuc commented 8 months ago

This PR will allow manually triggering E2E job with the option to override Cafe and E2E branches. As per GitHub's limitation, this will become enabled once it is merged:

To trigger the workflow_dispatch event, your workflow must be in the default branch.

https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow#configuring-a-workflow-to-run-manually

alexkuc commented 7 months ago

Good point regarding concurrency, I'll update

Edit: note to self - https://docs.github.com/en/actions/using-jobs/using-concurrency

alexkuc commented 7 months ago

Checks

PR approval triggers E2E run… ✅ PR comment with /run-e2e triggers E2E run… ✅ PR comments without /run-e2e do not start E2E run… ✅ PR comments without /run-e2e do not use any CI minutes… ✅ Can manually start E2E run with default branches… ✅ Can manually start E2E run with specific Cafe branch… ✅ Can manually start E2E run with specific Barista branch… ✅ Can manually start E2E run with specific Cafe and Barista branches… ✅ Can manually start E2E run with specific E2E branch… ✅

alexkuc commented 7 months ago

Random comment 🍟 (testing that unrelated PR comments do not trigger E2E run)

alexkuc commented 7 months ago

/run-e2e

alexkuc commented 7 months ago

/run-e2e