Use NonZeroU64
for num_distinct_values
to avoid div-by-zero
#1542
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 merge labels | |
on: | |
pull_request: | |
types: [labeled, unlabeled] | |
merge_group: | |
permissions: read-all | |
jobs: | |
label_checks: | |
runs-on: ubuntu-latest | |
steps: | |
- id: manually_blocked | |
if: | | |
contains(github.event.pull_request.labels.*.name, 'do not merge') | |
run: | | |
echo "This is labeled \"Do not merge\"." | |
exit 1 |