Skip to content

Bump pillow from 12.1.1 to 12.2.0 in /application/single_app #371

Bump pillow from 12.1.1 to 12.2.0 in /application/single_app

Bump pillow from 12.1.1 to 12.2.0 in /application/single_app #371

name: Enforce Branch Protection Flow (Development → Staging → Main)
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
enforce-branch-flow:
runs-on: ubuntu-latest
steps:
- name: Fail if PR→staging doesn't come from development
if: >
github.event.pull_request.base.ref == 'staging' &&
github.event.pull_request.head.ref != 'development'
run: |
echo "::error ::Pull requests into 'staging' must originate from branch 'development'."
exit 1
- name: Fail if PR→main doesn't come from staging
if: >
github.event.pull_request.base.ref == 'main' &&
github.event.pull_request.head.ref != 'staging'
run: |
echo "::error ::Pull requests into 'main' must originate from branch 'staging'."
exit 1
- name: Branch flow validated
run: echo "✅ Branch flow validation passed."