Skip to content

fix: trigger on push to master as well #42

fix: trigger on push to master as well

fix: trigger on push to master as well #42

name: Version bump
on:
pull_request:
types:
- closed
branches: ["develop"]
jobs:
bump-version:
if: github.event.pull_request.merged == true
name: Bump the version
permissions:
contents: write
runs-on: ubuntu-latest #self-hosted
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Automated Version Bump
uses: phips28/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version-type: 'patch'
target-branch: 'develop'
commit-message: 'CI: bumped version to {{version}} because a pull request was merged into develop'