@@ -140,7 +140,7 @@ jobs:
140
140
is_develop : ${{ github.ref == 'refs/heads/develop' }}
141
141
is_release : ${{ startsWith(github.ref, 'refs/heads/release/') }}
142
142
# When merging into master, or from master
143
- is_gitflow_sync : ${{ github.head_ref == 'refs/heads/ master' || github.ref == 'refs/heads/master' }}
143
+ is_gitflow_sync : ${{ github.head_ref == 'master' || github.ref == 'refs/heads/master' }}
144
144
has_gitflow_label :
145
145
${{ github.event_name == 'pull_request' && contains(steps.pr-labels.outputs.labels, ' Gitflow ') }}
146
146
force_skip_cache :
@@ -181,6 +181,21 @@ jobs:
181
181
outputs :
182
182
dependency_cache_key : ${{ steps.compute_lockfile_hash.outputs.hash }}
183
183
184
+ job_check_branches :
185
+ name : Check PR branches
186
+ needs : job_get_metadata
187
+ runs-on : ubuntu-20.04
188
+ if : github.event_name == 'pull_request'
189
+ permissions :
190
+ pull-requests : write
191
+ steps :
192
+ - name : PR is opened against master
193
+ uses : mshick/add-pr-comment@v2
194
+ if : ${{ github.base_ref == 'master' && github.head_ref != 'develop' }}
195
+ with :
196
+ message : |
197
+ ⚠️ This PR is opened against **master**. You probably want to open it against **develop**.
198
+
184
199
job_build :
185
200
name : Build
186
201
needs : [job_get_metadata, job_install_deps]
@@ -709,6 +724,7 @@ jobs:
709
724
job_browser_playwright_tests,
710
725
job_browser_integration_tests,
711
726
job_remix_integration_tests,
727
+ job_e2e_tests,
712
728
]
713
729
# Always run this, even if a dependent job failed
714
730
if : always()
0 commit comments