mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-19 21:57:13 -04:00
manual start
This commit is contained in:
10
.github/workflows/changelog.yml
vendored
10
.github/workflows/changelog.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user