We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e88cc31 commit 2dca782Copy full SHA for 2dca782
.github/workflows/check-change-note.yml
@@ -24,5 +24,7 @@ jobs:
24
env:
25
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
run: |
27
- gh api 'repos/${{github.repository}}/pulls/${{github.event.number}}/files' --paginate --jq 'any(.[].filename ; test("/change-notes/.*[.]md$"))' |
+ 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")' |
30
grep true -c
0 commit comments