Cache V8 heap stats instead of querying them on every call #5270
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: 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." |