Merge pull request #1226 from bbassie/ci/changelog-check

Check the changelog section of pull request descriptions in CI
This commit is contained in:
Cooldude2606 authored and GitHub committed 2026-11-18 13:12:39 +00:00
commit d42d9d3743
4 files changed
+205 -16

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
name: Changelog
on:
pull_request:
types: [opened, edited, synchronize, reopened]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
check:
# Bot pull requests do not fill in the template.
if: github.event.pull_request.user.type != 'Bot'
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v7
with:
sparse-checkout: scripts
- uses: actions/setup-node@v7
with:
node-version: 24.x
- name: Check changelog in pull request description
env:
PR_BODY: ${{ github.event.pull_request.body }}
run: node scripts/check_pr_changelog.mts