Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit 4905adf

Browse files
committed
Scaffold auto-close capsule
1 parent ebf0307 commit 4905adf

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/auto-close.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Auto Close Issues
2+
3+
on:
4+
issues:
5+
types: [labeled]
6+
7+
jobs:
8+
close:
9+
if: contains(github.event.issue.labels.*.name, 'invalid') || contains(github.event.issue.labels.*.name, 'wontfix')
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Close issue
13+
uses: peter-evans/close-issue@v3
14+
with:
15+
comment: |
16+
This issue has been closed automatically based on its label.

0 commit comments

Comments
 (0)