File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 77 if : startsWith(github.event.comment.body, '/document')
88 name : document
99 runs-on : macOS-latest
10+ env :
11+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
1012 steps :
1113 - uses : actions/checkout@v2
1214 - uses : r-lib/actions/pr-fetch@master
1921 run : Rscript -e 'roxygen2::roxygenise()'
2022 - name : commit
2123 run : |
24+ git config --local user.email "[email protected] " 25+ git config --local user.name "GitHub Actions"
2226 git add man/\* NAMESPACE
2327 git commit -m 'Document'
2428 - uses : r-lib/actions/pr-push@master
2832 if : startsWith(github.event.comment.body, '/style')
2933 name : style
3034 runs-on : macOS-latest
35+ env :
36+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
3137 steps :
3238 - uses : actions/checkout@v2
3339 - uses : r-lib/actions/pr-fetch@master
@@ -40,13 +46,10 @@ jobs:
4046 run : Rscript -e 'styler::style_pkg()'
4147 - name : commit
4248 run : |
49+ git config --local user.email "[email protected] " 50+ git config --local user.name "GitHub Actions"
4351 git add \*.R
4452 git commit -m 'Style'
4553 - uses : r-lib/actions/pr-push@master
4654 with :
4755 repo-token : ${{ secrets.GITHUB_TOKEN }}
48- # A mock job just to ensure we have a successful build status
49- finish :
50- runs-on : ubuntu-latest
51- steps :
52- - run : true
You can’t perform that action at this time.
0 commit comments