Skip to content

Commit 241fbe6

Browse files
committed
Conditional "check-git"
1 parent 1072ae6 commit 241fbe6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build_test_push.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ env:
5555
jobs:
5656
check-git:
5757
runs-on: ubuntu-latest
58+
# This will block all other jobs from running due to "needs"
59+
if: |
60+
${{ inputs.skip_test == 'false' || (
61+
github.repository == 'logicalclocks/rondb-docker' &&
62+
(startsWith(github.ref_name, 'release-') || github.ref_name == 'main')
63+
)}}
5864
outputs:
5965
is_highest_release: ${{ steps.is_highest_release.outputs.is_highest }}
6066
steps:

0 commit comments

Comments
 (0)