From 9e3667437806313381a9e91eba4d795d6b0b8fd5 Mon Sep 17 00:00:00 2001 From: auricom <27022259+auricom@users.noreply.github.com> Date: Mon, 18 Nov 2024 15:57:43 +0100 Subject: [PATCH] ci: fix permissions for GITHUB_TOKEN in spell check workflow (#22545) --- .github/workflows/misspell.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/misspell.yml b/.github/workflows/misspell.yml index 9103a610e7c1..641ee2d356a4 100644 --- a/.github/workflows/misspell.yml +++ b/.github/workflows/misspell.yml @@ -5,6 +5,10 @@ on: schedule: - cron: "0 12 * * *" +permissions: + contents: write + pull-requests: write + jobs: build: runs-on: ubuntu-latest @@ -19,7 +23,6 @@ jobs: - uses: peter-evans/create-pull-request@v7 if: github.event_name != 'pull_request' with: - token: ${{ secrets.PRBOT_PAT }} commit-message: "chore: spelling errors fixes" title: "chore: fix spelling errors" branch: "bot/fix-typos"