Sfoglia il codice sorgente

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

Romain Rigaux 4 anni fa
parent
commit
0f04edb6a1
1 ha cambiato i file con 6 aggiunte e 4 eliminazioni
  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