From 0811b00333b72197f148e28aa54970900eb4c5df Mon Sep 17 00:00:00 2001 From: Kathryn Doering Date: Mon, 15 Jul 2024 08:27:11 -0700 Subject: [PATCH] replace style workflow with doc and style style only will soon be deprecated: https://github.com/nmfs-fish-tools/ghactions4r/pull/131 --- .github/workflows/call-doc-and-style-r.yml | 10 ++++++++++ .github/workflows/call-style.yml | 12 ------------ 2 files changed, 10 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/call-doc-and-style-r.yml delete mode 100644 .github/workflows/call-style.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 00000000..5e73c083 --- /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-style.yml b/.github/workflows/call-style.yml deleted file mode 100644 index 56e00ef2..00000000 --- a/.github/workflows/call-style.yml +++ /dev/null @@ -1,12 +0,0 @@ -# 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