فهرست منبع

[ci] Refactor stale yml into issue and PR sections (#1915)

Romain Rigaux 4 سال پیش
والد
کامیت
0f04edb6a1
1فایلهای تغییر یافته به همراه6 افزوده شده و 4 حذف شده
  1. 6 4
      .github/workflows/autoclose-stale.yml

+ 6 - 4
.github/workflows/autoclose-stale.yml

@@ -9,13 +9,15 @@ jobs:
     steps:
       - uses: actions/stale@v3
         with:
-          exempt-milestones:
-          exempt-issue-labels: 'roadmap'
-          exempt-pr-labels: 'roadmap'
           stale-issue-message: 'This issue is stale because it has been open 30 days with no activity and is not "roadmap" labeled or part of any milestone. 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 and is not "roadmap" labeled or part of any milestone. Remove stale label or comment or this will be closed in 10 days.'
           days-before-stale: 30
           days-before-close: 5
+          exempt-issue-labels: 'roadmap'
+
+          stale-pr-message: 'This PR is stale because it has been open 45 days with no activity and is not "roadmap" labeled or part of any milestone. Remove stale label or comment or this will be closed in 10 days.'
+          exempt-pr-labels: 'roadmap'
           days-before-pr-stale: 45
           days-before-pr-close: 10
+
+          exempt-milestones:
           operations-per-run: 200