Skip to content

Commit

Permalink
Allow non-contributors to take an issue with .take
Browse files Browse the repository at this point in the history
  • Loading branch information
carreter committed Sep 26, 2023
1 parent 8e53967 commit fe98c40
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/take.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit fe98c40

Please sign in to comment.