Skip to content

Commit

Permalink
Merge pull request #3 from Boehringer-Ingelheim/shared_template
Browse files Browse the repository at this point in the history
Shared template
  • Loading branch information
sorinvoicu authored Feb 29, 2024
2 parents b3cd3eb + 7e13e0f commit ed38be9
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/shared_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Checks 🧩

on:
workflow_call:

jobs:
check-test:
name: Check 📦
uses: boehringer-ingelheim/dv.templates/.github/workflows/check.yml@main

lintr:
name: Lintr 🔍
uses: boehringer-ingelheim/dv.templates/.github/workflows/lintr.yml@main
with:
lintr-error-on-lint: true

gitleaks:
name: Gitleaks 🌧️
uses: boehringer-ingelheim/dv.templates/.github/workflows/gitleaks.yml@main

roxygen:
name: Roxygen 📄
uses: boehringer-ingelheim/dv.templates/.github/workflows/roxygen.yml@main

pkgdown:
name: Pkgdown 📖
uses: boehringer-ingelheim/dv.templates/.github/workflows/pkgdown.yml@main

links:
name: Check URLs 🌐
uses: boehringer-ingelheim/dv.templates/.github/workflows/links.yml@main
6 changes: 5 additions & 1 deletion workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ Uses [`roxygen`](https://roxygen2.r-lib.org/) to generate `.Rd` files in the

### [`links.yml`](https://github.com/boehringer-ingelheim/dv.templates/blob/main/.github/workflows/links.yml)

Checks for broken links inside the repo.
Checks for broken links inside the repository.

### [`shared_ci.yml`](https://github.com/boehringer-ingelheim/dv.templates/blob/main/.github/workflows/shared_ci.yml)

Builds a reusable workflow to be called from other repositories.

Example configuration for `main` branch:

Expand Down

0 comments on commit ed38be9

Please sign in to comment.