Skip to content

Verification using multiple accounts with the same email id #29

Verification using multiple accounts with the same email id

Verification using multiple accounts with the same email id #29

Workflow file for this run

name: phraseActions
on:
issue_comment:
types: created
jobs:
assign-commentor:
permissions:
issues: write
runs-on: ubuntu-latest
if: |
startsWith(github.event.comment.body, '/assignme') ||
startsWith(github.event.comment.body, '/assign me')
steps:
- name: Assigning to commenter
run: |
curl \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/assignees \
-d '{"assignees":["${{ github.event.comment.user.login }}"]}'