Skip to content

Commit

Permalink
add triage workflow and labels to new issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Dec 17, 2024
1 parent 30b4fcb commit 91e6d8b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 🐞 Bug
description: Report a bug or an issue you've found in dbt-athena
title: "[Bug] <title>"
labels: ["bug"]
labels: ["bug","triage"]
body:
- type: markdown
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: ✨ Feature
description: Propose a straightforward extension of dbt functionality
title: "[Feature] <title>"
labels: ["feature"]
labels: ["feature","triage"]
body:
- type: markdown
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/other.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Other
description: Anything that is not a bug or a feature
title: "<title>"
labels: []
labels: ["triage"]
body:
- type: checkboxes
attributes:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/issue-triage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Issue triage"
run-name: "Issue triage - #${{ github.event.issue.number }}: ${{ github.event.issue.title }} - ${{ github.actor }}"

on: issue_comment

defaults:
run:
shell: bash

permissions:
issues: write

jobs:
triage:
if: contains(github.event.issue.labels.*.name, 'awaiting_response')
uses: dbt-labs/actions/.github/workflows/swap-labels.yml@main
with:
add_label: "triage"
remove_label: "awaiting_response"
secrets: inherit

0 comments on commit 91e6d8b

Please sign in to comment.