Skip to content

Commit

Permalink
More detailed comments
Browse files Browse the repository at this point in the history
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
  • Loading branch information
rdwebdesign committed Jan 6, 2023
1 parent c049faf commit 9e0972e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/stale_pr.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Close stale PR
# This action will add a `stale` label and close immediately every PR that meets the following conditions:
# - it is already marked with "merge conflict" label
# - the "merge conflict" label was added more than 30 days before.
# - there was no update/comment on the PR in the last 30 days.

on:
schedule:
Expand All @@ -20,9 +20,11 @@ jobs:
- uses: actions/stale@v7.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Do not mark a PR as stale
# Do not automatically mark PR/issue as stale
days-before-stale: -1
# Override 'days-before-stale' for PR only
days-before-pr-stale: 30
# Close PRs immediately, after marking them 'stale'
days-before-pr-close: 0
# only run the action on merge conflict PR
any-of-labels: 'Merge conflicts'
Expand Down

0 comments on commit 9e0972e

Please sign in to comment.