Skip to content

Commit

Permalink
tweaked workflow perms
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy committed Mar 5, 2024
1 parent 5d67083 commit 36d6245
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Publish package to GitHub Packages
on:
release:
types: [created]

# Declare default permissions as read only.
permissions: read-all

jobs:
publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 36d6245

Please sign in to comment.