From bd2e702193881e71d354b88df747b9570ce1e527 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Wed, 20 Dec 2023 12:00:54 +0100 Subject: [PATCH] new(ci): added a workflow to check release note label. Signed-off-by: Federico Di Pierro --- .github/workflows/check-milestone.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/check-milestone.yml diff --git a/.github/workflows/check-milestone.yml b/.github/workflows/check-milestone.yml new file mode 100644 index 0000000000..33b7ca9ced --- /dev/null +++ b/.github/workflows/check-milestone.yml @@ -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."