Skip to content

Commit 135af0f

Browse files
authored
fix(ci): skip new-commit check on manual fixture release dispatches (#3202)
1 parent 5fa5938 commit 135af0f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release_fixtures.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ jobs:
6767
# A cached release skips the fill: `build` (and with it `combine`)
6868
# keys off `run`, and the release job downloads the resolved
6969
# nightly's artifact and tags the commit it was built from.
70-
run: ${{ (inputs.cached || inputs.commit != '') && 'false' || steps.check.outputs.run }}
70+
# Manual dispatches skip the new-commit check (its script may not
71+
# exist on the checked-out devnet branch) and default to `true`.
72+
run: ${{ (inputs.cached || inputs.commit != '') && 'false' || steps.check.outputs.run || 'true' }}
7173
build_matrix: ${{ steps.matrix.outputs.build_matrix }}
7274
feature_name: ${{ steps.matrix.outputs.feature_name }}
7375
combine_labels: ${{ steps.matrix.outputs.combine_labels }}
@@ -95,6 +97,7 @@ jobs:
9597

9698
- name: Check for new commits (scheduled runs)
9799
id: check
100+
if: github.event_name == 'schedule'
98101
env:
99102
GH_TOKEN: ${{ github.token }}
100103
run: |

0 commit comments

Comments
 (0)