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

Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
Nick Rolfe
2023-01-05 16:26:43 +00:00
committed by GitHub
parent 0beca9d96c
commit 4e6baf83c8

View File

@@ -26,7 +26,7 @@ jobs:
run: |
gh api 'repos/${{github.repository}}/pulls/${{github.event.number}}/files' --paginate --jq 'any(.[].filename ; test("/change-notes/.*[.]md$"))' |
grep true -c
- name: Fail if the change note filename doesn't match the expected format.
- name: Fail if the change note filename doesn't match the expected format. The file name must be of the form 'YYYY-MM-DD.md' or 'YYYY-MM-DD-{title}.md', where '{title}' is arbitrary text.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |