Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2deaf53

Browse files
Create stale.yml
1 parent f62645d commit 2deaf53

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

‎.github/workflows/stale.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "30 1 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v1
14+
with:
15+
# Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`.
16+
repo-token: ${{ secrets.GITHUB_TOKEN }}
17+
stale-pr-message: 'Due to inactivity this pull request has been marked as stale.'
18+
# The message to post on the issue when closing it. If none provided, will not comment when closing an issue.
19+
close-pr-message: 'Closing this pr due to no activity.'
20+
# The number of days old an issue can be before marking it stale. Set to -1 to never mark issues or pull requests as stale automatically.
21+
days-before-stale: 7
22+
# The number of days to wait to close an issue or pull request after it being marked stale. Set to -1 to never close stale issues.
23+
days-before-close: 7
24+
# The label to apply when a pull request is stale.
25+
stale-pr-label: 'Stale'
26+
# The label to apply when a pull request is closed.
27+
close-pr-label: 'Stale-n-closed'

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /