* Fix version bump not obeying merge commit message * Test the fix to bump-version * Fix reference to specific tag of github-tag-action * Dummy patch commit #patch * Clean up testing of bump-version
24 lines
641 B
YAML
24 lines
641 B
YAML
# This workflow will tag the merge commit when merging a PR into the master branch.
|
|
# Add "#patch", "#minor", or "#major" at end of the merge commit subject to dictate the type of bump.
|
|
|
|
name: Bump version
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
fetch-depth: '0'
|
|
|
|
- name: Bump version and push tag
|
|
uses: anothrNick/github-tag-action@1.55.0
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
WITH_V: true
|
|
BRANCH_HISTORY: last |