소스 검색

[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