From 857eb615fbbf149d7faa41a1ba11573e9ee34cd2 Mon Sep 17 00:00:00 2001 From: "Thierno IB. BARRY" Date: Sat, 14 Mar 2020 23:20:19 +0100 Subject: [PATCH] fix changelog check github action --- .github/workflows/changelog-check.yaml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/.github/workflows/changelog-check.yaml b/.github/workflows/changelog-check.yaml index ed66de630a..17e24ba2b3 100644 --- a/.github/workflows/changelog-check.yaml +++ b/.github/workflows/changelog-check.yaml @@ -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