Skip to content

Feature/new feature #30

Feature/new feature

Feature/new feature #30

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'