mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added changelog changed validator
This commit is contained in:
parent
baf31a531a
commit
28d39cd96e
1 changed files with 20 additions and 0 deletions
20
.github/workflows/pull_request_changelog.yml
vendored
Normal file
20
.github/workflows/pull_request_changelog.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- "opened"
|
||||
- "reopened"
|
||||
- "synchronize"
|
||||
- "labeled"
|
||||
- "unlabeled"
|
||||
|
||||
jobs:
|
||||
check_changes:
|
||||
runs-on: ubuntu-latest
|
||||
name: "Check that changes is described"
|
||||
steps:
|
||||
- name: "Check for news entry"
|
||||
uses: brettcannon/check-for-changed-files@v1
|
||||
with:
|
||||
file-pattern: "CHANGES/*"
|
||||
skip-label: "skip news"
|
||||
failure-message: "Missing a news file in ${file-pattern}; please add one or apply the ${skip-label} label to the pull request"
|
||||
Loading…
Add table
Add a link
Reference in a new issue