chore: automated python requirements upgrades #3829
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: Remove automerge label | |
| on: | |
| # pull_request_target is required to remove labels from PRs from forks; the | |
| # workflow does not check out or execute untrusted PR code. | |
| pull_request_target: # zizmor: ignore[dangerous-triggers] | |
| types: [closed] | |
| permissions: | |
| contents: read | |
| jobs: | |
| remove-automerge-label: | |
| runs-on: ubuntu-slim | |
| if: github.event.pull_request.merged == true | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - name: Remove automerge label | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GH_REPO: ${{ github.repository }} | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| # The label may not be present; don't fail the job in that case. | |
| run: gh pr edit "$PR_NUMBER" --remove-label automerge || true |