Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/auto_update_version.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: Update PrintVersion on release branch creation

on:
create:
branches:
- "release/*"
create

jobs:
update-version:
if: ${{ github.ref_type == 'branch' && startsWith(github.ref_name, 'release/') }}
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -16,6 +15,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref }}
token: ${{ github.token }}

- name: Extract version from branch name
Expand Down
Loading