ably / engineering

Ably's new home for engineering guidance, including content previously served from Confluence at engineering.ably.com.
https://engineering.ably.com/
Apache License 2.0
2 stars 6 forks source link

recommend using workflow_dispatch by default #50

Closed owenpearson closed 1 year ago

owenpearson commented 1 year ago

Sometimes you need to trigger a CI run to check if the tests are still passing on the main branch (eg if you want to know if the tests have been affected by a change in server behaviour), this is especially useful if you don't have a dev environment set to run tests in the repo. Currently there are two main ways you can do this:

  1. Open a PR with some trivial commit (hacky and time consuming)
  2. Re-run tests on the main branch (only possible if the last test run was within the past 30 days, risks losing a green tick on the repo homepage)

It costs basically nothing to make these workflows manually triggerable and gives a much nicer solution to the aforementioned problem so I think we should recommend this by default.