Repository navigation
[None][infra] Waive 1 failed cases for main in pre-merge 64813 #8079
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 PR to Author | ||
|
Check warning on line 1 in .github/workflows/auto-assign-author.yml
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened] | ||
| jobs: | ||
| assign-author: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| pull-requests: write # Required to modify the PR | ||
| steps: | ||
| - name: Assign PR to Author | ||
| env: | ||
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| PR_URL: ${{ github.event.pull_request.html_url }} | ||
| AUTHOR: ${{ github.actor }} | ||
| run: gh pr edit $PR_URL --add-assignee $AUTHOR || echo "Could not assign $AUTHOR (not a collaborator), skipping." | ||