mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-28 14:08:12 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
044720e13f | ||
|
|
2d7aab3a9a | ||
|
|
f749733d54 |
@@ -0,0 +1,23 @@
|
|||||||
|
name: Close inactive pull requests
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "30 1 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
close-issues:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v5
|
||||||
|
with:
|
||||||
|
days-before-issue-stale: -1 # Do not mark any issues as stale
|
||||||
|
days-before-pr-stale: 14
|
||||||
|
days-before-pr-close: 3
|
||||||
|
stale-pr-message: "This PR has not seen any activity in the past 2 weeks; if no one comments or reviews it in the next 3 days, this PR will be closed."
|
||||||
|
close-pr-message: "This PR was closed because it has been inactive for 17 days, 3 days since being marked as stale. Please re-open if you still need this to be addressed."
|
||||||
|
stale-pr-label: "stale"
|
||||||
|
close-pr-label: "autoclosed"
|
||||||
|
exempt-draft-pr: true
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user