We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da81df0 commit 69ecce5Copy full SHA for 69ecce5
.github/workflows/pipelines.yml
@@ -4,7 +4,7 @@ on:
4
branches: [dev,release ]
5
pull_request:
6
types:
7
- - opened
+ - closed
8
branches:
9
- main
10
env:
@@ -42,7 +42,7 @@ jobs:
42
nutter run "$DEV_DIRECTORY/unit-tests/" --cluster_id $CLUSTER_ID --recursive --junit_report --timeout 500
43
44
OnRelease:
45
- if: github.ref_name == 'main'
+ if: github.event.pull_request.merged == true and startsWith(github.head_ref, 'main')
46
environment: prod
47
needs: OnPush
48
runs-on: ubuntu-latest
0 commit comments