Skip to content

Commit df48806

Browse files
godlygeekpablogsal
authored andcommitted
ci: Don't require skip-news if NEWS.rst changes
Until now we've been requiring every PR affect a file in the news/ directory or be labeled with `skip-news`. Also allow a PR to directly touch NEWS.rst instead. Signed-off-by: Matt Wozniski <mwozniski@bloomberg.net>
1 parent f5eb8d7 commit df48806

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/news-check.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
- name: "Check for news entry"
1919
uses: brettcannon/check-for-changed-files@v1
2020
with:
21-
file-pattern: "news/*.rst"
21+
file-pattern: |
22+
news/*.rst
23+
NEWS.rst
2224
skip-label: "skip news"
2325
failure-message: "Missing a news file in ${file-pattern}; please add one or apply the ${skip-label} label to the pull request"

0 commit comments

Comments
 (0)