From 500392c229d859151a32b2f8c3750bfe27355485 Mon Sep 17 00:00:00 2001 From: Kathryn Doering Date: Mon, 15 Jul 2024 08:32:30 -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 | 10 ++++++++++ .github/workflows/call-update-docs.yml | 11 ----------- 2 files changed, 10 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..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