Skip to content

Commit

Permalink
Add triage workflow and labels to new issues (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare authored Dec 19, 2024
1 parent 5a379c0 commit 8e2aa42
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
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
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
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
results:
name: "Pull request checks"
if: always()
needs: [code-quality, changelog, verify-builds, unit-tests, integration-tests]
needs: [code-quality, changelog-entry, verify-builds, unit-tests, integration-tests]
runs-on: ${{ vars.DEFAULT_RUNNER }}
steps:
- uses: re-actors/alls-green@release/v1
Expand Down

0 comments on commit 8e2aa42

Please sign in to comment.