-
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (31 loc) · 1 KB
/
Copy pathissue-management.yml
File metadata and controls
36 lines (31 loc) · 1 KB
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
33
34
35
36
# 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: read
pull-requests: write
issues: write
env:
PLUGIN_SLUG: enginescript-site-optimizer
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v6
if: github.event_name == 'pull_request'
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'