Skip to content

Commit

Permalink
ci: Always run build on develop branch (#13404)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mydea committed Aug 27, 2024
1 parent 195482c commit 5b9d3bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ jobs:
runs-on: ubuntu-20.04
timeout-minutes: 15
if: |
needs.job_get_metadata.outputs.changed_any_code == 'true' &&
needs.job_get_metadata.outputs.changed_any_code == 'true' ||
needs.job_get_metadata.outputs.is_develop == 'true' ||
needs.job_get_metadata.outputs.is_release == 'true' ||
(needs.job_get_metadata.outputs.is_gitflow_sync == 'false' && needs.job_get_metadata.outputs.has_gitflow_label == 'false')
steps:
- name: Check out base commit (${{ github.event.pull_request.base.sha }})
Expand Down

0 comments on commit 5b9d3bb

Please sign in to comment.