From 887776610cf779899bd546df0d6bbb971f5f5ec6 Mon Sep 17 00:00:00 2001 From: Samuel Date: Thu, 7 May 2026 08:25:29 +0200 Subject: [PATCH] feat(release): pass JSON arrays with double quotes The GEWIS docker-release workflow now strictly JSON.parses the `projects` and `docker-paths` inputs (`SyntaxError: Unexpected token ', "['.']" is not valid JSON`). YAML-double-quoted strings containing single-quoted JSON aren't valid JSON. Switch to single-quoted YAML wrapping double-quoted JSON arrays, matching the example in GEWIS/actions README. --- .github/workflows/semantic-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index f1a1d3e..b9adfb6 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -14,10 +14,10 @@ jobs: needs: versioning if: ${{ needs.versioning.outputs.next-version != '' }} with: - projects: "['.']" + projects: '["."]' version: ${{ needs.versioning.outputs.next-version }} docker-registry: "abc.docker-registry.gewis.nl" - docker-paths: "['eou/plankapi']" + docker-paths: '["eou/plankapi"]' github-registry: "true" secrets: REGISTRY_USERNAME: ${{ secrets.SVC_GH_ABCEOU_USERNAME }}