Skip to content

Commit 2156169

Browse files
authored
Added automated issue closing for archived. (SharePoint#10216)
1 parent 608bdbd commit 2156169

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/label-actions.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Configuration for Label Actions - https://github.com/dessant/label-actions
2+
3+
# Actions taken when the `type:archive-old-issue` label is added to issues that are being archived.
4+
type:archive-old-issue:
5+
# Post a comment
6+
comment: |+
7+
Thank you for taking the time to file an issue. We periodically **archive** older or inactive issues as part of our issue management process, which automatically closes them once they are archived.
8+
9+
If you’d like to understand more about why and how we handle archived (closed) issues, please see [Our approach to closed issues](https://github.com/SharePoint/sp-dev-docs/wiki/Issue-List#our-approach-to-closed-issues).
10+
11+
We appreciate your contribution and encourage you to check our active repositories or ask questions in the SharePoint developer community forums if you need further assistance.
12+
13+
# Close the issue
14+
close: true

.github/workflows/label-actions.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: 'Check for Incomplete Issues'
2+
3+
on:
4+
issues:
5+
types: [labeled, unlabeled]
6+
7+
jobs:
8+
reaction:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: dessant/label-actions@v2
12+
with:
13+
github-token: ${{ github.token }}
14+
process-only: 'issues'

0 commit comments

Comments
 (0)