This repository has been archived by the owner on Oct 13, 2024. It is now read-only.
Update changelog #110
Workflow file for this run
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
--- | |
# 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 }} |