From d51f32bfb6089a819c5cbc536e851d46c4889bd8 Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Mon, 28 Aug 2023 14:10:03 +0200 Subject: [PATCH] CI: Fix GitHub Actions JSON runtime error in scheduled workflow Later conditional uses fromJSON expression which requires valid references. If this step is skipped, the used reference will be invalid (as the step has never run) and the entire expression will fail. --- .github/workflows/scheduled.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 02fa5da18..9f2381c2d 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -115,7 +115,6 @@ jobs: - name: Check for Changed Files ✅ uses: ./.github/actions/check-changes - if: fromJSON(steps.nightly-checks.outputs.passed) id: checks with: baseRef: ${{ steps.nightly-checks.outputs.lastNightly }}