File tree Expand file tree Collapse file tree 2 files changed +24
-18
lines changed Expand file tree Collapse file tree 2 files changed +24
-18
lines changed Original file line number Diff line number Diff line change 1- name : changelog
1+ name : changelog-enforcer
22
33on :
44 pull_request :
5- branches :
6- - ' **'
7- path :
8- # Only run if changes were made in markdown/ or the changelog
5+ paths :
6+ # Only run if changes were made in markdown/
97 - ' markdown/**'
10- - ' docs/changelog.md'
11-
12- # permissions:
13- # pull-requests: write
148
159jobs :
16- validate :
10+ check-for-entry :
1711
1812 runs-on : ubuntu-latest
1913 steps :
20- - uses : actions/checkout@v4
2114 - name : Ensure Changelog Entry Made
2215 uses : dangoslen/changelog-enforcer@v3
2316 with :
2720 changelog describing the changes you have made. Doing so will help to ensure your contribution is accepted.
2821
2922 Please see the [Contributing Guide](https://python-markdown.github.io/contributing/#changelog) for details.
30- - name : Validate Changelog
31- if : success()
32- id : changelog_reader
33- uses : mindsers/changelog-reader-action@v2
34- with :
35- validation_level : error
36- path : docs/changelog.md
Original file line number Diff line number Diff line change 1+ name : changelog-validator
2+
3+ on :
4+ pull_request :
5+ paths :
6+ # Only run if changes were made to the changelog
7+ - ' docs/changelog.md'
8+
9+ jobs :
10+ validate :
11+
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - name : Validate Changelog
16+ id : changelog_reader
17+ uses : mindsers/changelog-reader-action@v2
18+ with :
19+ validation_level : error
20+ path : docs/changelog.md
You can’t perform that action at this time.
0 commit comments