ci: add ci bot for auto assigning issue

this will auto assign the issue to the user who
commented /assign

Signed-off-by: Riya Singhal <rsinghal@redhat.com>
This commit is contained in:
Riya Singhal 2023-11-22 12:09:04 +05:30 committed by mergify[bot]
parent 00c12b396f
commit aa55317c74

20
.github/workflows/auto-assign.yaml vendored Normal file
View File

@ -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 }}