Skip to content

Update package index with latest published versions #34689

Update package index with latest published versions

Update package index with latest published versions #34689

Workflow file for this run

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@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
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')
}