Skip to content

Commit

Permalink
Minor Modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
shivansh-bhatnagar18 committed Jun 4, 2024
1 parent 8c455a6 commit f774667
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/assign-on-comment.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: Assign on Issue Comment

# .github/workflows/take.yml
name: Assign issue to contributor
on:
issue_comment:
types: [created, edited]

jobs:
one:
assign:
name: Take an issue
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Check for self-assignment comment
uses: bdougie/take-action@main
env:
GITHUB_TOKEN: ${{ secrets.ISSUE_TOKEN }}
ASSIGNMENT_KEYWORD: "/assign" # Replace with your desired keyword
- 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 }}

0 comments on commit f774667

Please sign in to comment.