mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
Add config details for the stale action (#3870)
This commit is contained in:
parent
83a24cb06d
commit
3d7704f0bf
42
.github/workflows/stale.yml
vendored
42
.github/workflows/stale.yml
vendored
@ -1,23 +1,31 @@
|
||||
name: Mark stale issues and pull requests
|
||||
name: Mark/Close stale issues and pull requests
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
- cron: "0 * * * *" # Run every hour
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-issue-message: >
|
||||
Please reopen this issue once you add more information and updates here.
|
||||
If this is not the case and you need some help, feel free to seek help
|
||||
from our [Gitter](https://gitter.im/TheAlgorithms) or ping one of the
|
||||
reviewers. Thank you for your contributions!
|
||||
stale-pr-message: >
|
||||
Please reopen this pull request once you commit the changes requested
|
||||
or make improvements on the code. If this is not the case and you need
|
||||
some help, feel free to seek help from our [Gitter](https://gitter.im/TheAlgorithms)
|
||||
or ping one of the reviewers. Thank you for your contributions!
|
||||
stale-issue-label: 'no-issue-activity'
|
||||
stale-pr-label: 'no-pr-activity'
|
||||
- uses: actions/stale@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
days-before-stale: 30
|
||||
days-before-close: 7
|
||||
stale-issue-message: >
|
||||
This issue has been automatically marked as stale because it has not had
|
||||
recent activity. It will be closed if no further activity occurs. Thank you
|
||||
for your contributions.
|
||||
close-issue-message: >
|
||||
Please reopen this issue once you add more information and updates here.
|
||||
If this is not the case and you need some help, feel free to seek help
|
||||
from our [Gitter](https://gitter.im/TheAlgorithms) or ping one of the
|
||||
reviewers. Thank you for your contributions!
|
||||
stale-pr-message: >
|
||||
This pull request has been automatically marked as stale because it has not had
|
||||
recent activity. It will be closed if no further activity occurs. Thank you
|
||||
for your contributions.
|
||||
close-pr-message: >
|
||||
Please reopen this pull request once you commit the changes requested
|
||||
or make improvements on the code. If this is not the case and you need
|
||||
some help, feel free to seek help from our [Gitter](https://gitter.im/TheAlgorithms)
|
||||
or ping one of the reviewers. Thank you for your contributions!
|
||||
|
Loading…
Reference in New Issue
Block a user