From 8a14fc707b7b3de6751f4e2b55a1e83e6624581d Mon Sep 17 00:00:00 2001 From: "den (work)" <53200638+localden@users.noreply.github.com> Date: Wed, 30 Oct 2024 10:09:40 -0700 Subject: [PATCH 1/2] Create stale-issues.yml --- .github/policies/stale-issues.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/policies/stale-issues.yml diff --git a/.github/policies/stale-issues.yml b/.github/policies/stale-issues.yml new file mode 100644 index 00000000..2595713d --- /dev/null +++ b/.github/policies/stale-issues.yml @@ -0,0 +1,21 @@ +name: Stale issues +description: Close needs-more-info issues that haven't had a response in 14 days +resource: repository +where: +configuration: + resourceManagementConfiguration: + scheduledSearches: + - frequencies: + - daily: + time: 12:00 + filters: + - isIssue + - isOpen + - hasLabel: + label: needs-more-info + - noActivitySince: + days: 14 + actions: + - addReply: + reply: This issue has been automatically closed due to no response from the original author. Feel free to reopen it if you have more information that can help us investigate the issue further. + - closeIssue \ No newline at end of file From 805e88e36069e7d1227e3c8a74bdc8f80f15fc43 Mon Sep 17 00:00:00 2001 From: "den (work)" <53200638+localden@users.noreply.github.com> Date: Wed, 30 Oct 2024 10:33:45 -0700 Subject: [PATCH 2/2] Update scheduled-sync.yml --- .github/policies/scheduled-sync.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/policies/scheduled-sync.yml b/.github/policies/scheduled-sync.yml index 18baaa2b..246b1d55 100644 --- a/.github/policies/scheduled-sync.yml +++ b/.github/policies/scheduled-sync.yml @@ -6,14 +6,18 @@ where: configuration: resourceManagementConfiguration: scheduledSearches: - - description: Push to main (scheduled publish) + - description: Push to main (scheduled sync) frequencies: - daily: - time: 23:00 + time: 1:00 + - daily: + time: 9:00 + - daily: + time: 17:00 filters: [] actions: - createPullRequest: head: smoke-test base: main - title: Sync smoke-test to main - body: "Please don't squash-merge this PR." + title: Merge smoke-test into main + body: Please don't squash-merge this PR. \ No newline at end of file