mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-25 02:41:03 +01:00
chore: Remove CI tests from checklist in PR template (#1383)
This commit is contained in:
committed by
GitHub
parent
c039e1e7a2
commit
80f83fe4af
1
.github/PULL_REQUEST_TEMPLATE.md
vendored
1
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -6,5 +6,4 @@ Please explain the changes you made here and link to any relevant issues.
|
|||||||
|
|
||||||
### Checklist
|
### Checklist
|
||||||
|
|
||||||
- [ ] CI tests are passing
|
|
||||||
- [ ] README.md has been updated after any changes to variables and outputs. See https://github.com/terraform-aws-modules/terraform-aws-eks/#doc-generation
|
- [ ] README.md has been updated after any changes to variables and outputs. See https://github.com/terraform-aws-modules/terraform-aws-eks/#doc-generation
|
||||||
|
|||||||
38
.github/workflows/changelog-check.yaml
vendored
38
.github/workflows/changelog-check.yaml
vendored
@@ -1,20 +1,38 @@
|
|||||||
name: CHANGELOG Checks
|
name: CHANGELOG Checks
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- CHANGELOG.md
|
- CHANGELOG.md
|
||||||
|
pull_request_target:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
changelog-check:
|
comment:
|
||||||
name: CHANGELOG Check
|
name: Comment
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Find Existing PR Comment
|
||||||
|
id: prc
|
||||||
|
uses: peter-evans/find-comment@v1
|
||||||
|
with:
|
||||||
|
issue-number: ${{ github.event.pull_request.number }}
|
||||||
|
comment-author: "github-actions[bot]"
|
||||||
|
body-includes: "The `CHANGELOG.md` file contents are handled by the maintainers during merge."
|
||||||
|
- name: PR Comment
|
||||||
|
if: ${{ steps.prc.outputs.comment-id == '' }}
|
||||||
|
uses: peter-evans/create-or-update-comment@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
issue-number: ${{ github.event.pull_request.number }}
|
||||||
|
body: |
|
||||||
|
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 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
|
- name: Fail the check if changelog change
|
||||||
run: |-
|
run: exit 1
|
||||||
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 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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user