Add branching of targets pipeline #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [main, stage, dev] | |
pull_request: | |
branches: [main, stage, dev] | |
workflow_dispatch: | |
name: Check | |
jobs: | |
audit: | |
name: Audit Dependencies π΅οΈββοΈ | |
uses: insightsengineering/r.pkg.template/.github/workflows/audit.yaml@main | |
licenses: | |
name: License Check π | |
uses: insightsengineering/r.pkg.template/.github/workflows/licenses.yaml@main | |
check-reuse: | |
name: RMD check π¦ | |
uses: ./.github/workflows/R-CMD-check.yaml | |
test: | |
name: Test π§ͺ | |
uses: ./.github/workflows/Test.yaml | |
gitleaks: | |
name: gitleaks π§ | |
uses: insightsengineering/r.pkg.template/.github/workflows/gitleaks.yaml@main | |
with: | |
check-for-pii: true | |
vbump: | |
name: Version Bump π€π€ | |
if: github.event_name == 'push' && github.ref != 'refs/heads/main' | |
uses: insightsengineering/r.pkg.template/.github/workflows/version-bump.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# roxygen: | |
# name: Roxygen π¦ | |
# uses: ./.github/workflows/Roxygen.yaml | |