Automatically bump version #190
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
name: Automatically bump version | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0,6,12,18 * * *" | |
pull_request: | |
branches: [ "master" ] | |
push: | |
branches: | |
- master | |
concurrency: | |
group: "bump" | |
cancel-in-progress: true | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
jobs: | |
bump-version: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Bump version | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
git config --global user.name "Github Action Automation" | |
git config --global user.email "nsg@users.noreply.github.com" | |
./auto-bump.sh |