Skip to content

Commit e5197ec

Browse files
joaopapereiraSteven Locke
authored and
Steven Locke
committed
adding action to apply carvel-triage label for closed/reopened issues
Signed-off-by: Steven Locke <slocke@pivotal.io>
1 parent eddedc5 commit e5197ec

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Closed issue labeling
2+
on:
3+
issues:
4+
types: ['reopened']
5+
issue_comment:
6+
types: ['created']
7+
8+
jobs:
9+
add-labels:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: docker://k8slt/closed-issue-label-action@sha256:84360552559e0de4dfaaeefcf1ea0a1070a6250621f98539caf3eaad9395feb7
13+
if: github.event_name == 'issues' || ( github.event_name == 'issue_comment' && github.event.issue.state == 'closed')
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
ignore-comments: true
17+
default-labels: '["carvel-triage"]'

0 commit comments

Comments
 (0)