forked from brazilian-utils/brutils-python
-
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 #1 from tiagornandrade/467-teste
feat: adicionar automação para gerenciar PRs inativos com GitHub Actions
- Loading branch information
Showing
1 changed file
with
29 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,29 @@ | ||
name: 'Mark stale pull requests' | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
days-before-stale: 1 | ||
days-before-close: 1 | ||
stale-pr-label: "Stale" | ||
stale-pr-message: > | ||
[PT-BR] Este PR está inativo há muito tempo. Caso não seja atualizado, será fechado em 7 dias. | ||
[EN] This PR has been inactive for a long time. If no updates are made, it will be closed in 7 days. | ||
close-pr-message: > | ||
[PT-BR] Este PR foi fechado devido à inatividade. Caso ainda seja relevante, por favor, reabra ou crie um novo PR. | ||
[EN] This PR has been closed due to inactivity. If it is still relevant, please reopen or create a new PR. | ||
exempt-issue-labels: "keep-open" | ||
operations-per-run: 30 | ||
remove-stale-when-updated: true |