File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change 5656 extra-packages : rcmdcheck
5757
5858 - uses : r-lib/actions/check-r-package@v1
59-
60- - name : Show testthat output
61- if : always()
62- run : find check -name 'testthat.Rout*' -exec cat '{}' \; || true
63- shell : bash
64-
65- - name : Upload check results
66- if : failure()
67- uses : actions/upload-artifact@main
68- with :
69- name : ${{ runner.os }}-r${{ matrix.config.r }}-results
70- path : check
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ name: Commands
88
99jobs :
1010 document :
11- if : startsWith(github.event.comment.body, '/document')
11+ if : ${{ github.event.issue.pull_request && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER') && startsWith(github.event.comment.body, '/document') }}
1212 name : document
1313 runs-on : ubuntu-latest
1414 env :
4343 repo-token : ${{ secrets.GITHUB_TOKEN }}
4444
4545 style :
46- if : startsWith(github.event.comment.body, '/style')
46+ if : ${{ github.event.issue.pull_request && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER') && startsWith(github.event.comment.body, '/style') }}
4747 name : style
4848 runs-on : ubuntu-latest
4949 env :
You can’t perform that action at this time.
0 commit comments