Update label-issue-stale.yml

This commit is contained in:
Amith Koujalgi 2025-01-29 00:34:17 +05:30 committed by GitHub
parent d603c4b94b
commit 1ac65f821b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,11 @@ on:
schedule: schedule:
- cron: '0 0 * * *' # Runs every day at midnight - cron: '0 0 * * *' # Runs every day at midnight
permissions:
contents: write # only for delete-branch option
issues: write
pull-requests: write
jobs: jobs:
stale: stale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -12,7 +17,7 @@ jobs:
- name: Mark stale issues and pull requests - name: Mark stale issues and pull requests
uses: actions/stale@v8 uses: actions/stale@v8
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ github.token }}
days-before-stale: 15 days-before-stale: 15
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.' 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.'
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.' 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.'