mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
fix changelog (#7159)
* cool * seperate changelog * should be fine --------- Co-authored-by: gatzjames <jamesgatzos@gmail.com>
This commit is contained in:
parent
38f1dcead5
commit
c50e6aeb4a
28
.github/workflows/changelog.yml
vendored
Normal file
28
.github/workflows/changelog.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: Update changelog
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- core@(\d+\.\d+\.\d+)(?:-(alpha|beta)\.\d+)?
|
||||
|
||||
jobs:
|
||||
changelog:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Update CHANGELOG
|
||||
id: changelog
|
||||
uses: requarks/changelog-action@v1
|
||||
with:
|
||||
token: ${{ secrets.RELEASE_GH_TOKEN }}
|
||||
tag: ${{ 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]'
|
||||
file_pattern: CHANGELOG.md
|
2
.github/workflows/release-build.yml
vendored
2
.github/workflows/release-build.yml
vendored
@ -161,6 +161,8 @@ jobs:
|
||||
uses: kt3k/update-pr-description@v2.0.0
|
||||
with:
|
||||
pr_body: |
|
||||
**WARNING: Do not merge this PR. This is an automated release PR. It should be released using the "Publish" workflow.**
|
||||
|
||||
Download release artifacts [here](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
|
||||
|
||||
## Steps for Publish:
|
||||
|
10
.github/workflows/release-publish.yml
vendored
10
.github/workflows/release-publish.yml
vendored
@ -222,16 +222,6 @@ jobs:
|
||||
with:
|
||||
username: ${{ (github.event_name == 'workflow_dispatch' && github.actor) || 'insomnia-infra' }}
|
||||
|
||||
- name: Update CHANGELOG
|
||||
id: changelog
|
||||
uses: requarks/changelog-action@v1
|
||||
with:
|
||||
token: ${{ secrets.RELEASE_GH_TOKEN }}
|
||||
tag: ${{ env.RELEASE_CORE_TAG }}
|
||||
|
||||
- name: Git Commit Changelog
|
||||
run: git commit -am "update CHANGELOG.md for ${{ env.RELEASE_VERSION }} [skip ci]"
|
||||
|
||||
- name: Merge git branch into develop
|
||||
run: |
|
||||
remote_repo="https://${GITHUB_ACTOR}:${RELEASE_GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
|
||||
|
2
.github/workflows/release-start.yml
vendored
2
.github/workflows/release-start.yml
vendored
@ -13,7 +13,7 @@ on:
|
||||
- stable
|
||||
version:
|
||||
required: false
|
||||
description: force version of the release (e.g. 2022.1.0)
|
||||
description: force version of the release (e.g. 9.0.0) leave blank to increment automatically
|
||||
|
||||
jobs:
|
||||
setup-release-branch:
|
||||
|
Loading…
Reference in New Issue
Block a user