-
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.
split the issue bot back out into separate workflows; combining them …
…is not worth the complexity in the workflow
- Loading branch information
1 parent
d1c6475
commit 2eb7cc9
Showing
2 changed files
with
26 additions
and
17 deletions.
There are no files selected for viewing
18 changes: 1 addition & 17 deletions
18
.github/workflows/issue-bot.yml → .github/workflows/docs-issues.yml
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
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,25 @@ | ||
# **what?** | ||
# - respond to user comments by updating issues from `awaiting_response` to `triage` | ||
# | ||
# **why?** | ||
# - automate issue triage | ||
# | ||
# **when?** | ||
# - users comment on issues | ||
name: Issue triage | ||
|
||
on: | ||
issue_comment: | ||
|
||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
triage: | ||
name: Update triage label | ||
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 |