Skip to content

Commit 7e64aa4

Browse files
committed
Fix up github CI
1 parent 126601f commit 7e64aa4

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/workflow.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,11 @@ jobs:
5656
mepo clone --partial blobless
5757
mepo status
5858
59+
- name: Debug PR branch
60+
run: echo "PR is coming from ${{ github.event.pull_request.head.ref }}"
61+
5962
- name: Update other branches
60-
if:
61-
"!contains('refs/heads/main,refs/heads/develop', github.ref)"
63+
if: ${{ github.event.pull_request.head.ref != 'main' && github.event.pull_request.head.ref != 'develop' }}
6264
run: |
6365
mepo checkout-if-exists ${GITHUB_HEAD_REF}
6466
mepo status
@@ -112,9 +114,11 @@ jobs:
112114
mepo clone --partial blobless
113115
mepo status
114116
117+
- name: Debug PR branch
118+
run: echo "PR is coming from ${{ github.event.pull_request.head.ref }}"
119+
115120
- name: Update other branches
116-
if:
117-
"!contains('refs/heads/main,refs/heads/develop', github.ref)"
121+
if: ${{ github.event.pull_request.head.ref != 'main' && github.event.pull_request.head.ref != 'develop' }}
118122
run: |
119123
mepo checkout-if-exists ${GITHUB_HEAD_REF}
120124
mepo status

0 commit comments

Comments
 (0)