From e3b59770b150d55f9741655c0abc6a16554f2748 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 26 Nov 2026 11:39:45 +0000 Subject: [PATCH] Harden the release workflow by removing template expansions. --- .github/workflows/release-wporg.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-wporg.yml b/.github/workflows/release-wporg.yml index a44ee372d..adea793a5 100644 --- a/.github/workflows/release-wporg.yml +++ b/.github/workflows/release-wporg.yml @@ -39,8 +39,9 @@ jobs: - name: Resolve tag id: resolve + env: + TAG: ${{ inputs.tag }} run: | - TAG="${{ inputs.tag }}" # Ensure the tag has a "v" prefix. [[ "$TAG" == v* ]] || TAG="v$TAG" echo "tag=$TAG" >> $GITHUB_OUTPUT @@ -58,8 +59,10 @@ jobs: unzip plugin-sqlite-database-integration.zip - name: Verify release metadata + env: + VERSION: ${{ steps.resolve.outputs.version }} run: | - bash bin/verify-release-metadata.sh plugin-sqlite-database-integration "${{ steps.resolve.outputs.version }}" + bash bin/verify-release-metadata.sh plugin-sqlite-database-integration "$VERSION" - name: Deploy to WordPress.org uses: 10up/action-wordpress-plugin-deploy@2.3.0