fix: Use structlog as the logging package, since simple_logger is not agent friendly #5076
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 | |
| concurrency: | |
| group: ${{ github.workflow }}-${{github.event.pull_request.number}} | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - 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 |