Skip to content

fix: make copyright year dynamic & fix security audit issues #31

fix: make copyright year dynamic & fix security audit issues

fix: make copyright year dynamic & fix security audit issues #31

name: "Enforce Dev-to-Main Pipeline"
on:
pull_request:
branches:
- main
jobs:
ensure-dev-to-main:
runs-on: ubuntu-latest
steps:
- name: Verify source is dev
if: github.head_ref != 'dev'
env:
HEAD_REF: ${{ github.head_ref }}
run: |
echo "STOP: You are trying to merge '${HEAD_REF}' directly into main."
echo "All code must go through the 'dev' branch first."
exit 1