From fe98c40d29f3bbc775852f73c9b08eb0ef646d8e Mon Sep 17 00:00:00 2001 From: Willow Carretero Chavez Date: Tue, 26 Sep 2023 12:04:59 -0400 Subject: [PATCH] Allow non-contributors to take an issue with .take --- .github/workflows/take.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/take.yml diff --git a/.github/workflows/take.yml b/.github/workflows/take.yml new file mode 100644 index 00000000..98f2a354 --- /dev/null +++ b/.github/workflows/take.yml @@ -0,0 +1,19 @@ +# .github/workflows/take.yml +name: Assign issue to contributor +on: + issue_comment: + types: [created, edited] // action runs on new and edited issue comments + +jobs: + assign: + name: Take an issue + runs-on: ubuntu-latest + permissions: + issues: write + 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: .take + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file