File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 1313
1414#
1515# Establish when the workflow is run
16- # What we want is that a release is made whenever we merge into master. Here is an example:
17- # if: ${{ github.event_name == 'pull_request' && github.event.pull_request.merged == true && github.base_ref == 'refs/heads/main' }}
18- # But really, we can also just say that a push into master causes a release. Whether that must come from a PR
19- # can be controlled via branch protection
2016
2117on :
2218 push :
3430 steps :
3531
3632 - name : Determine whether this is a release build
37- if : ${{ github.event_name == 'pull_request' && github.base_ref == 'main' }}
33+ if : ${{ github.event_name == 'pull_request' && github.base_ref == 'refs/heads/ main' }}
3834 env :
3935 IS_RELEASE : " true"
4036 run : echo "We will be performing a release upon success"
You can’t perform that action at this time.
0 commit comments