From acbe2be2d86dc1c1d839ea4ea2a3a3f56affdca6 Mon Sep 17 00:00:00 2001 From: Antony Chiu Date: Tue, 31 Mar 2026 22:08:54 -0600 Subject: [PATCH 1/2] Fix Mobb URL extraction to ensure valid URL format in output --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index 2a23d85..20c3e18 100644 --- a/action.yml +++ b/action.yml @@ -86,11 +86,13 @@ runs: exit $RETVAL fi OUT=$(echo $OUT | tr '\n' ' ') + OUT=$(echo "$OUT" | grep -oP 'https://\S+' | head -1) echo "fix-report-url=$OUT" >> $GITHUB_OUTPUT echo "Mobb URL: $OUT" shell: bash -l {0} - uses: Sibz/github-status-action@v1 + if: ${{ startsWith(steps.run-npx-mobb-dev.outputs.fix-report-url, 'https://') }} with: authToken: ${{ inputs.github-token }} context: "Mobb fix report link" From 884809c91b19d5dcd322b2cb23aaf2fec096266a Mon Sep 17 00:00:00 2001 From: Antony Chiu Date: Tue, 31 Mar 2026 22:14:06 -0600 Subject: [PATCH 2/2] Update Node.js version to 20 in action.yml --- action.yml | 4 ++-- review/action.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 20c3e18..97dc9e2 100644 --- a/action.yml +++ b/action.yml @@ -33,9 +33,9 @@ outputs: runs: using: "composite" steps: - - uses: actions/setup-node@v3.6.0 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - id: run-npx-mobb-dev run: | REPO=$(git remote get-url origin) diff --git a/review/action.yml b/review/action.yml index b369709..4416056 100644 --- a/review/action.yml +++ b/review/action.yml @@ -47,9 +47,9 @@ runs: name: vul-report path: results - - uses: actions/setup-node@v3.6.0 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - id: run-npx-mobb-dev run: |