Skip to content

Commit 36d6245

Browse files
committed
tweaked workflow perms
1 parent 5d67083 commit 36d6245

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ permissions: read-all
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11-
permissions:
12-
packages: write
1311
steps:
1412
- name: Checkout
1513
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Publish package to GitHub Packages
22
on:
33
release:
44
types: [created]
5+
6+
# Declare default permissions as read only.
7+
permissions: read-all
8+
59
jobs:
610
publish:
711
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)