Harden workplace fork and align Codex runtime parity #6
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: Workplace target guard | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| permissions: | |
| contents: read | |
| jobs: | |
| require-workplace-target: | |
| if: github.repository == 'SlowGreek/t3code' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Require codex-workplace base | |
| env: | |
| BASE_REF: ${{ github.base_ref }} | |
| run: | | |
| if [ "$BASE_REF" != "codex-workplace" ]; then | |
| echo "::error::Fork product changes must target codex-workplace, not $BASE_REF." | |
| exit 1 | |
| fi |