1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 05:11:06 +02:00

Update stale action

This commit is contained in:
blu3 2025-01-31 12:04:28 +03:00 committed by GitHub
parent 55624c7b63
commit 4ac9f12a23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
uses: actions/stale@v9
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message' stale-issue-message: 'This issue has been marked stale because it has been open for 60 days with no activity.'
stale-pr-message: 'Stale pull request message' stale-pr-message: 'This pull request has been marked stale because it has been open for 60 days with no activity.'
stale-issue-label: 'no-issue-activity' stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity' stale-pr-label: 'no-pr-activity'