File tree Expand file tree Collapse file tree 4 files changed +20
-42
lines changed
Expand file tree Collapse file tree 4 files changed +20
-42
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,30 @@ name: Main-Workflow
22
33on :
44 push :
5- branches : [main]
5+ branches : [main, develop ]
66 pull_request :
7- workflow_dispatch :
8-
9- permissions : write-all
107
8+ permissions :
9+ contents : write
10+ packages : read
11+
1112jobs :
13+ bump-dev-version : # only do that when actually merging in main/develop branch
14+ if : github.event_name != 'pull_request'
15+ uses : Open-Systems-Pharmacology/Workflows/.github/workflows/bump_dev_version_tag_branch.yaml@main
16+ with :
17+ app-id : ${{ vars.VERSION_BUMPER_APPID }}
18+ secrets :
19+ private-key : ${{ secrets.VERSION_BUMPER_SECRET }}
20+
1221 R-CMD-Check :
22+ needs : bump-dev-version
1323 if : ${{ !cancelled() }}
24+ permissions : read-all
1425 uses : Open-Systems-Pharmacology/Workflows/.github/workflows/R-CMD-check-build.yaml@main
1526
16- test-coverage :
27+ pkgdown :
28+ needs : bump-dev-version
1729 if : ${{ !cancelled() }}
18- uses : Open-Systems-Pharmacology/Workflows/.github/workflows/test-coverage.yaml@main
19- secrets :
20- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
30+ uses : Open-Systems-Pharmacology/Workflows/.github/workflows/pkgdown.yaml@main
31+
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ template:
44 bootstrap : 5
55
66development :
7- mode : !expr Sys.getenv('PKGDOWN_MODE')
7+ mode : auto
88
99
1010reference :
You can’t perform that action at this time.
0 commit comments