Skip to content

Commit

Permalink
ci: add ci bot for auto assigning issue
Browse files Browse the repository at this point in the history
this will auto assign the issue to the user who
commented /assign

Signed-off-by: Riya Singhal <rsinghal@redhat.com>
  • Loading branch information
riya-singhal31 authored and mergify[bot] committed Nov 22, 2023
1 parent 00c12b3 commit aa55317
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/auto-assign.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Assign issue to contributor
# yamllint disable-line rule:truthy
on:
issue_comment:
types: [created, edited]

jobs:
assign:
name: Run self assign job
runs-on: ubuntu-latest
steps:
- name: take the issue
uses: bdougie/take-action@main
with:
message: >
Thanks for taking this issue!
Let us know if you have any questions!
trigger: /assign
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit aa55317

Please sign in to comment.