From 234f8879dd317cdf06b4ea767ad985bb3c9f1122 Mon Sep 17 00:00:00 2001 From: Przemyslaw Wysocki Date: Mon, 4 Mar 2024 09:20:05 +0100 Subject: [PATCH] Port `.take` functionality for Good First Issues from OpenVINO repository (#278) Merging this workflow allows open source contributors to comment `.take` under a Good First Issue and automatically pick it up. The community is already accustomed to that and currently it does not work in GenAI GFIs. Equivalent in OpenVINO: https://github.com/openvinotoolkit/openvino/blob/master/.github/workflows/assign_issue.yml --- .github/workflows/assign_issue.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/assign_issue.yml diff --git a/.github/workflows/assign_issue.yml b/.github/workflows/assign_issue.yml new file mode 100644 index 0000000000..236705e070 --- /dev/null +++ b/.github/workflows/assign_issue.yml @@ -0,0 +1,23 @@ +name: Take Issue + +on: + issue_comment: + types: + - created + - edited + +jobs: + take-issue: + name: Take issue + runs-on: ubuntu-latest + permissions: + issues: write + timeout-minutes: 10 + steps: + - name: take an issue + uses: bdougie/take-action@v1.6.1 + with: + message: Thank you for looking into this issue! Please let us know if you have any questions or require any help. + issueCurrentlyAssignedMessage: Thanks for being interested in this issue. It looks like this ticket is already assigned to a contributor. Please communicate with the assigned contributor to confirm the status of the issue. + trigger: .take + token: ${{ secrets.GITHUB_TOKEN }}