manual start

This commit is contained in:
jackkav
2024-03-12 17:34:11 +01:00
parent fd0a78c7dc
commit dc3a55d972

View File

@@ -1,10 +1,16 @@
name: Update changelog
on:
workflow_dispatch:
inputs:
version:
required: true
description: Release version (e.g. 2022.1.0 or 2022.1.0-beta.0)
push:
tags:
- core@(\d+\.\d+\.\d+)(?:-(alpha|beta)\.\d+)?
jobs:
changelog:
runs-on: ubuntu-latest
@@ -18,11 +24,11 @@ jobs:
uses: requarks/changelog-action@v1
with:
token: ${{ secrets.RELEASE_GH_TOKEN }}
tag: ${{ github.ref_name }}
tag: ${{ github.event.inputs.version || github.ref_name }}
- name: Commit CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: develop
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
commit_message: 'docs: update CHANGELOG.md for ${{ github.event.inputs.version || github.ref_name }} [skip ci]'
file_pattern: CHANGELOG.md