liatrio-enterprise / github-workflows

Reusable workflows for automation, CI and CD
Apache License 2.0
0 stars 0 forks source link

Add logic to validate that prod is proceed only by a dev branch #11

Open djtjwillia opened 2 years ago

djtjwillia commented 2 years ago

https://docs.github.com/en/actions/learn-github-actions/environment-variables

can check the base and head refs to make sure that no random branches are being merged directly to prod.