Skip to content

Trigger workflows on label - #7185

Draft
gassmoeller wants to merge 2 commits into
geodynamics:mainfrom
gassmoeller:trigger_workflows_on_label
Draft

Trigger workflows on label#7185
gassmoeller wants to merge 2 commits into
geodynamics:mainfrom
gassmoeller:trigger_workflows_on_label

Conversation

@gassmoeller

Copy link
Copy Markdown
Member

This is an extension of 7184 that immediately triggers a tester run if the label 'ready to test' is added to a PR. This should mostly get rid of the need to manually call '/rebuild'.

#7184 needs to be merged first.

@gassmoeller

Copy link
Copy Markdown
Member Author

I just tested that it works. Initially the tests workflow was skipped by the tester. Then when I added the label, the tests were automatically started.

@tjhei tjhei left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commit 2 makes total sense

If you add another label now (like "bug") it doesn't seem to trigger it, so this works as well.

@tjhei tjhei added the bug label Jul 28, 2026
@gassmoeller

Copy link
Copy Markdown
Member Author

Yes, but unfortunately we noticed that now the test status will switch to 'skipped' if another label is added or removed, so this does not really work either. I am experimenting with setting up a lightweight 'dispatcher' workflow that only triggers the tests if they should actually run.

@gassmoeller

Copy link
Copy Markdown
Member Author

I will have to think more about this tomorrow.

@tjhei
tjhei marked this pull request as draft July 29, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants