Skip to content

Commit 48067b7

Browse files
committed
Update GHA
1 parent 54260b3 commit 48067b7

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,3 @@ jobs:
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

.github/workflows/pr-commands.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name: Commands
88

99
jobs:
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:
@@ -43,7 +43,7 @@ jobs:
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:

0 commit comments

Comments
 (0)