Use wait_for_pods_by_labels() instead of direct api call #2693
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@v5 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - 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 |