Files
ubicloud/.github/workflows/trigger-e2e.yml
Enes Cakir c1c22487d6 Add a workflow to trigger E2E tests with the "/run-e2e" command
Currently, to trigger E2E tests, we need to open the workflow page on
the GitHub UI, select a branch, and run the tests. There's a more
developer-friendly way to do this. We can easily add support for the
`/run-e2e` command using GitHub Actions workflows. When you run
`/run-e2e` on a pull request, it triggers E2E tests for that PR. You can
also pass specific test cases with `/run-e2e
vm,github_runner_ubuntu_2404`.

It only accepts comments from contributors, similar to the E2E test
trigger.

Since "issue_comment" event doesn't have pull request head ref, we get
it from API.

Additionally, we can add a check to this workflow to trigger E2E tests
if there are any code changes in the `rhizome` path.
2025-06-11 14:48:01 +03:00

2.3 KiB