From 4f39ec7e461b1f1f9b9cb77d5f15a7c982df6caf Mon Sep 17 00:00:00 2001 From: Niek Palm Date: Sun, 10 Nov 2024 16:34:00 +0100 Subject: [PATCH] add step security --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6166cc5..ce28136 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,7 +61,8 @@ jobs: if: ${{ steps.release.outputs.release_created }} run: | yarn pack - echo "sha256=$(shasum -a 256 \"action-docs-*.tgz\" | cut -d ' ' -f 1)" >> $GITHUB_ENV + # shellcheck disable=SC2086 + echo "sha256=$(shasum -a 256 action-docs-*.tgz | cut -d ' ' -f 1)" >> $GITHUB_ENV yarn publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}