Skip to content

Commit

Permalink
Merge pull request #487 from Mindful-AI-Assistants/FabianaCampanari-p…
Browse files Browse the repository at this point in the history
…atch-1

Update stale.yml
  • Loading branch information
FabianaCampanari authored Oct 18, 2024
2 parents b39133c + de3147c commit cc23e6b
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions .github/workflow/stale.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
# 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: '18 17 * * *'
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message'
stale-pr-message: 'Stale pull request message'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
- 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

0 comments on commit cc23e6b

Please sign in to comment.