Skip to content

Commit a2e08e9

Browse files
committed
github/workflows/scheduled-unit-tests: allow running via workflow_dispatch
This allows us to manually trigger the workflow via the web interface, the API or the GitHub cli tool: $ gh workflow run build --ref master This does not benefit us too much right now, but it will once this change makes it into stable branches. Then we can trigger runs for these stable branches from a job on the master branch using e.g.: $ gh workflow run build --ref stable-25.0 This is required because scheduled runs are only executed for the main branch of a repository. This is how we run scheduled tests for the different yocto version branches in meta-labgrid[1]. [1]: https://github.com/labgrid-project/meta-labgrid/ Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
1 parent 1da3afa commit a2e08e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/scheduled-unit-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: scheduled unit tests
33
on:
44
schedule:
55
- cron: '10 8 * * *'
6+
workflow_dispatch:
67

78
jobs:
89
scheduled-unit-tests:

0 commit comments

Comments
 (0)