risu729 / dotfiles

Risu's dotfiles for Windows 11 and WSL 2
MIT License
0 stars 0 forks source link

PR is automerged even some check fails #279

Closed risu729 closed 1 month ago

risu729 commented 1 month ago

When a job fails, any jobs that depend on the failed job are skipped and do not report a failure. A pull request that requires the check may not be blocked. To use a required check on a job that depends on other jobs, use the always() conditional expression in addition to needs, see "Using jobs in a workflow." https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks

Because of this, the status check is treated as a success even if some dependent job fails.