Skip to content

Commit

Permalink
Corrected if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-rozario authored Apr 27, 2023
1 parent c0b5495 commit 14e9047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ git config --global --add safe.directory /github/workspace
git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"

if (git diff --exit-code --stat); then exit 0; fi
if !(git diff --exit-code --stat); then exit 0; fi

git add -A
git commit -m "Updated $INPUT_PROJECT_NAME requirements file"
Expand Down

0 comments on commit 14e9047

Please sign in to comment.