diff --git a/.github/workflows/autoassign.yml b/.github/workflows/autoassign.yml index b808e59..329e1e4 100644 --- a/.github/workflows/autoassign.yml +++ b/.github/workflows/autoassign.yml @@ -13,7 +13,7 @@ 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 \ @@ -21,7 +21,7 @@ jobs: - 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 \