Skip to content

Commit

Permalink
add more github actions thanks to {ghactions4r}
Browse files Browse the repository at this point in the history
  • Loading branch information
iantaylor-NOAA committed May 30, 2024
1 parent bb74e3b commit 23ceaa8
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.html
*.rds
17 changes: 17 additions & 0 deletions .github/workflows/call-style-description.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# use usethis::use_tidy_description() to style DESCRIPTION file and open any
# changes as a pull request to the branch that started the workflow
name: call-style-description
# on specifies the build triggers. See more info at
# https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows
on:
# workflow_dispatch allows for pushing a button to run the workflow manually
# push runs the workflow on branches listed in square brackets
# uncomment the following line to add manual capabilities
#workflow_dispatch:
push:
branches: [main, master]
paths:
- 'DESCRIPTION'
jobs:
call-workflow:
uses: nmfs-fish-tools/ghactions4r/.github/workflows/style-description.yml@main
12 changes: 12 additions & 0 deletions .github/workflows/call-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# use styler::style_active_package() to style code and open any changes as a pull request to the branch that started the workflow
name: call-style
# on specifies the build triggers. See more info at https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows
on:
# workflow_dispatch requires pushing a button to run the workflow manually. uncomment the following line to add:
#workflow_dispatch:
# Runs the workflow on each push to the main or master branch:
push:
branches: [main, master]
jobs:
call-workflow:
uses: nmfs-fish-tools/ghactions4r/.github/workflows/style-r-code.yml@main
11 changes: 11 additions & 0 deletions .github/workflows/call-update-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# run devtools::document and open any changes as a pull request to the branch that started the workflow
name: call-update-docs
on:
# workflow_dispatch requires pushing a button to run the workflow manually. uncomment the following line to add:
#workflow_dispatch:
# Runs the workflow on each push to the main or master branch:
push:
branches: [main, master]
jobs:
call-workflow:
uses: nmfs-fish-tools/ghactions4r/.github/workflows/update-roxygen-docs.yml@main
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ AgeingError
* Software to estimate ageing error given double-reads of hard structures (e.g., otoliths)

<!-- badges: start -->
[![R build status](https://github.com/pfmc-assessments/AgeingError/workflows/R-CMD-check/badge.svg)](https://github.com/pfmc-assessments/AgeingError/actions)
[![call-r-cmd-check](https://github.com/r4ss/r4ss/actions/workflows/call-r-cmd-check.yml/badge.svg)](https://github.com/r4ss/r4ss/actions/workflows/call-r-cmd-check.yml)
<!-- badges: end -->

Instructions
Expand Down

0 comments on commit 23ceaa8

Please sign in to comment.