Skip to content

Commit

Permalink
ci: fix permissions for GITHUB_TOKEN in spell check workflow (#22545)
Browse files Browse the repository at this point in the history
  • Loading branch information
auricom authored Nov 18, 2024
1 parent 1b3aeb7 commit 9e36674
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/misspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
schedule:
- cron: "0 12 * * *"

permissions:
contents: write
pull-requests: write

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -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"
Expand Down

0 comments on commit 9e36674

Please sign in to comment.