Skip to content

Commit

Permalink
Add write permission to the docs CI job
Browse files Browse the repository at this point in the history
For a job to be able to push to the repository, the token must have
write permissions.
  • Loading branch information
friendlyanon committed Apr 21, 2024
1 parent 5952ca5 commit 1bccab2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake-init/templates/common/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@ jobs:
&& github.repository_owner == '<name>'
&& false

permissons:
contents: write

steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 1bccab2

Please sign in to comment.