fix: make copyright year dynamic & fix security audit issues #31
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: "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 |