mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Enforce changelog entry via CI (#2255)
This commit is contained in:
parent
4436109a2f
commit
da4b2d8494
19
.github/workflows/changelog-check.yml
vendored
Normal file
19
.github/workflows/changelog-check.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
name: Changelog Check
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
types: [ opened, synchronize, reopened, ready_for_review, labeled, unlabeled ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-changelog:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# Gives an error if there's no change in the changelog (except using label)
|
||||||
|
- name: Changelog check
|
||||||
|
uses: dangoslen/changelog-enforcer@v1.5.1
|
||||||
|
with:
|
||||||
|
changeLogPath: 'CHANGELOG.md'
|
||||||
|
skipLabel: 'no changelog entry needed'
|
Loading…
Reference in a new issue