Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
piyushg-07 committed Jun 6, 2024
2 parents 912856c + 8e2fea5 commit 73b1c06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autoassign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
steps:
- name: Auto assign issue
run: |
ASSIGNEE='your-username' # Replace 'your-username' with the GitHub username to assign the issue to
ASSIGNEE='${{ github.actor }}'
curl -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/assignees \
-d "{\"assignees\":[\"${ASSIGNEE}\"]}"
- name: Auto label issue
run: |
LABELS='["good first issue", "gssoc", "level 1"]'
LABELS='["good first issue", "gssoc", "level 1", "GSSoc'24"]'
curl -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels \
Expand Down

0 comments on commit 73b1c06

Please sign in to comment.