Skip to content

Commit

Permalink
Update changelog action (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
vhirtham authored Jul 20, 2021
1 parent 699e4e2 commit 08240b4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@ name: Changelog

on:
pull_request:
types: [labeled, unlabeled, opened, synchronize, reopened]
types: [labeled, unlabeled, opened, synchronize, reopened, ready_for_review]
branches:
- master

jobs:
changelog:
if: |
!contains(github.event.pull_request.labels.*.name, 'no-changelog-entry-needed') &&
github.event.pull_request.draft == false
name: Confirm changelog entry
runs-on: ubuntu-latest
steps:
Expand All @@ -16,4 +21,3 @@ jobs:
submodules: true
- name: Grep for PR number in CHANGELOG.md
run: grep -P '\[[^\]]*#${{github.event.number}}[,\]]' CHANGELOG.md
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-changelog-entry-needed') }}

0 comments on commit 08240b4

Please sign in to comment.