Hey guys I have a bicep workflow, I am trying to run bicep-plan on pull request creation which I have done.
then I have bicep deploy and I want it to run on pull request base main branch only and only run when the pull request is closed or merged but when I run my code it just skips the job
I removed the function of the code and just left the skeleton to show it easier
bicep-deploy:
name: 'Bicep Deploy'
runs-on: ubuntu-latest
if: github.base_ref == 'main' && github.event.pull_request.merged == true
Keagan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.