Skip to content

Set token permissions in workflows. #223

Set token permissions in workflows.

Set token permissions in workflows. #223

# Automatically assigns the author who created the PR to the Assignees in GitHub.
name: PR Author Assign
permissions: read-all
on:
pull_request_target:
types: [ opened, reopened ]
permissions:
pull-requests: write
jobs:
assign-author:
runs-on: ubuntu-latest
steps:
- uses: toshimaru/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"