Skip to content

Github actions and required checks in a monorepo (using paths to limit execution) #26251

Answered by SamChou19815
jondkoon asked this question in Actions
Discussion options

You must be logged in to vote

I used a hack to achieve what you want:
I created another workflow with dummy jobs that have the same names with those required jobs that are not always triggered.
In case the job is triggered and failed, it still still be push blocking according to required check. If it’s not triggered, then the dummy job will always succeed and unblocks the push.
I hope GitHub can build some native solution for this.

Replies: 14 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@TWiStErRob
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@danielnginx
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mistercrunch
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet