Add the open_fds
metric to the docs
#12832
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: Labels | |
on: | |
pull_request: | |
types: | |
- opened | |
- labeled | |
- unlabeled | |
- synchronize | |
jobs: | |
check-labels: | |
name: Check Labels | |
runs-on: ubuntu-latest | |
steps: | |
- name: No Labels | |
run: | | |
# Fail if the PR has no labels. | |
echo '${{ toJson(github.event.pull_request.labels.*.name) }}' | | |
jq -re 'length > 0' | |
- name: Blocked | |
run: | | |
# Fail if the PR has the 'blocked' label. | |
echo '${{ toJson(github.event.pull_request.labels.*.name) }}' | | |
jq -re 'all(. != "blocked")' |