Skip to content

Commit

Permalink
github: Run the triage process for comments (#3547)
Browse files Browse the repository at this point in the history
Run the triage process when a new comment is added to an issue that is already opened but no-one is assigned to it.
  • Loading branch information
codebien authored Jan 18, 2024
1 parent be8527a commit ef1f214
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/issue-auto-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@ on:
workflow_call:
issues:
types: [opened]
issue_comment:
types: [created]

permissions:
issues: write

jobs:
assign-user:
runs-on: ubuntu-latest
# issue_comment triggers for both, issues and prs,
# as we need to run only on issues, it filter out prs.
if: ${{ !github.event.issue.pull_request }}
steps:
- uses: actions/github-script@v6
with:
Expand Down

0 comments on commit ef1f214

Please sign in to comment.