Skip to content

Commit

Permalink
Workflow propagations (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif committed Jun 29, 2023
1 parent 905a260 commit 8d08443
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ For new feature requests, please elaborate on the context and the benefit the fe

## Pull requests

### Github Flow
### GitHub Flow

This repository uses the [Github Flow](https://docs.github.com/en/get-started/quickstart/github-flow) model for collaboration. To submit a pull request:
This repository uses the [GitHub Flow](https://docs.github.com/en/get-started/quickstart/github-flow) model for collaboration. To submit a pull request:

1. Create a branch

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
additional-r-cmd-check-params: --as-cran
enforce-note-blocklist: true
note-blocklist: |
checking dependencies in R code ... NOTE
checking R code for possible problems ... NOTE
checking examples ... NOTE
checking Rd line widths ... NOTE
checking dependencies in R code .* NOTE
checking R code for possible problems .* NOTE
checking examples .* NOTE
checking Rd line widths .* NOTE
unit-test-report-brand: >-
https://raw.githubusercontent.com/insightsengineering/hex-stickers/main/thumbs/tern.png
coverage:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main
paths:
- "inst/templates/**"
- "_pkgdown.y[a]ml"
- "_pkgdown.*"
- DESCRIPTION
- "**.md"
- "**.Rmd"
Expand All @@ -24,7 +24,7 @@ on:
- main
paths:
- "inst/templates/**"
- "_pkgdown.y[a]ml"
- "_pkgdown.*"
- DESCRIPTION
- "**.md"
- "**.Rmd"
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/post-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Post release ✨

on:
release:
types: ["released"]

jobs:
vbump:
name: Version Bump 🤜🤛
uses: insightsengineering/r.pkg.template/.github/workflows/version-bump.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
vbump-after-release: true
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
release:
name: Create release 🎉
uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main
permissions:
contents: write
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
r-cmd:
name: R CMD Check 🧬
needs: [release, docs]
Expand All @@ -48,10 +48,10 @@ jobs:
additional-r-cmd-check-params: --as-cran
enforce-note-blocklist: true
note-blocklist: |
checking dependencies in R code ... NOTE
checking R code for possible problems ... NOTE
checking examples ... NOTE
checking Rd line widths ... NOTE
checking dependencies in R code .* NOTE
checking R code for possible problems .* NOTE
checking examples .* NOTE
checking Rd line widths .* NOTE
unit-test-report-brand: >-
https://raw.githubusercontent.com/insightsengineering/hex-stickers/main/thumbs/tern.png
coverage:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Integration Tests 🧪
name: Scheduled 🕰️

on:
schedule:
Expand All @@ -19,3 +19,10 @@ jobs:
GCHAT_WEBHOOK: ${{ secrets.GCHAT_WEBHOOK }}
with:
strategy: ${{ matrix.test-strategy }}
additional-env-vars: |
PKG_SYSREQS_DRY_RUN=true
branch-cleanup:
name: Branch Cleanup 🧹
uses: insightsengineering/r.pkg.template/.github/workflows/branch-cleanup.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}

0 comments on commit 8d08443

Please sign in to comment.