Skip to content

Commit

Permalink
Merge pull request #248 from wellcomecollection/set-up-new-stale-PR-w…
Browse files Browse the repository at this point in the history
…orkflow

use new stale PR workflow
  • Loading branch information
agnesgaroux authored Sep 10, 2024
2 parents 5ecbeb2 + b2ce44f commit 6901b0b
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Automatically mark any pull requests that have been inactive for 30 days as "Stale"
# then close them 3 days later if there is still no activity.
#
# Shamelessly copied from https://github.com/guardian/.github/blob/main/workflow-templates/stale.yml
#
name: "Stale PR Handler"

on:
Expand All @@ -15,24 +14,4 @@ permissions:

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
id: stale
# Read about options here: https://github.com/actions/stale#all-options
with:
# never automatically mark issues as stale
days-before-issue-stale: -1

# Wait 30 days before marking a PR as stale
days-before-stale: 30
stale-pr-message: >
This PR is stale because it has been open 30 days with no activity.
Unless a comment is added or the “stale” label removed, this will be closed in 3 days
# Wait 3 days after a PR has been marked as stale before closing
days-before-close: 3
close-pr-message: This PR was closed because it has been stalled for 3 days with no activity.

# Ignore PR's raised by Dependabot
exempt-pr-labels: "dependencies"
uses: wellcomecollection/.github/.github/workflows/stale.yml@main

0 comments on commit 6901b0b

Please sign in to comment.