Skip to content

Move to Google OAuth for verification #36

Move to Google OAuth for verification

Move to Google OAuth for verification #36

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 }}"]}'