GitHub Actionsの設定を修正して'Resource not accessible by integration'エラーを解消 #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Assign | |
on: | |
issues: | |
types: [opened] | |
pull_request: | |
types: [opened] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- name: 'Auto-assign issue' | |
uses: pozil/auto-assign-issue@v1 | |
with: | |
repo-token: ${{ secrets.OG_TOKEN }} | |
assignees: ${{ github.event.pull_request.user.login }} | |
numOfAssignee: 1 |