-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create generic issue-bot workflow, add triaging job
- Loading branch information
1 parent
8446b97
commit c40fa14
Showing
2 changed files
with
27 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# **what?** | ||
# - respond to user comments by updating issues from `awaiting_response` to `triage` | ||
# | ||
# **why?** | ||
# - automate issue triage | ||
# | ||
# **when?** | ||
# - users comment on issues | ||
name: Issue bot | ||
|
||
on: | ||
issue_comment: | ||
|
||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
triage: | ||
name: Update triage label | ||
if: >- | ||
contains(github.event.issue.labels.*.name, 'awaiting_response') && | ||
github.event == 'issue_comment' | ||
uses: dbt-labs/actions/.github/workflows/swap-labels.yml@main | ||
with: | ||
add_label: triage | ||
remove_label: awaiting_response | ||
secrets: inherit |
This file was deleted.
Oops, something went wrong.