Skip to content

Commit

Permalink
Merge a355b4e into 0be7f96
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperlees committed Mar 21, 2021
2 parents 0be7f96 + a355b4e commit 57b6d23
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/changelog.yml
@@ -0,0 +1,21 @@
name: changelog

on:
pull_request:
types: [opened, synchronize, labeled, unlabeled, reopened]

jobs:
build:
name: Changelog Entry Check

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Grep CHANGES.md for PR number
if: contains(github.event.pull_request.labels.*.name, 'skip news') != true
run: |
grep -P "PR #${{ github.event.pull_request.number }}[^0-9]" CHANGES.md || \
(echo "Please add 'PR #${{ github.event.pull_request.number }}' change line to CHANGES.md" && \
exit 1)

0 comments on commit 57b6d23

Please sign in to comment.