Skip to content

Commit

Permalink
Explicitly set GH_TOKEN permissions
Browse files Browse the repository at this point in the history
change-type: patch
  • Loading branch information
ab77 authored Nov 18, 2024
1 parent 5d839be commit e16e24a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/flowzone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,28 @@ on:
pull_request_target:
types: [opened, synchronize, closed]
branches: [main, master]

# Base permissions required by Flowzone
# https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#permissions
permissions:
actions: none
attestations: none
checks: none
contents: read
deployments: none
id-token: none
issues: none
discussions: none
pages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none

# Additional permissions needed by this repo, such as:
packages: write # Allow Flowzone to publish to ghcr.io

jobs:
flowzone:
name: Flowzone
Expand Down

0 comments on commit e16e24a

Please sign in to comment.