Skip to content

Commit b122baf

Browse files
fix: allow prs with skipped steps (#1264)
1 parent 7bfd928 commit b122baf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/pr-is-mergeable/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ runs:
6464
PR_CHECKS=$(jq -r '.statusCheckRollup' <<< "$PR_JSON")
6565
6666
# check runs are things like our CI pipeline
67-
FAILED_CHECK_RUNS=$(jq -r '.[] | select(.__typename == "CheckRun" and .conclusion != "SUCCESS" and .conclusion != "NEUTRAL")' <<< "$PR_CHECKS")
67+
FAILED_CHECK_RUNS=$(jq -r '.[] | select(.__typename == "CheckRun" and .conclusion != "SUCCESS" and .conclusion != "NEUTRAL" and .conclusion != "SKIPPED")' <<< "$PR_CHECKS")
6868
EXCLUDED_WORKFLOWS=$(jq -r 'keys[]' <<< "${{ inputs.excluded-check-runs }}")
6969
7070
while IFS= read -r EXCLUDED_WORKFLOW; do

0 commit comments

Comments
 (0)