Skip to content

Commit

Permalink
Add permissions to README (#1132)
Browse files Browse the repository at this point in the history
  • Loading branch information
danyeaw committed Jun 2, 2022
1 parent af33406 commit 69416f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -26,8 +26,14 @@ on:
# pull_request_target:
# types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
update_release_draft:
permissions:
contents: write # for release-drafter/release-drafter to create a github release
pull-requests: write # for release-drafter/release-drafter to add label to PR
runs-on: ubuntu-latest
steps:
# (Optional) GitHub Enterprise requires GHE_HOST variable set
Expand Down

0 comments on commit 69416f4

Please sign in to comment.