new github action to auto-assign PR to author #1
Workflow file for this run
This file contains hidden or 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 every PR to its author when opened | |
| on: | |
| pull_request: | |
| types: [opened] | |
| jobs: | |
| auto-assign: | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| # Only run one at a time for each user. | |
| group: ${{ github.actor }}-issue-assign | |
| steps: | |
| - uses: actions-ecosystem/action-add-assignees@v1 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| assignees: ${{ github.actor }} |