Skip to content

Commit

Permalink
copy changelog workflow from asdf (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Jun 21, 2022
1 parent a781c95 commit 584d547
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Ensure changelog

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

jobs:
ensure_changelog:
name: Verify that a changelog entry exists for this pull request
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- run: grep -P '\[[^\]]*#${{github.event.number}}[,\]]' CHANGES.rst
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-changelog-entry-needed') }}

0 comments on commit 584d547

Please sign in to comment.