Skip to content

Promote stale pending user-input restart fix to production #1

Promote stale pending user-input restart fix to production

Promote stale pending user-input restart fix to production #1

name: Production Source Guard
on:
pull_request:
branches:
- production
jobs:
require-main-source:
name: Require main as PR source
runs-on: ubuntu-latest
steps:
- name: Validate source branch
run: |
if [ "${{ github.head_ref }}" != "main" ]; then
echo "Production promotions must come from main; received '${{ github.head_ref }}'." >&2
exit 1
fi