mirror of
https://github.com/chenasraf/schemastore.git
synced 2026-05-17 17:58:02 +00:00
add: GitHub action to automatically close stale PR (#1831)
* add: github action to close stale PR * doc: Adding tests (for local schemas only) Make it clear that the test is only for local schemas.
This commit is contained in:
committed by
GitHub
parent
aacfab728a
commit
0d65945852
18
.github/workflows/stale.yml
vendored
Normal file
18
.github/workflows/stale.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: "Close stale PRs"
|
||||
on:
|
||||
schedule:
|
||||
- cron: "30 1 * * *"
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v4
|
||||
with:
|
||||
stale-pr-message: "This PR is stale because it has been open 60 days with no activity. Comment or this will be closed in 7 days."
|
||||
close-pr-message: "This PR was closed because it has been stalled for 7 days with no activity."
|
||||
days-before-issue-stale: -1
|
||||
days-before-issue-close: -1
|
||||
Reference in New Issue
Block a user