This repository has been archived by the owner on Nov 17, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56266a6
commit db09625
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
# This action is centrally managed in https://github.com/<organization>/.github/ | ||
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in | ||
# the above-mentioned repo. | ||
|
||
# Update changelog on release events. | ||
|
||
name: Update changelog | ||
|
||
on: | ||
release: | ||
types: [created, edited, deleted] | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: "${{ github.workflow }}" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
update-changelog: | ||
if: >- | ||
github.event_name == 'workflow_dispatch' || | ||
(!github.event.release.prerelease && !github.event.release.draft) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Update Changelog | ||
uses: LizardByte/[email protected] | ||
with: | ||
changelogBranch: changelog | ||
changelogFile: CHANGELOG.md | ||
token: ${{ secrets.GH_BOT_TOKEN }} |