Repository navigation
Managed ilasm: honour explicit local slots, scope local names lexically, and emit LocalScope/LocalVariable rows #103379
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-no-merge-label | ||
|
Check warning on line 1 in .github/workflows/check-no-merge-label.yml
|
||
| 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 | ||