Skip to content

Commit

Permalink
Add permissions to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
warriorzz authored May 8, 2024
1 parent 2241ba9 commit c4cf3a8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
contents: read
pages: write
id-token: write
actions: read
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && !contains(github.event.commits[0].message, '[skip ci]')
steps:
- name: Fetch Sources
Expand Down

0 comments on commit c4cf3a8

Please sign in to comment.