Skip to content

Commit 5b9d3bb

Browse files
authored
ci: Always run build on develop branch (#13404)
Noticed this here: https://github.com/getsentry/sentry-javascript/actions/runs/10417249817, when merging a markdown-only PR into develop, CI will not fully run there.
1 parent 195482c commit 5b9d3bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ jobs:
127127
runs-on: ubuntu-20.04
128128
timeout-minutes: 15
129129
if: |
130-
needs.job_get_metadata.outputs.changed_any_code == 'true' &&
130+
needs.job_get_metadata.outputs.changed_any_code == 'true' ||
131+
needs.job_get_metadata.outputs.is_develop == 'true' ||
132+
needs.job_get_metadata.outputs.is_release == 'true' ||
131133
(needs.job_get_metadata.outputs.is_gitflow_sync == 'false' && needs.job_get_metadata.outputs.has_gitflow_label == 'false')
132134
steps:
133135
- name: Check out base commit (${{ github.event.pull_request.base.sha }})

0 commit comments

Comments
 (0)