diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e5c1e82a..7822bab8 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -110,8 +110,10 @@ jobs: repo: context.repo.repo, ref: context.payload.after }); - for (let run of commit.data.check_runs) { - if (run.html_url.search(`/${context.runId}/`) >= 0 && run.conclusion === 'failure') { - process.exit(1); + if (commit.status !== 422) { + for (let run of commit.data.check_runs) { + if (run.html_url.search(`/${context.runId}/`) >= 0 && run.conclusion === 'failure') { + process.exit(1); + } } }