From 9c24f99e72ba7e6b5948dfeda83d1a4db800a6b6 Mon Sep 17 00:00:00 2001 From: Daniel Graham Date: Thu, 21 May 2026 11:23:34 -0700 Subject: [PATCH 1/4] fix: move template variables into ENV --- .github/workflows/release.yml | 11 +++++++---- .vscode/settings.json | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c634ae06..7fa248a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,15 +18,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Check branch protection + env: + RELEASE_TYPE: ${{ github.event.inputs.releaseType }} + REF_NAME: ${{ github.ref_name }} run: | - if [ "${{ github.event.inputs.releaseType }}" == "dry-run" ]; then + if [ "$RELEASE_TYPE" == "dry-run" ]; then echo "✅ Branch check skipped: dry-run mode allows any branch" - echo "Current branch: ${{ github.ref_name }}" + echo "Current branch: $REF_NAME" exit 0 fi - if [ "${{ github.ref_name }}" != "v8.x" ]; then + if [ "$REF_NAME" != "v8.x" ]; then echo "❌ This workflow can only be triggered from the v8.x branch." - echo "Current branch: ${{ github.ref_name }}" + echo "Current branch: $REF_NAME" exit 1 fi echo "✅ Branch check passed: running from v8.x" diff --git a/.vscode/settings.json b/.vscode/settings.json index d7ff04ac..4eed870b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "editor.codeActionsOnSave": { - "source.fixAll": true + "source.fixAll": "explicit" }, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnType": true, From 2ecd7ed52c03bf5bbf50b6b638076cca4ac2f63f Mon Sep 17 00:00:00 2001 From: Daniel Graham Date: Thu, 21 May 2026 11:25:46 -0700 Subject: [PATCH 2/4] again --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 4eed870b..d7ff04ac 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "editor.codeActionsOnSave": { - "source.fixAll": "explicit" + "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnType": true, From f2c909a07a5b7a22319d99c5bdabc2e711a050aa Mon Sep 17 00:00:00 2001 From: Daniel Graham Date: Thu, 21 May 2026 11:26:27 -0700 Subject: [PATCH 3/4] again --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index d7ff04ac..4eed870b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "editor.codeActionsOnSave": { - "source.fixAll": true + "source.fixAll": "explicit" }, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnType": true, From 5743b536e34489cffe025b182325e6973c7464bc Mon Sep 17 00:00:00 2001 From: Daniel Graham Date: Thu, 21 May 2026 11:26:45 -0700 Subject: [PATCH 4/4] again --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 4eed870b..d7ff04ac 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "editor.codeActionsOnSave": { - "source.fixAll": "explicit" + "source.fixAll": true }, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnType": true,