-
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 932 Bytes
/
issue-management.yml
File metadata and controls
32 lines (28 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This workflow automatically triages new and reopened issues and pull requests.
# It applies labels using the labeler action and marks issues/PRs as stale after 30 days of inactivity,
# closing them 7 days after being marked stale. This helps keep the issue tracker organized and up to date.
name: Issue Management
on:
issues:
types: [opened, reopened]
pull_request:
types: [opened, reopened]
permissions:
contents: write
pull-requests: write
issues: write
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v6
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler.yml
sync-labels: false
- uses: actions/stale@v10
with:
days-before-stale: 30
days-before-close: 7
stale-issue-message: 'This issue is stale due to inactivity'
stale-pr-message: 'This PR is stale due to inactivity'