diff --git a/.github/workflows/call-doc-and-style-r.yml b/.github/workflows/call-doc-and-style-r.yml new file mode 100644 index 0000000..5e73c08 --- /dev/null +++ b/.github/workflows/call-doc-and-style-r.yml @@ -0,0 +1,10 @@ +# document and style R code using a reusable workflow +name: call-doc-and-style-r +# on specifies the build triggers. See more info at https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows +on: + push: + branches: [main, master] +jobs: + call-workflow: + uses: nmfs-fish-tools/ghactions4r/.github/workflows/doc-and-style-r.yml@main + diff --git a/.github/workflows/call-update-docs.yml b/.github/workflows/call-update-docs.yml deleted file mode 100644 index e2d83de..0000000 --- a/.github/workflows/call-update-docs.yml +++ /dev/null @@ -1,11 +0,0 @@ -# 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