Skip to content

Commit

Permalink
fix: commit all changed files by document workflow (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpprdan authored Apr 1, 2023
1 parent 4a9a68f commit c4d9579
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,6 @@ branch.
on:
push:
paths: ["R/**"]
pull_request:
paths: ["R/**"]
name: Document
Expand Down Expand Up @@ -604,7 +602,7 @@ jobs:
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
git add man/\* NAMESPACE
git add man/\* NAMESPACE DESCRIPTION
git commit -m "Update documentation" || echo "No changes to commit"
git pull --ff-only
git push origin
Expand Down
2 changes: 1 addition & 1 deletion examples/document.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
git add man/\* NAMESPACE
git add man/\* NAMESPACE DESCRIPTION
git commit -m "Update documentation" || echo "No changes to commit"
git pull --ff-only
git push origin

0 comments on commit c4d9579

Please sign in to comment.