mirror of
https://github.com/OpenAMP/libmetal.git
synced 2026-02-06 12:02:14 +08:00
By default the action closes the PR or issue 7 days after adding the stale label. The expected behavior is that the pull requests and issues will never be closed automatically by the bot. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
27 lines
928 B
YAML
27 lines
928 B
YAML
name: 'Stale issues and pull requests with no recent activity'
|
|
on:
|
|
schedule:
|
|
- cron: "15 00 * * *"
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v4.1.0
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
stale-issue-message: 'This issue has been marked as a stale issue because it has been open (more than) 45 days with no activity.'
|
|
stale-pr-message: 'This pull request has been marked as a stale pull request because it has been open (more than) 45 days with no activity.'
|
|
stale-issue-label: Stale
|
|
stale-pr-label: Stale
|
|
exempt-issue-labels: bug,enhancement
|
|
exempt-pr-labels: bug,enhancement
|
|
days-before-stale: 45
|
|
remove-stale-when-updated: true
|
|
remove-issue-stale-when-updated: true
|
|
remove-pr-stale-when-updated: true
|
|
days-before-close: -1 |