Use actions/[email protected] to mitigate git2r error (#244) #567
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
--- | |
name: Check 🛠 | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- ready_for_review | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
audit: | |
if: github.event_name != 'push' | |
name: Audit Dependencies 🕵️♂️ | |
uses: insightsengineering/r.pkg.template/.github/workflows/audit.yaml@main | |
r-cmd: | |
if: github.event_name != 'push' | |
name: R CMD Check (development) 🧬 | |
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} | |
with: | |
package-subdirectory: package | |
additional-env-vars: | | |
_R_CHECK_CRAN_INCOMING_REMOTE_=false | |
QUARTO_PROFILE=development | |
concurrency-group: development | |
r-cmd-stable: | |
if: github.event_name != 'push' | |
name: R CMD Check (stable) 🧬 | |
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} | |
with: | |
install-deps-from-package-repositories: "R-universe=https://insightsengineering.r-universe.dev/,CRAN=https://cloud.r-project.org/" | |
package-subdirectory: package | |
additional-env-vars: | | |
_R_CHECK_CRAN_INCOMING_REMOTE_=false | |
QUARTO_PROFILE=stable | |
concurrency-group: stable | |
linter: | |
if: github.event_name != 'push' | |
name: SuperLinter 🦸♀️ | |
uses: insightsengineering/r.pkg.template/.github/workflows/linter.yaml@main | |
links: | |
if: github.event_name != 'push' | |
name: Check URLs 🌐 | |
uses: insightsengineering/r.pkg.template/.github/workflows/links.yaml@main | |
vbump: | |
name: Version Bump 🤜🤛 | |
if: github.event_name == 'push' | |
uses: insightsengineering/r.pkg.template/.github/workflows/version-bump.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} | |
with: | |
package-subdirectory: package | |
version: | |
name: Version Check 🏁 | |
uses: insightsengineering/r.pkg.template/.github/workflows/version.yaml@main | |
with: | |
package-subdirectory: package | |
licenses: | |
if: github.event_name != 'push' | |
name: License Check 🃏 | |
uses: insightsengineering/r.pkg.template/.github/workflows/licenses.yaml@main | |
style: | |
if: github.event_name != 'push' | |
name: Style Check 👗 | |
uses: insightsengineering/r.pkg.template/.github/workflows/style.yaml@main | |
with: | |
auto-update: true | |
grammar: | |
if: github.event_name != 'push' | |
name: Grammar Check 🔤 | |
uses: insightsengineering/r.pkg.template/.github/workflows/grammar.yaml@main |