Skip to content

Commit

Permalink
feat(release)!: Remove contents: read permissions (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris3ware authored Aug 27, 2024
1 parent 542520d commit 10aa9ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/get-workflow-token.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ on:
description: The temporary installation access token
value: ${{ jobs.get-temp-token.outputs.token }}

# Declare default permissions as read only.
permissions:
contents: read
# Disable permissions for all available scopes
permissions: {}

jobs:
get-temp-token:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ on:
push:
branches: [main]

# Declare default permissions as read only.
permissions:
contents: read
# Disable permissions for all available scopes
permissions: {}

jobs:
get-temp-token:
Expand Down

0 comments on commit 10aa9ec

Please sign in to comment.