Skip to content

[stdlib] Rename List.size to List._len and refactor usage of the field to use the public API #6155

[stdlib] Rename List.size to List._len and refactor usage of the field to use the public API

[stdlib] Rename List.size to List._len and refactor usage of the field to use the public API #6155

Workflow file for this run

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