File tree Expand file tree Collapse file tree 5 files changed +8
-30
lines changed Expand file tree Collapse file tree 5 files changed +8
-30
lines changed Original file line number Diff line number Diff line change 34
34
- {os: ubuntu-18.04, r: 'oldrel-1'}
35
35
- {os: ubuntu-18.04, r: 'oldrel-2'}
36
36
- {os: ubuntu-18.04, r: 'oldrel-3'}
37
+ - {os: ubuntu-18.04, r: 'oldrel-4'}
37
38
38
39
env :
39
40
GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
55
56
extra-packages : rcmdcheck
56
57
57
58
- uses : r-lib/actions/check-r-package@v1
58
-
59
- - name : Show testthat output
60
- if : always()
61
- run : find check -name 'testthat.Rout*' -exec cat '{}' \; || true
62
- shell : bash
63
-
64
- - name : Upload check results
65
- if : failure()
66
- uses : actions/upload-artifact@main
67
- with :
68
- name : ${{ runner.os }}-r${{ matrix.config.r }}-results
69
- path : check
Original file line number Diff line number Diff line change 1
1
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
2
2
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3
- # Add Config/Needs/website: tidyverse/tidytemplate to DESCRIPTION
4
3
on :
5
4
push :
6
5
branches : [main, master]
7
- tags : ['*']
8
- pull_request :
9
- branches : [main, master]
6
+ release :
7
+ types : [published]
8
+ workflow_dispatch :
10
9
11
10
name : pkgdown
12
11
29
28
extra-packages : pkgdown
30
29
needs : website
31
30
32
- - name : Install package
33
- run : R CMD INSTALL .
34
-
35
- - name : Build site
36
- if : github.event_name == 'pull_request'
37
- run : |
38
- Rscript -e 'pkgdown::build_site()'
39
-
40
31
- name : Deploy package
41
- if : github.event_name == 'push'
42
32
run : |
43
33
git config --local user.name "$GITHUB_ACTOR"
44
34
git config --local user.email "[email protected] "
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ name: Commands
8
8
9
9
jobs :
10
10
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') }}
12
12
name : document
13
13
runs-on : ubuntu-latest
14
14
env :
43
43
repo-token : ${{ secrets.GITHUB_TOKEN }}
44
44
45
45
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') }}
47
47
name : style
48
48
runs-on : ubuntu-latest
49
49
env :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ library(dplyr)
9
9
library(modeldb)
10
10
```
11
11
12
- [ ![ R build status ] ( https://github.com/tidymodels/modeldb/workflows/R-CMD-check/badge.svg )] ( https://github.com/tidymodels/modeldb/actions )
12
+ [ ![ R-CMD-check ] ( https://github.com/tidymodels/modeldb/workflows/R-CMD-check/badge.svg )] ( https://github.com/tidymodels/modeldb/actions )
13
13
[ ![ CRAN_Status_Badge] ( http://www.r-pkg.org/badges/version/modeldb )] ( https://CRAN.R-project.org/package=modeldb )
14
14
[ ![ Codecov test coverage] ( https://codecov.io/gh/tidymodels/modeldb/branch/main/graph/badge.svg )] ( https://app.codecov.io/gh/tidymodels/modeldb?branch=main )
15
15
[ ![ Downloads] ( http://cranlogs.r-pkg.org/badges/modeldb )] ( https://CRAN.R-project.org/package=modeldb )
Original file line number Diff line number Diff line change 1
1
2
2
# modeldb <img src =" man/figures/logo.png " align =" right " alt =" " width =" 120 " />
3
3
4
- [ ![ R build
5
- status] ( https://github.com/tidymodels/modeldb/workflows/R-CMD-check/badge.svg )] ( https://github.com/tidymodels/modeldb/actions )
4
+ [ ![ R-CMD-check] ( https://github.com/tidymodels/modeldb/workflows/R-CMD-check/badge.svg )] ( https://github.com/tidymodels/modeldb/actions )
6
5
[ ![ CRAN_Status_Badge] ( http://www.r-pkg.org/badges/version/modeldb )] ( https://CRAN.R-project.org/package=modeldb )
7
6
[ ![ Codecov test
8
7
coverage] ( https://codecov.io/gh/tidymodels/modeldb/branch/main/graph/badge.svg )] ( https://app.codecov.io/gh/tidymodels/modeldb?branch=main )
You can’t perform that action at this time.
0 commit comments