diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a5881b83e..51fad32d6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -122,6 +122,10 @@ jobs: prnum=$(cat pulls.json | nix run nixpkgs#jq -- .[${X}].number) prref=$(cat pulls.json | nix run nixpkgs#jq -- -r .[${X}].merge_commit_sha) tgt=${TGTBASE}/PR_${prnum} + if [ "X$prref" == "Xnull" ] ; then + echo Skipping PR ${X}: probable unresolved merge conflict + continue + fi echo "Checkout Pull Request ${prnum} at ${prref} into PR_${prnum}" mkdir $tgt # n.b. the switch here is important to make sure the branch is