From 98dd4cd37c8c5600d22e7f70e135b61380856e78 Mon Sep 17 00:00:00 2001 From: Niek Palm Date: Sun, 10 Nov 2024 16:23:42 +0100 Subject: [PATCH] add step security --- .github/workflows/release.yml | 2 +- .mega-linter.yml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 13632f9..6166cc5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,7 +61,7 @@ jobs: if: ${{ steps.release.outputs.release_created }} run: | yarn pack - echo "sha256=$(shasum -a 256 "action-docs-*.tgz" | cut -d ' ' -f 1)" >> $GITHUB_ENV + echo "sha256=$(shasum -a 256 \"action-docs-*.tgz\" | cut -d ' ' -f 1)" >> $GITHUB_ENV yarn publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.mega-linter.yml b/.mega-linter.yml index e784210..1ca41f4 100644 --- a/.mega-linter.yml +++ b/.mega-linter.yml @@ -32,6 +32,11 @@ DISABLE_LINTERS: - COPYPASTE_JSCPD - JAVASCRIPT_ES +DISABLE_ERRORS_LINTERS: + - SPELL_LYCHEE + - SPELL_PROSELINT + - SPELL_CSPELL + JSON_JSONLINT_FILTER_REGEX_EXCLUDE: (tsconfig.json) SPELL_LYCHEE_FILTER_REGEX_EXCLUDE: (CHANGELOG.md)