diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index 65131bdb5..53b9bb0b1 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -5,9 +5,6 @@ on: paths: - '**/*.sh' -env: - GH_TOKEN: ${{ github.token }} - jobs: shellcheck: name: Shellcheck @@ -17,7 +14,7 @@ jobs: - name: Run the sh-checker uses: luizm/action-sh-checker@master env: - GITHUB_TOKEN: ${{ env.GH_TOKEN}} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} SHELLCHECK_OPTS: --source-path=${{ github.workspace }}/.shellcheckrc SHFMT_OPTS: -s -i 4 -ci with: