Skip to content

Commit 9bb76f3

Browse files
committed
Allow empty commits to avoid errors when testing existing refs
1 parent 642ad2c commit 9bb76f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-self.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
git config --global push.autoSetupRemote true
6161
git add .github/workflows/*.yml
6262
git status -vv
63-
git commit -m "Test $WORKFLOW_SHORT_LINK" -m "Test $WORKFLOW_FULL_LINK"
63+
git commit --allow-empty -m "Test $WORKFLOW_SHORT_LINK" -m "Test $WORKFLOW_FULL_LINK"
6464
git push -f
6565
echo "CALLER_SHA=$(git log -n 1 --format='%H')" >> $GITHUB_ENV
6666
- name: Show link to access caller workflow runs

0 commit comments

Comments
 (0)