Add data ingestion quickstart for processing custom data #44611
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@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 | |
| 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') | |
| } |