Skip to content

Commit a5da72e

Browse files
add check for if there are samples to be checked under validate samples job.
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
1 parent 88722d5 commit a5da72e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/validate-samples.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,5 @@ jobs:
5858
run: echo "STACKS=$(bash tests/build_parents_file.sh)" >> $GITHUB_ENV
5959

6060
- name: Validate samples
61+
if: ${{ env.STACKS != '' }}
6162
run: STACKS_DIR=$(pwd)/samples/.cache bash tests/validate_devfile_schemas.sh

0 commit comments

Comments
 (0)