Skip to content

Commit d3070f3

Browse files
Github action fixes (#328)
* update ghaction for r cmd check add quarto, update permissions, add manual build trigger * remove tests from r build ignore
1 parent e8481b6 commit d3070f3

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

.Rbuildignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@
1313
^inst/glossary/raw_acronym_lists$
1414
^\.octocov\.yml$
1515
^\.devcontainer$
16-
^tests$

.github/workflows/call-r-cmd-check.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,21 @@ name: call-r-cmd-check
44
on:
55
# The default build trigger is to run the action on every push and pull request, for any branch
66
push:
7-
branches: [main, master]
7+
branches: [main]
88
pull_request:
9-
branches: [main, master]
9+
branches: [main]
10+
workflow_dispatch:
1011
# To run the default repository branch weekly on sunday, uncomment the following 2 lines
1112
#schedule:
1213
#- cron: '0 0 * * 0'
14+
15+
# no permissions are needed by the default github token for this workflow to
16+
# run, so don't pass any.
17+
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token
18+
permissions: {}
19+
1320
jobs:
1421
call-workflow:
1522
uses: nmfs-ost/ghactions4r/.github/workflows/r-cmd-check.yml@main
23+
with:
24+
depends_on_quarto: true

0 commit comments

Comments
 (0)