Skip to content

Commit 8e2aa42

Browse files
authored
Add triage workflow and labels to new issues (#773)
1 parent 5a379c0 commit 8e2aa42

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

.github/ISSUE_TEMPLATE/feature-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: ✨ Feature
22
description: Propose a straightforward extension of dbt functionality
33
title: "[Feature] <title>"
4-
labels: ["feature"]
4+
labels: ["feature", "triage"]
55
body:
66
- type: markdown
77
attributes:

.github/workflows/issue-triage.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Issue triage"
2+
run-name: "Issue triage - #${{ github.event.issue.number }}: ${{ github.event.issue.title }} - ${{ github.actor }}"
3+
4+
on: issue_comment
5+
6+
defaults:
7+
run:
8+
shell: bash
9+
10+
permissions:
11+
issues: write
12+
13+
jobs:
14+
triage:
15+
if: contains(github.event.issue.labels.*.name, 'awaiting_response')
16+
uses: dbt-labs/actions/.github/workflows/swap-labels.yml@main
17+
with:
18+
add_label: "triage"
19+
remove_label: "awaiting_response"
20+
secrets: inherit

.github/workflows/pull-request-checks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
results:
7474
name: "Pull request checks"
7575
if: always()
76-
needs: [code-quality, changelog, verify-builds, unit-tests, integration-tests]
76+
needs: [code-quality, changelog-entry, verify-builds, unit-tests, integration-tests]
7777
runs-on: ${{ vars.DEFAULT_RUNNER }}
7878
steps:
7979
- uses: re-actors/alls-green@release/v1

0 commit comments

Comments
 (0)