Update label-issue-stale.yml

This commit is contained in:
Amith Koujalgi 2025-02-01 09:03:57 +05:30 committed by GitHub
parent b67b4c7eb5
commit d7c313417b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
name: Mark stale issues and pull requests name: Mark stale issues
on: on:
workflow_dispatch: # for manual run workflow_dispatch: # for manual run
@ -8,21 +8,17 @@ on:
permissions: permissions:
contents: write # only for delete-branch option contents: write # only for delete-branch option
issues: write issues: write
pull-requests: write
jobs: jobs:
stale: stale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Mark stale issues and pull requests - name: Mark stale issues
uses: actions/stale@v8 uses: actions/stale@v8
with: with:
repo-token: ${{ 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.'
days-before-close: 7 days-before-close: 7
stale-issue-label: 'stale' stale-issue-label: 'stale'
exempt-issue-labels: 'pinned,security' exempt-issue-labels: 'pinned,security'
stale-pr-label: 'stale'
exempt-pr-labels: 'work-in-progress'