Skip to content

Commit 316b697

Browse files
authored
Merge pull request #15630 from ethereum/disable-stale-gh-action
Disable the stale action for issues
2 parents 54efdc9 + becce92 commit 316b697

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/stale.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
name: Check stale issues and pull requests
1+
name: Check stale pull requests
22

33
on:
44
workflow_dispatch:
55
schedule:
66
- cron: '0 12 * * *'
77

88
permissions:
9-
issues: write
109
pull-requests: write
1110

1211
env:
13-
BEFORE_ISSUE_STALE: 90
14-
BEFORE_ISSUE_CLOSE: 7
12+
# NOTE: We set the parameters below to -1, so issues will never be marked as stale or closed automatically.
13+
BEFORE_ISSUE_STALE: -1
14+
BEFORE_ISSUE_CLOSE: -1
1515
BEFORE_PR_STALE: 14
1616
BEFORE_PR_CLOSE: 7
1717

@@ -24,17 +24,7 @@ jobs:
2424
debug-only: false
2525
days-before-issue-stale: ${{ env.BEFORE_ISSUE_STALE }}
2626
days-before-issue-close: ${{ env.BEFORE_ISSUE_CLOSE }}
27-
stale-issue-message: |
28-
This issue has been marked as stale due to inactivity for the last ${{ env.BEFORE_ISSUE_STALE }} days.
29-
It will be automatically closed in ${{ env.BEFORE_ISSUE_CLOSE }} days.
30-
close-issue-message: |
31-
Hi everyone! This issue has been automatically closed due to inactivity.
32-
If you think this issue is still relevant in the latest Solidity version and you have something to [contribute](https://docs.soliditylang.org/en/latest/contributing.html), feel free to reopen.
33-
However, unless the issue is a concrete proposal that can be implemented, we recommend starting a language discussion on the [forum](https://forum.soliditylang.org) instead.
3427
ascending: true
35-
stale-issue-label: stale
36-
close-issue-label: 'closed due inactivity'
37-
exempt-issue-labels: 'bug :bug:,epic,roadmap,selected for development,must have,must have eventually,smt'
3828
stale-pr-message: |
3929
This pull request is stale because it has been open for ${{ env.BEFORE_PR_STALE }} days with no activity.
4030
It will be closed in ${{ env.BEFORE_PR_CLOSE }} days unless the `stale` label is removed.

0 commit comments

Comments
 (0)