Skip to content

Commit

Permalink
Update stale.yml (#1789)
Browse files Browse the repository at this point in the history
<!-- If this is your first pull request: sign the CLA with this GitHub
app: https://cla-assistant.io/renovatebot/renovate -->
<!-- Make sure the `Allow edits and access to secrets by maintainers`
checkbox is checked on this pull request. -->
<!-- Please read
https://github.com/renovatebot/renovate/blob/main/.github/contributing.md
before you create your pull request.-->

## Changes

<!-- Describe what behavior is changed by this PR. -->

## Context

<!-- Describe why you're making these changes if it's not already
explained in a corresponding issue. -->
<!-- If you're closing an existing issue with this pull request, use the
keyword Closes #issue_number. -->
<!-- If you're referencing an issue with this pull request, put it in a
Markdown list like this: - #issue_number. -->

## Documentation (please check one with an [x])

- [ ] I have updated the documentation, or
- [ ] No documentation update is required

## How I've tested my work (please select one)

I have verified these changes via:

- [ ] Code inspection only, or
- [ ] Newly added/modified unit tests, or
- [ ] No unit tests but ran on a real repository, or
- [ ] Both unit tests + ran on a real repository

<!-- Do you have any suggestions about this PR template? Edit it here:
https://github.com/renovatebot/renovate/edit/main/.github/pull_request_template.md
-->

<!-- Please do not force push to your PR's branch after you have created
your PR, as doing so forces us to review the whole PR again. This makes
it harder for us to review your work because we don't know what has
changed. -->
<!-- PRs will always be squashed by us when we merge your work. Commit
as many times as you need in this branch. -->
  • Loading branch information
FabianaCampanari authored Oct 18, 2024
2 parents fda79a3 + bcdfbfb commit fcc1dd5
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions .github/workflows/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: read

steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.MyGITHUB_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 fcc1dd5

Please sign in to comment.