ci: fix permissions for GITHUB_TOKEN in spell check workflow (#22545)

This commit is contained in:
auricom 2024-11-18 15:57:43 +01:00 committed by GitHub
parent 1b3aeb75d4
commit 9e36674378
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"