Skip to content

Cache V8 heap stats instead of querying them on every call #5270

Cache V8 heap stats instead of querying them on every call

Cache V8 heap stats instead of querying them on every call #5270

name: Check merge labels
on:
pull_request:
types: [opened, reopened, synchronize, labeled, unlabeled]
merge_group:
permissions: read-all
jobs:
label_checks:
name: Check merge labels
runs-on: ubuntu-latest
steps:
- if: github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'do not merge')
run: |
echo "This is labeled \"Do not merge\"."
exit 1
# If we're in a merge queue, the PR has already passed checks these checks before being added to the queue.
- if: github.event_name == 'merge_group'
run: echo "Merge group run; skipping merge-label checks."