Remove commit-check
Job and Replace With Conditional Job Execution
#69
Labels
commit-check
Job and Replace With Conditional Job Execution
#69
We currently have a
commit-check
job that gets the authour of the currenthead_ref
. This is used by future jobs so that we don't run repro (or indeed other checks) if they were created byvars.GH_ACTIONS_BOT_GIT_USER_NAME
.This can be simplified, and make the job diagram more palatable, by just using conditional job execution on the
repro-ci
job. For example, instead ofif: needs.commit-check.outputs.authourship != vars.GH_ACTIONS_BOT_GIT_USER_NAME
, you can use something likeif: github.event.pull_request.head.user.name != vars.GH_ACTIONS_BOT_GIT_USER_NAME
.The text was updated successfully, but these errors were encountered: