Skip to content

Commit

Permalink
add changelog action (#298)
Browse files Browse the repository at this point in the history
* add changelog action
  • Loading branch information
CagtayFabry authored Mar 24, 2021
1 parent 93b3e1f commit efb6bac
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Changelog

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

jobs:
changelog:
name: Confirm changelog entry
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
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 efb6bac

Please sign in to comment.