fix(ci): ensure workflow runs when manually run or scheduled

This commit is contained in:
Ashwin Bharambe 2025-07-31 11:54:51 -07:00
parent 27d866795c
commit 5ba25efd54
2 changed files with 6 additions and 0 deletions

View file

@ -53,6 +53,9 @@ concurrency:
jobs:
discover-tests:
if: |
github.event_name == "push" ||
github.event_name == "schedule" ||
github.event_name == "workflow_dispatch" ||
github.event.action == 'opened' ||
github.event.action == 'synchronize' ||
(github.event.action == 'labeled' && contains(github.event.pull_request.labels.*.name, 're-record-tests'))

View file

@ -45,6 +45,9 @@ concurrency:
jobs:
discover-tests:
if: |
github.event_name == "push" ||
github.event_name == "schedule" ||
github.event_name == "workflow_dispatch" ||
github.event.action == 'opened' ||
github.event.action == 'synchronize' ||
(github.event.action == 'labeled' && contains(github.event.pull_request.labels.*.name, 're-record-tests'))