Browse Source

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

Romain Rigaux 4 năm trước cách đây
mục cha
commit
0f04edb6a1
1 tập tin đã thay đổi với 6 bổ sung4 xóa
  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