Skip to content
Snippets Groups Projects
Unverified Commit ca8d94b9 authored by Hugo Costa's avatar Hugo Costa Committed by GitHub
Browse files

ci: fixing and updating Stale action (#29653)

parent e05e581a
No related branches found
No related tags found
No related merge requests found
name: Stale Questions name: Close inactive issues
on: on:
schedule: schedule:
- cron: "0 */6 * * *" - cron: "0 */6 * * *"
jobs: jobs:
no-response: close-issues:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
issues: write
steps: steps:
- uses: actions/stale@v4 - uses: actions/stale@v5
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-issue-stale: 10
days-before-stale: 10 days-before-issue-close: 4
days-before-close: 4 any-of-labels: 'stat: need more info,stat: waiting response'
only-labels: 'stat: need more info,stat: waiting response' stale-issue-label: "stat: no response"
stale-issue-message: >- stale-issue-message: "This issue has been marked as stale because there has been no further activity in the last 10 days. If the issue remains stale for the next 4 days (a total of 14 days with no activity), then it will be assumed that the question has been resolved and the issue will be automatically closed."
This issue has been marked as stale because there has been close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
no further activity in the last 10 days. If the issue remains repo-token: ${{ secrets.GITHUB_TOKEN }}
stale for the next 4 days (a total of two weeks with no activity),
then it will be assumed that the question has been resolved and
the issue will be automatically closed.
stale-issue-label: 'stat: no response'
operations-per-run: 40
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment