Skip to content

Commit 6d49d70

Browse files
committed
[CI] Fix early exit in rebaseline-tests.yml. NFC
1 parent b8b827a commit 6d49d70

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/rebaseline-tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,14 @@ jobs:
4242
./bootstrap
4343
if ./tools/maint/rebaseline_tests.py; then
4444
echo "rebaseline_tests returned zero, expectations up-to-date"
45+
# Exit early and don't create a PR
4546
exit 0
4647
fi
4748
code=$?
4849
if [[ $code != 2 ]] ; then
4950
echo "rebaseline_tests.py failed with unexpected error $code"
5051
exit 1
5152
fi
52-
- name: Create PR
53-
run: |
5453
git push origin testing
5554
gh pr create --fill --base ${{ github.ref_name }}
5655
gh pr merge --squash --auto

0 commit comments

Comments
 (0)