Skip to content

Commit 3d1284e

Browse files
committed
Update docs with pkgdev
1 parent 535b235 commit 3d1284e

15 files changed

+42
-125
lines changed

.Rbuildignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
^pkgdown\.yaml$
2323
^pkgdown\.yml$
2424
^\.imgbotconfig$
25-
^dev$
2625
^vignettes/dev$
2726
^\.lintr$
2827
^CODE_OF_CONDUCT\.md$
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ on:
2323
- master
2424
schedule:
2525
- cron: "31 18 * * 2"
26+
workflow_run:
27+
workflows: [update-docs]
28+
types: completed
29+
branches: [main, master]
2630

2731
permissions:
2832
contents: read
@@ -36,6 +40,9 @@ jobs:
3640
lintr:
3741
name: Run lintr scanning
3842
runs-on: ubuntu-latest
43+
if: >
44+
github.event_name != 'workflow_run' ||
45+
github.event.workflow_run.conclusion == 'success'
3946
permissions:
4047
contents: read
4148
security-events: write

.github/workflows/rhub.yaml

Lines changed: 0 additions & 108 deletions
This file was deleted.

.github/workflows/roscron-check-standard.yaml renamed to .github/workflows/roscron-check-standard.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ jobs:
5757

5858
- uses: r-lib/actions/setup-r-dependencies@v2
5959
with:
60-
extra-packages: any::rcmdcheck
60+
extra-packages: |
61+
local::.
62+
any::rcmdcheck
6163
needs: check
6264

6365
- uses: r-lib/actions/check-r-package@v2

.github/workflows/rostemplate-gh-pages.yaml renamed to .github/workflows/rostemplate-gh-pages.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ on:
77
schedule:
88
- cron: "28 16 19 * *"
99
workflow_dispatch:
10-
10+
workflow_run:
11+
workflows: [update-docs]
12+
types: completed
13+
branches: [main, master, release]
1114

1215
name: rostemplate-gh-pages
1316
permissions: write-all
@@ -19,6 +22,9 @@ concurrency:
1922
jobs:
2023
rostemplate-gh-pages:
2124
runs-on: windows-latest
25+
if: >
26+
github.event_name != 'workflow_run' ||
27+
github.event.workflow_run.conclusion == 'success'
2228
env:
2329
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2430

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ on:
44
push:
55
branches: [main, master]
66
pull_request:
7-
7+
workflow_run:
8+
workflows: [update-docs]
9+
types: completed
10+
branches: [main, master]
811

912
name: test-coverage
1013

@@ -17,6 +20,9 @@ concurrency:
1720
jobs:
1821
test-coverage:
1922
runs-on: windows-latest
23+
if: >
24+
github.event_name != 'workflow_run' ||
25+
github.event.workflow_run.conclusion == 'success'
2026
env:
2127
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2228
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)