Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable the stale action for issues #15630

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: Check stale issues and pull requests
name: Check stale pull requests

on:
workflow_dispatch:
schedule:
- cron: '0 12 * * *'

permissions:
issues: write
pull-requests: write

env:
BEFORE_ISSUE_STALE: 90
BEFORE_ISSUE_CLOSE: 7
# NOTE: We set the parameters below to -1, so issues will never be marked as stale or closed automatically.
BEFORE_ISSUE_STALE: -1
BEFORE_ISSUE_CLOSE: -1
r0qs marked this conversation as resolved.
Show resolved Hide resolved
BEFORE_PR_STALE: 14
BEFORE_PR_CLOSE: 7

Expand All @@ -24,17 +24,7 @@ jobs:
debug-only: false
days-before-issue-stale: ${{ env.BEFORE_ISSUE_STALE }}
days-before-issue-close: ${{ env.BEFORE_ISSUE_CLOSE }}
stale-issue-message: |
This issue has been marked as stale due to inactivity for the last ${{ env.BEFORE_ISSUE_STALE }} days.
It will be automatically closed in ${{ env.BEFORE_ISSUE_CLOSE }} days.
close-issue-message: |
Hi everyone! This issue has been automatically closed due to inactivity.
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.
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.
ascending: true
stale-issue-label: stale
close-issue-label: 'closed due inactivity'
exempt-issue-labels: 'bug :bug:,epic,roadmap,selected for development,must have,must have eventually,smt'
stale-pr-message: |
This pull request is stale because it has been open for ${{ env.BEFORE_PR_STALE }} days with no activity.
It will be closed in ${{ env.BEFORE_PR_CLOSE }} days unless the `stale` label is removed.
Expand Down