Skip to content

[perf] Add fast path for unescaped W3C baggage #100482

[perf] Add fast path for unescaped W3C baggage

[perf] Add fast path for unescaped W3C baggage #100482

name: check-no-merge-label

Check warning on line 1 in .github/workflows/check-no-merge-label.yml

View workflow run for this annotation

GitHub Actions / check-no-merge-label

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
permissions:
pull-requests: read
on:
pull_request_target:
types: [opened, edited, reopened, labeled, unlabeled, synchronize]
branches:
- 'main'
- 'release/**'
jobs:
check-labels:
if: github.repository == 'dotnet/runtime'
runs-on: ubuntu-slim
steps:
- name: Check 'NO-MERGE' label
run: |
echo "Merging permission is disabled when the 'NO-MERGE' label is applied."
if [ "${{ contains(github.event.pull_request.labels.*.name, 'NO-MERGE') }}" = "false" ]; then
exit 0
else
echo "::error:: The 'NO-MERGE' label was applied to the PR. Merging is disabled."
exit 1
fi