Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
chore: add close stale PR workflow (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreisena authored May 31, 2023
1 parent 4a202f5 commit 6e7056a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Close stale PRs

on:
schedule:
- cron: 0 0 * * *

jobs:
stale:
runs-on: [self-hosted, devsecops]
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
close-pr-message: 'Pull Request fechado após 2 semanas sem interação.'
days-before-pr-close: 14

0 comments on commit 6e7056a

Please sign in to comment.