Skip to content

Improve construction of inline scripts with sourceURL, hardened JSON encoding, and exporting JSON in separate script #12557

Improve construction of inline scripts with sourceURL, hardened JSON encoding, and exporting JSON in separate script

Improve construction of inline scripts with sourceURL, hardened JSON encoding, and exporting JSON in separate script #12557

Workflow file for this run

name: Pull Request Validation
on:
pull_request:
branches:
- trunk
- 'release/**'
- 'feature/**'
types:
- labeled
- unlabeled
- milestoned
- demilestoned
- opened
- reopened
- synchronize
- edited
env:
LABELS: ${{ join( github.event.pull_request.labels.*.name, ' ' ) }}
jobs:
check-type-label:
name: Check [Type] Label
runs-on: ubuntu-latest
steps:
- if: contains( env.LABELS, '[Type]' ) == false
run: exit 1
check-milestone:
name: Check Milestone
runs-on: ubuntu-latest
steps:
- if: github.event.pull_request.milestone == null && contains( env.LABELS, 'no milestone' ) == false
run: exit 1