Skip to content

Commit c393c9b

Browse files
committed
Revert "Fix change note check to accept changes to itself"
This reverts commit 2dca782.
1 parent 2dca782 commit c393c9b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/check-change-note.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,5 @@ jobs:
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626
run: |
27-
gh api 'repos/${{github.repository}}/pulls/${{github.event.number}}/files' --paginate --jq \
28-
'any(.[].filename ; test("/change-notes/.*[.]md$")) or
29-
all(.[].filename ; .==".github/workflows/check-change-note.yml")' |
27+
gh api 'repos/${{github.repository}}/pulls/${{github.event.number}}/files' --paginate --jq 'any(.[].filename ; test("/change-notes/.*[.]md$"))' |
3028
grep true -c

0 commit comments

Comments
 (0)