create release notes for 26h1 release on 2b #46343
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: Base branch checker | |
| on: [pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| live_protection_job: | |
| name: Check base branch | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd | |
| env: | |
| LIVE_BASE: ${{ github.base_ref == 'live' && github.head_ref != 'main' }} | |
| with: | |
| script: | | |
| if (process.env.LIVE_BASE == 'true') { | |
| core.setFailed('PR targets live branch') | |
| } |