Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit cf2ad59

Browse files
authored
Exit with code 0 when nothing to do
Workaround for #14
1 parent f005004 commit cf2ad59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

entrypoint.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
set -e
44

5-
# See: https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/#exit-codes-and-statuses
6-
NEUTRAL_EXIT_CODE=78
5+
# Workaround unitl new Actions support neutral strategy
6+
# See how it was before: https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/#exit-codes-and-statuses
7+
NEUTRAL_EXIT_CODE=0
78

89
# skip if no /rebase
910
echo "Checking if comment contains '/rebase' command..."

0 commit comments

Comments
 (0)