Skip to content

Merge pull request #13 from braxtons12/add_missing_include_to_main #25

Merge pull request #13 from braxtons12/add_missing_include_to_main

Merge pull request #13 from braxtons12/add_missing_include_to_main #25

name: Update Version
on:
push:
branches:
- main
tags:
- 'v*.*.*'
pull_request:
types:
- labeled
jobs:
update_version:
if: github.event.action != 'labeled'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: bumpr
if: "!startsWith(github.ref, 'refs/tags/')"
uses: haya14busa/action-bumpr@v1
# Update corresponding major and minor tag.
# e.g. Update v1 and v1.2 when releasing v1.2.3
- uses: haya14busa/action-update-semver@v1
if: "!steps.bumpr.outputs.skip"
with:
github_token: ${{ secrets.github_token }}
tag: ${{ steps.bumpr.outputs.next_version }}
update_versioning_check:
if: github.event.action == 'labeled'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Post bumpr status comment
uses: haya14busa/action-bumpr@v1