mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
Update stale action
This commit is contained in:
parent
55624c7b63
commit
4ac9f12a23
1 changed files with 10 additions and 15 deletions
25
.github/workflows/stale.yml
vendored
25
.github/workflows/stale.yml
vendored
|
@ -1,27 +1,22 @@
|
||||||
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
|
|
||||||
#
|
|
||||||
# You can adjust the behavior by modifying this file.
|
|
||||||
# For more information, see:
|
|
||||||
# https://github.com/actions/stale
|
|
||||||
name: Mark stale issues and pull requests
|
name: Mark stale issues and pull requests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '19 12 * * *'
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v9
|
- name: Stale
|
||||||
with:
|
uses: actions/stale@v9
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
with:
|
||||||
stale-issue-message: 'Stale issue message'
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
stale-pr-message: 'Stale pull request message'
|
stale-issue-message: 'This issue has been marked stale because it has been open for 60 days with no activity.'
|
||||||
stale-issue-label: 'no-issue-activity'
|
stale-pr-message: 'This pull request has been marked stale because it has been open for 60 days with no activity.'
|
||||||
stale-pr-label: 'no-pr-activity'
|
stale-issue-label: 'no-issue-activity'
|
||||||
|
stale-pr-label: 'no-pr-activity'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue