Skip to content

Commit

Permalink
Update changelog validation
Browse files Browse the repository at this point in the history
  • Loading branch information
waylan committed Oct 6, 2023
1 parent 4f0b91a commit 89e6bc7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,19 @@ jobs:

runs-on: ubuntu-latest
steps:
# - uses: actions/checkout@v2
- uses: dangoslen/changelog-enforcer@v3
- name: Ensure Changelog Entry Made
uses: dangoslen/changelog-enforcer@v3
with:
changeLogPath: 'docs/changelog.md'
missingUpdateErrorMessage: |
@${{ github.actor }}, thank you for your contribution. It appears that you have not added a comment to the
changelog describing the changes you have made. Doing so will help to ensure your contribution is accepted.
Please see the [Contributing Guide](https://python-markdown.github.io/contributing/#changelog) for details.
- name: Validate Changelog
if: success()
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
with:
validation_level: error
path: ./docs/changelog.md
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
with:
validation_level: warn
version: ${{ github.ref_name }}
path: ./docs/changelog.md
- name: Release to GitHub
Expand Down

0 comments on commit 89e6bc7

Please sign in to comment.