File tree Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 6565 uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main
6666 secrets:
6767 REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
68+ with:
69+ additional-env-vars: |
70+ NOT_CRAN=true
6871 linter:
6972 if: github.event_name != 'push'
7073 name: SuperLinter 🦸♀️
Original file line number Diff line number Diff line change 5252 uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main
5353 secrets:
5454 REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
55+ with:
56+ additional-env-vars: |
57+ NOT_CRAN=true
5558 wasm:
5659 name: Build WASM packages 🧑🏭
5760 needs: release
Original file line number Diff line number Diff line change 55 schedule:
66 - cron: '45 3 * * 0'
77 workflow_dispatch:
8+ inputs:
9+ chosen-workflow:
10+ description: |
11+ Select which workflow you'd like to run
12+ required: true
13+ type: choice
14+ default: rhub
15+ options:
16+ - rhub
17+ - dependency-test
18+ - branch-cleanup
19+ - revdepcheck
820
921jobs:
1022 dependency-test:
23+ if: >
24+ github.event_name == 'schedule' || (
25+ github.event_name == 'workflow_dispatch' &&
26+ inputs.chosen-workflow == 'dependency-test'
27+ )
1128 strategy:
1229 fail-fast: false
1330 matrix:
@@ -22,13 +39,28 @@ jobs:
2239 additional-env-vars: |
2340 PKG_SYSREQS_DRY_RUN=true
2441 branch-cleanup:
42+ if: >
43+ github.event_name == 'schedule' || (
44+ github.event_name == 'workflow_dispatch' &&
45+ inputs.chosen-workflow == 'branch-cleanup'
46+ )
2547 name: Branch Cleanup 🧹
2648 uses: insightsengineering/r.pkg.template/.github/workflows/branch-cleanup.yaml@main
2749 secrets:
2850 REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
2951 revdepcheck:
52+ if: >
53+ github.event_name == 'schedule' || (
54+ github.event_name == 'workflow_dispatch' &&
55+ inputs.chosen-workflow == 'revdepcheck'
56+ )
3057 name: revdepcheck ↩️
3158 uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main
3259 rhub:
60+ if: >
61+ github.event_name == 'schedule' || (
62+ github.event_name == 'workflow_dispatch' &&
63+ inputs.chosen-workflow == 'rhub'
64+ )
3365 name: R-hub 🌐
3466 uses: insightsengineering/r.pkg.template/.github/workflows/rhub.yaml@main
You can’t perform that action at this time.
0 commit comments