From aa55317c74bfaedd1fdbf0d352012309f781ea2c Mon Sep 17 00:00:00 2001 From: Riya Singhal Date: Wed, 22 Nov 2023 12:09:04 +0530 Subject: [PATCH] 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 --- .github/workflows/auto-assign.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/auto-assign.yaml diff --git a/.github/workflows/auto-assign.yaml b/.github/workflows/auto-assign.yaml new file mode 100644 index 000000000..fce7665e5 --- /dev/null +++ b/.github/workflows/auto-assign.yaml @@ -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 }}