forked from substrait-io/substrait-python
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 1.03 KB
/
Copy pathrelease-notes-check.yml
File metadata and controls
37 lines (34 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Release Notes Check
# Guards the release toolchain: a floating dependency once dropped the
# Features/Bug Fixes sections from the generated notes. This runs the pinned
# semantic-release in dry-run mode against the real history and, when a release
# is due, fails if the notes carry no sections. Scoped to the release
# config/scripts so ordinary PRs are unaffected.
on:
pull_request:
paths:
- .releaserc.mjs
- ci/release/**
- .github/workflows/release-notes-check.yml
push:
branches: [ main ]
paths:
- .releaserc.mjs
- ci/release/**
- .github/workflows/release-notes-check.yml
permissions:
contents: read
jobs:
release-notes-check:
name: Release Notes Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-node@v7
with:
node-version: "24"
- name: Assert generated release notes contain the expected sections
run: ./ci/release/dry_run.sh