Skip to content

Commit

Permalink
new(ci): added a workflow to check release note label.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP committed Dec 20, 2023
1 parent 0d65836 commit 4062066
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/check-milestone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check release notes
on:
pull_request:
types: [milestoned]
branches: [master]

jobs:
check-release-notes:
runs-on: ubuntu-latest
steps:
- name: Try to generate release notes
uses: leodido/rn2md@0669e5f3b21492c11c2db43cd6e267566f5880f3
with:
milestone: ${{ github.event.milestone.title }}
output: ./notes.md

- name: Print error
if: failure()
run: |
echo "Wrong release note label. Check it out."

0 comments on commit 4062066

Please sign in to comment.