From 526374e04aeafab17aba307514419f3dc129e959 Mon Sep 17 00:00:00 2001 From: shubham-mermaid Date: Tue, 15 Jul 2025 00:40:44 +0530 Subject: [PATCH] on-behalf-of: @Mermaid-Chart --- .github/workflows/validate-lockfile.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/validate-lockfile.yml b/.github/workflows/validate-lockfile.yml index 6eb0a63ca..41c9b960e 100644 --- a/.github/workflows/validate-lockfile.yml +++ b/.github/workflows/validate-lockfile.yml @@ -35,7 +35,7 @@ jobs: # 2) No unwanted vitepress paths if grep -qF 'packages/mermaid/src/vitepress' pnpm-lock.yaml; then - issues+=("• Disallowed path 'packages/mermaid/src/vitepress' present. Run `rm -rf packages/mermaid/src/vitepress && pnpm install` to regenerate.") + issues+=("• Disallowed path 'packages/mermaid/src/vitepress' present. Run \`rm -rf packages/mermaid/src/vitepress && pnpm install\` to regenerate.") fi # 3) Lockfile only changes when package.json changes @@ -46,12 +46,11 @@ jobs: # If any issues, output them and fail if [ ${#issues[@]} -gt 0 ]; then - # Use the new GITHUB_OUTPUT approach to set a multiline output { echo "errors<> $GITHUB_OUTPUT + } >> "$GITHUB_OUTPUT" exit 1 fi @@ -63,6 +62,7 @@ jobs: issue-number: ${{ github.event.pull_request.number }} body: | The following issue(s) were detected: + ${{ steps.validate.outputs.errors }} Please address these and push an update.