Skip to content

Commit

Permalink
Added a GitHub Workflow to auto-tag commits (#156)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Helma <[email protected]>
  • Loading branch information
chelma authored Jan 18, 2024
1 parent 1c851b5 commit 46c2b8b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/auto_tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Bump version
on:
pull_request:
types:
- closed
branches:
- main-test

jobs:
build:
if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
fetch-depth: '0'

- name: Bump version and push tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: minor
WITH_V: true

0 comments on commit 46c2b8b

Please sign in to comment.