Skip to content

Commit 4a7cb29

Browse files
authored
Fix workflow to mark PRs as stale (huggingface#2116)
1 parent d6de676 commit 4a7cb29

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/stale.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55

66
permissions:
77
issues: write
8+
pull-requests: write
89

910
jobs:
1011
stale:
@@ -13,6 +14,10 @@ jobs:
1314
- uses: actions/stale@v8
1415
with:
1516
stale-issue-message: 'This issue has been marked as stale because it has been open for 30 days with no activity. This thread will be automatically closed in 5 days if no further activity occurs.'
17+
stale-pr-message: 'This PR has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.'
1618
exempt-issue-labels: 'bug,exporters,good first issue,onnx,onnxruntime,quantization'
17-
days-before-stale: 30
18-
days-before-close: 5
19+
days-before-issue-stale: 30
20+
days-before-issue-close: 5
21+
days-before-pr-stale: 90
22+
days-before-pr-close: 30
23+
exempt-all-pr-assignees: true

0 commit comments

Comments
 (0)