Skip to content

Added keyword feature in watcher, resolve touch comman miss bug #4

Added keyword feature in watcher, resolve touch comman miss bug

Added keyword feature in watcher, resolve touch comman miss bug #4

name: Main Promotion Guard
on:
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
require-develop-head:
name: Require develop -> main
runs-on: ubuntu-latest
steps:
- name: Enforce source branch
run: |
echo "PR head branch: ${{ github.head_ref }}"
if [ "${{ github.head_ref }}" != "develop" ]; then
echo "::error::PRs into main must come from the develop branch."
exit 1
fi