From 51482470c09710dfb4c4aeefb5282e4ff58d9e68 Mon Sep 17 00:00:00 2001 From: Evan Huus Date: Tue, 5 May 2026 16:43:47 -0400 Subject: [PATCH] Fix script injection --- .github/workflows/changie-gen.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/changie-gen.yaml b/.github/workflows/changie-gen.yaml index 4d8f3e3..1a457eb 100644 --- a/.github/workflows/changie-gen.yaml +++ b/.github/workflows/changie-gen.yaml @@ -39,14 +39,19 @@ jobs: echo "No changelog exists for this PR, creating a new one" fi + - name: Install changie + if: >- + github.event.workflow_run.conclusion == 'success' && + steps.changelog_check.outputs.exists == 'false' + run: go install github.com/miniscruff/changie@v1.23.0 + - name: Create changie log if: >- github.event.workflow_run.conclusion == 'success' && steps.changelog_check.outputs.exists == 'false' - uses: miniscruff/changie-action@v2 - with: - version: v1.23.0 - args: new --kind Dependency --body "${{ github.event.workflow_run.display_title }}" + env: + CHANGIE_BODY: ${{ github.event.workflow_run.display_title }} + run: changie new --kind Dependency --body "$CHANGIE_BODY" - name: Commit & Push changes if: >-