From c6cae501980f2890890ea0c64ee7a88af74b6c67 Mon Sep 17 00:00:00 2001 From: Sara Tavares <29093946+stavares843@users.noreply.github.com> Date: Wed, 9 Oct 2024 00:57:07 +0100 Subject: [PATCH] chore(ci): minor update (#173) Co-authored-by: Luis E <35935591+luisecm@users.noreply.github.com> --- .github/workflows/avoid-typos.yml | 39 +++++++++++++++++-------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/.github/workflows/avoid-typos.yml b/.github/workflows/avoid-typos.yml index f8f50343..5fe3d57e 100644 --- a/.github/workflows/avoid-typos.yml +++ b/.github/workflows/avoid-typos.yml @@ -1,21 +1,26 @@ name: reviewdog on: - pull_request: - types: [opened, synchronize, reopened, edited] + pull_request: + types: [opened, synchronize, reopened, edited] jobs: - misspell: - name: runner / misspell - runs-on: ubuntu-latest - steps: - - name: Check out code. - uses: actions/checkout@v4 - - name: misspell - uses: reviewdog/action-misspell@v1 - with: - github_token: ${{ secrets.github_token }} - locale: "US" - reporter: github-pr-review - level: error - exclude: | - ./node_modules/* + misspell: + name: runner / misspell + runs-on: ubuntu-latest + permissions: + checks: write + pull-requests: write + contents: write + issues: read + steps: + - name: Check out code. + uses: actions/checkout@v4.2.0 + - name: misspell + uses: reviewdog/action-misspell@v1.23.0 + with: + github_token: ${{ secrets.github_token }} + locale: "US" + reporter: github-pr-review + level: error + exclude: | + ./node_modules/*