From 1ab56da9e12103b8676e245baeb7b2b149d59bb0 Mon Sep 17 00:00:00 2001 From: Erik Veld Date: Fri, 1 Aug 2025 16:55:35 +0200 Subject: [PATCH 1/3] allow triggering test actions workflow manually --- .github/workflows/test-actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-actions.yml b/.github/workflows/test-actions.yml index c15dccf..47bafbd 100644 --- a/.github/workflows/test-actions.yml +++ b/.github/workflows/test-actions.yml @@ -5,6 +5,7 @@ on: branches: [ main ] pull_request: branches: [ main ] + workflow_dispatch: jobs: test-setup: From e41c3de6d486688e3655892bfb0a207c614a9534 Mon Sep 17 00:00:00 2001 From: Erik Veld Date: Fri, 1 Aug 2025 16:56:50 +0200 Subject: [PATCH 2/3] Add workflow_dispatch trigger and fix branch references - Add workflow_dispatch to test-actions.yml for manual triggering - Fix branch references from main to master to match repo default --- .github/workflows/test-actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-actions.yml b/.github/workflows/test-actions.yml index 47bafbd..d391128 100644 --- a/.github/workflows/test-actions.yml +++ b/.github/workflows/test-actions.yml @@ -2,9 +2,9 @@ name: Test Actions on: push: - branches: [ main ] + branches: [ master ] pull_request: - branches: [ main ] + branches: [ master ] workflow_dispatch: jobs: From a9c7121d53906875f8d110101774d5c018f8d349 Mon Sep 17 00:00:00 2001 From: Erik Veld Date: Fri, 1 Aug 2025 16:59:19 +0200 Subject: [PATCH 3/3] Display validation output in console logs Add echo statements to show instruqt lab validate output directly in GitHub Actions console logs for better visibility. Output now appears in: - Console logs (for immediate visibility) - Job summaries (for persistent reports) - Action outputs (for other steps to consume) --- validate/action.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/validate/action.yml b/validate/action.yml index a669076..d3f3c50 100644 --- a/validate/action.yml +++ b/validate/action.yml @@ -38,6 +38,9 @@ runs: echo "status=success" >> $GITHUB_OUTPUT echo "::notice::Lab validation passed for $LAB_PATH" + # Display output in console + echo "$output" + # Store output { echo "output<> $GITHUB_OUTPUT + # Display output in console + echo "$output" + # Store output { echo "output<