Skip to content

Commit

Permalink
add echo msg if no changes to commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rrchai committed May 11, 2022
1 parent f803c5b commit 0d7f3ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
git add \*.R
git commit -m 'Github Actions: style'
git commit -m 'Github Actions: style' || echo "No changes to commit"
- uses: r-lib/actions/pr-push@v1
with:
Expand Down

0 comments on commit 0d7f3ba

Please sign in to comment.