autoimport #97
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: push | |
name: Update dev version | |
jobs: | |
update_version: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
install-r: false | |
- name: Update version | |
run: | | |
install.packages("desc") | |
desc::desc_bump_version("dev") | |
shell: Rscript {0} | |
- name: Commit the version change | |
uses: EndBug/[email protected] | |
with: | |
default_author: github_actions | |
message: 'Update dev version (Github Actions)' |