-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3455 from Mindful-AI-Assistants/FabianaCampanari-…
…patch-1 stale.yml
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Este workflow avisa e depois fecha issues e PRs que não tiveram atividade por um tempo especificado. | ||
|
||
name: 'Stale issue and PR closer' | ||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v4 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: 'Esta issue está inativa há um tempo. Será fechada em breve se não houver atividade.' | ||
stale-pr-message: 'Este PR está inativo há um tempo. Será fechado em breve se não houver atividade.' | ||
days-before-stale: 60 | ||
days-before-close: 7 | ||
exempt-issue-labels: 'pinned,security' | ||
exempt-pr-labels: 'pinned,security' | ||
operations-per-run: 30 | ||
remove-stale-when-updated: true | ||
debug-only: false |