Skip to content

Commit

Permalink
fix changelog check github action
Browse files Browse the repository at this point in the history
  • Loading branch information
barryib committed Mar 15, 2020
1 parent b58b831 commit 857eb61
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/changelog-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,25 @@ jobs:
name: CHANGELOG Check
runs-on: ubuntu-latest
steps:
- name: Fail the check
run: |
# - name: Comment PR
# uses: unsplash/comment-on-pr@master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# msg: |-
# Thank you for your contribution!

# The `CHANGELOG.md` file contents are handled by the maintainers during merge. This is to prevent pull request merge conflicts.
# Please see the [Contributing Guide](https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/.github/CONTRIBUTING.md) for additional pull request review items.

# Remove any changes to the `CHANGELOG.md` file and commit them in this pull request.

- name: Fail the check if changelog change
run: |-
echo "Thank you for your contribution!"
echo ""
echo "The `CHANGELOG.md` file contents are handled by the maintainers during merge. This is to prevent pull request merge conflicts."
echo "Please see the [Contributing Guide](https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/.github/CONTRIBUTING.md) for additional pull request review items.
echo "Remove any changes to the `CHANGELOG.md` file and commit them in this pull request."
echo "The 'CHANGELOG.md' file contents are handled by the maintainers during merge. This is to prevent pull request merge conflicts."
echo "Please see the Contributing Guide for additional pull request review items."
echo ""
echo "Remove any changes to the 'CHANGELOG.md' file and commit them in this pull request."
exit 1

0 comments on commit 857eb61

Please sign in to comment.