From 962e848e4068ad57ff89d26ebbac476ca486e85d Mon Sep 17 00:00:00 2001 From: Michael Kaply <345868+mkaply@users.noreply.github.com> Date: Mon, 20 Apr 2026 16:53:42 -0400 Subject: [PATCH] Update workflow to use allowed commands --- .github/workflows/release.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8417bcb..ca8e4f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,8 +45,10 @@ jobs: zip -r "policy_templates_${GITHUB_REF_NAME}.zip" docs/ mac/ windows/ linux/ LICENSE - name: Create GitHub Release - uses: softprops/action-gh-release@v2 - with: - name: ${{ github.ref_name }} - draft: true - files: policy_templates_${{ github.ref_name }}.zip + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh release create "${GITHUB_REF_NAME}" \ + --title "${GITHUB_REF_NAME}" \ + --draft \ + "policy_templates_${GITHUB_REF_NAME}.zip" -- 2.43.0