If user is not found, handle PR assigning failure gracefully #679
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: PR Size Labeler | |
| on: | |
| pull_request_target: | |
| types: [opened, synchronize] | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| jobs: | |
| add-pr-size-label: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Run size labeler | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GITHUB_PR_NUMBER: ${{github.event.pull_request.number}} | |
| GITHUB_EVENT_ACTION: ${{github.event.action}} | |
| GITHUB_EVENT_NAME: ${{github.event_name}} | |
| ACTION: "add-pr-size-label" | |
| run: uv run python .github/workflows/scripts/pr_workflow.py |