Document GITHUB_TOKEN permissions

Required to support MULTI_STATUS (which is true by default)
This commit is contained in:
Leith Caldwell 2023-04-12 16:32:47 +12:00 committed by Brett Logan
parent d90a5dcb97
commit 2307d9a099
2 changed files with 16 additions and 0 deletions

View file

@ -156,6 +156,14 @@ jobs:
# Set the agent to run on # Set the agent to run on
runs-on: ubuntu-latest runs-on: ubuntu-latest
############################################
# Grant status permission for MULTI_STATUS #
############################################
permissions:
contents: read
packages: read
statuses: write
################## ##################
# Load all steps # # Load all steps #
################## ##################

View file

@ -31,6 +31,14 @@ jobs:
# Set the agent to run on # Set the agent to run on
runs-on: ubuntu-latest runs-on: ubuntu-latest
############################################
# Grant status permission for MULTI_STATUS #
############################################
permissions:
contents: read
packages: read
statuses: write
################## ##################
# Load all steps # # Load all steps #
################## ##################