Skip to content

Rendered help files. #178

Rendered help files.

Rendered help files. #178

Workflow file for this run

on:
push:
branches: [main, master]
name: Package style
jobs:
style:
name: style
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- name: Install styler
run: Rscript -e 'install.packages("styler")'
- name: Style
run: Rscript -e 'styler::style_pkg()'
- name: commit
run: |
git config --local user.email "oelschlaeger.lennart@gmail.com"
git config --local user.name "Lennart Oelschläger"
git add .
git commit -m 'Styled package :pencil:' || echo "No changes to commit"
git push origin || echo "No changes to commit"