Skip to content

Conversation

@billyvg
Copy link
Member

@billyvg billyvg commented Oct 6, 2021

Previously we were skipping the job if relevant files were not changed. On GitHub we have to specify the exact job name for the "required" checks. However, when the job has a matrix, it will append the matrix value to the job name. And if you skip a job, the matrix application is skipped, so it will never add the matrix value to the job name. Thus, we could not make this job required as it would never satisfy the checks if the job were skipped.

As a hack, we have to skip each individual step in the job.

Previously we were skipping the job if relevant files were not changed. On GitHub we have to specify the exact job name for the "required" checks. However, when the job has a matrix, it will append the matrix value to the job name. And if you skip a job, the matrix application is skipped, so it will never add the matrix value to the job name. Thus, we could not make this job required as it would never satisfy the checks if the job were skipped.

As a hack, we have to skip each individual step in the job.
@billyvg
Copy link
Member Author

billyvg commented Oct 6, 2021

This didn't skip because we modified the workflow.

@billyvg billyvg merged commit 37c25e2 into master Oct 6, 2021
@billyvg billyvg deleted the build/ci/fix-check-migration-for-matrix branch October 6, 2021 20:29
@github-actions github-actions bot locked and limited conversation to collaborators Oct 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants