Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@
# of maintenance through personnel turnover.
/.github/workflow-templates/bits-example.yml @broadinstitute/devnull
/.github/workflow-templates/bits-example.properties.json @broadinstitute/devnull
/.github/workflow-templates/bican-mccarroll-r-package.yml @broadinstitute/bican-mccarroll-admin
/.github/workflow-templates/bican-mccarroll-r-package.properties.json @broadinstitute/bican-mccarroll-admin
/.github/workflow-templates/bican-mccarroll-python-package.yml @broadinstitute/bican-mccarroll-admin
/.github/workflow-templates/bican-mccarroll-python-package.properties.json @broadinstitute/bican-mccarroll-admin
/.github/workflow-templates/bican-mccarroll-roxygen.yml @broadinstitute/bican-mccarroll-admin
/.github/workflow-templates/bican-mccarroll-roxygen.properties.json @broadinstitute/bican-mccarroll-admin
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "BICAN McCarroll python package Workflow",
"description": "Invoke the BICAN McCarroll reusable python package CI workflow.",
"categories": [
"Python",
"continuous-integration"
]
}
19 changes: 19 additions & 0 deletions .github/workflow-templates/bican-mccarroll-python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: "Python unit tests for a package"
"on":
push:
branches:
- "$default-branch"
pull_request:
branches:
- "$default-branch"
paths:
- "python/bican_mccarroll_<package_name>/**"


jobs:
call-python-reusable:
uses: "./.github/workflows/python-reusable.yml"
with:
package_name: "<package_name>"
secrets: "inherit"
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "BICAN McCarroll R package Workflow",
"description": "Invoke the BICAN McCarroll reusable R package CI workflow.",
"categories": [
"R",
"continuous-integration"
]
}
23 changes: 23 additions & 0 deletions .github/workflow-templates/bican-mccarroll-r-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures?
# Start at https://github.com/r-lib/actions#where-to-find-help
"on":
push:
branches:
- "$default-branch"
pull_request:
branches:
- "$default-branch"
paths:
- "R/bican.mccarroll.<package_name>/**"

name: "Build and check R package"


jobs:
call-R-reusable:
uses: "./.github/workflows/R-reusable.yml"
with:
package_name: "<package_name>"
secrets: "inherit"
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "BICAN McCarroll Roxygen package Workflow",
"description": "Invoke the BICAN McCarroll reusable R package documentation generation workflow.",
"categories": [
"R",
"continuous-integration"
]
}
23 changes: 23 additions & 0 deletions .github/workflow-templates/bican-mccarroll-roxygen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
# Workflow derived from dplyr/.github/workflows/pr-commands.yaml
# Need help debugging build failures?
# Start at https://github.com/r-lib/actions#where-to-find-help
"on":
issue_comment:
types:
- "created"
paths:
- "R/bican.mccarroll.<package_name>/**"

name: >
Run roxygen2 on an R package and commit changes.
Triggered by a PR comment '/document.<package_name>'

permissions: "write-all"

jobs:
call-roxygen-reusable:
uses: "./.github/workflows/roxygen-reusable.yml"
with:
package_name: "<package_name>"
secrets: "inherit"
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ patterns. To the extent possible, try to make your workflow generalizable:
While we want to keep this repo manageable, we also want to give teams enough
leeway to maintain their own tools without constantly getting in their way. When
adding your workflow template, add both files to
[CODEOWNERS](./.github/CODEOWNERS) along with your team. This way, after the
[CODEOWNERS](https://github.com/broadinstitute/.github/blob/main/.github/CODEOWNERS) along with your team. This way, after the
Comment thread
lihu-zhong marked this conversation as resolved.
initial PR, teams can update and modify their own workflows without waiting on
review from BITS. More details are available in the CODEOWNERS file.