This is an automated email from the ASF dual-hosted git repository.

healchow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new ec56bfab4 [INLONG-4024][GitHub] Imrpove trigger conditons in the 
stable workflow (#4025)
ec56bfab4 is described below

commit ec56bfab4d25288259de3af15c000f10a0ca0c23
Author: Yuanhao Ji <[email protected]>
AuthorDate: Fri Apr 29 16:36:16 2022 +0800

    [INLONG-4024][GitHub] Imrpove trigger conditons in the stable workflow 
(#4025)
---
 .github/workflows/ci_stable.yml | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/ci_stable.yml b/.github/workflows/ci_stable.yml
index 798e4bafd..012138997 100644
--- a/.github/workflows/ci_stable.yml
+++ b/.github/workflows/ci_stable.yml
@@ -30,18 +30,20 @@ jobs:
     name: Stable
     runs-on: ubuntu-latest
     steps:
-      - name: Close stale issues and PRs
+      - name: Mark issues and PRs
         uses: actions/stale@v5
         with:
           repo-token: ${{ secrets.GITHUB_TOKEN }}
-          stale-issue-message: 'This issue is stale because it has been open 
30 days with no activity. Remove stale label or comment or this will be closed 
in 5 days.'
-          stale-pr-message: 'This PR is stale because it has been open 45 days 
with no activity. Remove stale label or comment or this will be closed in 10 
days.'
-          close-issue-message: 'This issue was closed because it has been 
stalled for 5 days with no activity.'
-          close-pr-message: 'This PR was closed because it has been stalled 
for 10 days with no activity.'
-          days-before-issue-stale: 30       # the idle number of days before 
marking the issues as stale
-          days-before-pr-stale: 45          # the idle number of days before 
marking the pull requests as stale
-          days-before-issue-close: 5        # the idle number of days before 
closing the stale issues
-          days-before-pr-close: 10          # the idle number of days before 
closing the stale pull requests
+          stale-issue-message: 'This issue is stale because it has been open 
60 days with no activity. Remove stale label or comment or this will be closed 
in 30 days.'
+          stale-pr-message: 'This PR is stale because it has been open 60 days 
with no activity. Remove stale label or comment or this will be closed in 30 
days.'
+          close-issue-message: 'This issue was closed because it has been 
stalled for 30 days with no activity.'
+          close-pr-message: 'This PR was closed because it has been stalled 
for 30 days with no activity.'
+          days-before-issue-stale: 60       # the idle number of days before 
marking the issues as stale
+          days-before-pr-stale: 60          # the idle number of days before 
marking the pull requests as stale
+          days-before-issue-close: 30       # the idle number of days before 
closing the stale issues
+          days-before-pr-close: 30          # the idle number of days before 
closing the stale pull requests
+          operations-per-run: 500           # max number of operations per run
           exempt-issue-labels: 'WIP'        # labels on issues exempted from 
stale
           exempt-pr-labels: 'WIP'           # labels on PRs exempted from stale
-          operations-per-run: 500           # max number of operations per run
+          stale-issue-label: 'stable'       # label to apply on staled issues
+          stale-pr-label: 'stable'          # label to apply on staled PRs

Reply via email to