debug #28
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: 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' |