diff --git a/.github/workflows/diff-change-to-dist.yaml b/.github/workflows/diff-change-to-dist.yaml index fc885a54e0..468da1acdc 100644 --- a/.github/workflows/diff-change-to-dist.yaml +++ b/.github/workflows/diff-change-to-dist.yaml @@ -46,7 +46,7 @@ jobs: - name: Add comment to PR uses: actions/github-script@v6.4.1 with: - github-token: ${{secrets.GITHUB_TOKEN}} + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { commentDiffs } = await import('${{ github.workspace }}/.github/workflows/scripts/comments.mjs') diff --git a/.github/workflows/stats-comment.yml b/.github/workflows/stats-comment.yml index 21cb5a0a1d..9a517ce33e 100644 --- a/.github/workflows/stats-comment.yml +++ b/.github/workflows/stats-comment.yml @@ -26,7 +26,7 @@ jobs: - name: Add comment to PR uses: actions/github-script@v6.4.1 with: - github-token: ${{secrets.GITHUB_TOKEN}} + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { commentStats } = await import('${{ github.workspace }}/.github/workflows/scripts/comments.mjs') // PR information diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d906b1c4a5..2c4ebad650 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -66,6 +66,11 @@ jobs: runs-on: ${{ matrix.runner }} needs: [install] + env: + # Authorise GitHub API requests for EditorConfig checker binary + # https://www.npmjs.com/package/editorconfig-checker + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + strategy: fail-fast: false