fix: export names of client secrets must be unique, add aws_region to client secrets in secrets manager #51
This file contains 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: Gitflow enforcer 🚀 | |
on: | |
pull_request: | |
branches: | |
- main | |
- dev | |
- production | |
types: [ opened, reopened, edited, synchronize ] | |
jobs: | |
gitflow-enforcer: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check branch | |
if: github.base_ref == 'main' && github.head_ref != 'dev' || github.base_ref == 'production' && github.head_ref != 'main' | |
run: | | |
echo "ERROR: You can only merge to main from dev and to production from main" | |
exit 1 |