Skip to content

Bump the dotnet group with 1 update #38530

Bump the dotnet group with 1 update

Bump the dotnet group with 1 update #38530

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@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
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')
}