From e21b79f8a82237c2029588a51cf144741eac63a8 Mon Sep 17 00:00:00 2001 From: Zhengfei Wang <38847871+zhengfeiwang@users.noreply.github.com> Date: Thu, 7 Dec 2023 14:07:26 +0800 Subject: [PATCH] [Fundamental] Refine stale workflow: Increase operations-per-run and exclude long-term PR (#1415) # Description This PR targets to refine stale workflow: - Increase `operations-per-run`: according to https://github.com/microsoft/promptflow/actions/runs/7120514752, in our scenario, we need to increase this limit. - Exclude PR with label `long-term`. # All Promptflow Contribution checklist: - [x] **The pull request does not introduce [breaking changes].** - [ ] **CHANGELOG is updated for new features, bug fixes or other significant changes.** - [x] **I have read the [contribution guidelines](../CONTRIBUTING.md).** - [ ] **Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: [suggested workflow](../CONTRIBUTING.md#suggested-workflow).** ## General Guidelines and Best Practices - [x] Title of the pull request is clear and informative. - [x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md). ### Testing Guidelines - [ ] Pull request includes test coverage for the included changes. --- .github/workflows/stale.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 69d218babec..07727d1937a 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -13,7 +13,9 @@ jobs: steps: - uses: actions/stale@v8 with: + operations-per-run: 256 exempt-issue-labels: 'long-term' # syntax: , + exempt-pr-labels: 'long-term' # stale issue/pull request stale-issue-message: "Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input." stale-issue-label: 'no-recent-activity'