Skip to content

style and docs: run devtools::document() and styler::style_pkg() #238

style and docs: run devtools::document() and styler::style_pkg()

style and docs: run devtools::document() and styler::style_pkg() #238

# document and style using reusable workflow
# This workflow runs devtools::document and styler::style_active_package(), then opens a pull request to the branch
# That started the workflow with the changes
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:
# Runs the workflow on each push to the main or master branch:
push:
branches:
- main
jobs:
call-workflow:
uses: nmfs-fish-tools/ghactions4r/.github/workflows/doc-and-style-r.yml@main
secrets:
PAT: ${{ secrets.PAT }}