From 2c29b2578253b04901c08410c69608727ae1edb0 Mon Sep 17 00:00:00 2001 From: RD WebDesign Date: Fri, 6 Jan 2023 19:00:55 -0300 Subject: [PATCH] More detailed comments Signed-off-by: RD WebDesign --- .github/workflows/stale_pr.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale_pr.yml b/.github/workflows/stale_pr.yml index da12bb9a..c45e3cb7 100644 --- a/.github/workflows/stale_pr.yml +++ b/.github/workflows/stale_pr.yml @@ -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: @@ -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: 'PR: Merge Conflict'