From 38945e4ecd628fffd1d2afd695ea454ac04b4013 Mon Sep 17 00:00:00 2001 From: Kathryn Doering Date: Mon, 15 Jul 2024 08:38:38 -0700 Subject: [PATCH] replace update-docs with doc and style workflow update-docs only will soon be deprecated by https://github.com/nmfs-fish-tools/ghactions4r/pull/131 --- .github/workflows/call-doc-and-style-r.yml | 12 ++++++++++++ .github/workflows/call-update-docs.yml | 11 ----------- 2 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/call-doc-and-style-r.yml delete mode 100644 .github/workflows/call-update-docs.yml 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..cca942d --- /dev/null +++ b/.github/workflows/call-doc-and-style-r.yml @@ -0,0 +1,12 @@ +# 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: + # workflow_dispatch requires pushing a button to run the workflow manually. uncomment the following line to add: + workflow_dispatch: + push: + branches: [main] +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 0d9d904..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