File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release Notes Check
2+
3+ on :
4+ merge_group :
5+ pull_request :
6+ types :
7+ # On by default if you specify no types.
8+ - " opened"
9+ - " reopened"
10+ - " synchronize"
11+ # For `skip-label` only.
12+ - " labeled"
13+ - " unlabeled"
14+
15+
16+ jobs :
17+ check-release-notes :
18+ name : Check release notes are updated
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Check for a release notes update
22+ if : github.event_name == 'pull_request'
23+ uses : brettcannon/check-for-changed-files@4170644959a21843b31f1181f2a1761d65ef4791 # v1.2.0
24+ with :
25+ file-pattern : " RELEASE_NOTES.md"
26+ prereq-pattern : " src/**"
27+ skip-label : " cmd:skip-release-notes"
28+ failure-message : " Missing a release notes update. Please add one or apply the ${skip-label} label to the pull request"
You can’t perform that action at this time.
0 commit comments