[stdlib] [NFC] Fix revert python format with ruff inside stdlib folder #5820
Workflow file for this run
This file contains 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: Check PR target branch | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, reopened, ready_for_review] | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
check-pr-target: | |
name: Check PR target branch | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Fail if not targeting nightly branch | |
if: ${{ github.base_ref != 'nightly' }} | |
run: | | |
echo "PRs must be targeted to merge to the nightly branch!" | |
echo "PR is currently targeting: \"${{ github.base_ref }}\"" | |
exit 1 |