From 0abea3c8a8335a0151d8ca5a56ce974b6e9ff938 Mon Sep 17 00:00:00 2001 From: Rodrigue Koffi Date: Mon, 20 Mar 2023 17:03:59 +0100 Subject: [PATCH] (chore): Issues and PRs CI updates (#134) * Update PR templates * Update stale PR & issues --- .github/PULL_REQUEST_TEMPLATE.md | 8 +++----- .github/workflows/stale_issue_pr.yaml | 6 +++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d55cb82..95e8e94 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -14,13 +14,11 @@ ### More - [ ] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes) -- [ ] Yes, I have added a new example under [examples](https://github.com/aws-observability/terraform-aws-observability-accelerator/tree/main/examples) to support my PR -- [ ] Yes, I have created another PR for add-ons under [add-ons](https://github.com/aws-samples/eks-blueprints-add-ons) repo (if applicable) -- [ ] Yes, I have updated the [docs](https://github.com/aws-observability/terraform-aws-observability-accelerator/tree/main/docs) for this feature - [ ] Yes, I ran `pre-commit run -a` with this PR +- [ ] Yes, I have added a new example under [examples](https://github.com/aws-observability/terraform-aws-observability-accelerator/tree/main/examples) to support my PR (when applicable) +- [ ] Yes, I have updated the [Pages](https://github.com/aws-observability/terraform-aws-observability-accelerator/tree/main/docs) for this feature - -**Note**: Not all the PRs required examples and docs except a new pattern or add-on added. +**Note**: Not all the PRs required examples and docs. ### For Moderators - [ ] E2E Test successfully complete before merge? diff --git a/.github/workflows/stale_issue_pr.yaml b/.github/workflows/stale_issue_pr.yaml index bb7fc09..8b50b4e 100644 --- a/.github/workflows/stale_issue_pr.yaml +++ b/.github/workflows/stale_issue_pr.yaml @@ -18,7 +18,7 @@ jobs: close-issue-message: 'Issue closed due to inactivity.' close-pr-message: 'Pull request closed due to inactivity.' days-before-close: 10 - days-before-stale: 30 + days-before-stale: 60 stale-issue-label: stale stale-pr-label: stale # Not stale if have this labels @@ -26,8 +26,8 @@ jobs: exempt-pr-labels: 'bug,enhancement' operations-per-run: 100 stale-issue-message: | - This issue has been automatically marked as stale because it has been open 30 days + This issue has been automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed in 10 days stale-pr-message: | - This PR has been automatically marked as stale because it has been open 30 days + This PR has been automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this PR will be closed in 10 days