Skip to content

Commit 869a13b

Browse files
committed
Add explicit auth to CI
1 parent 14d71bb commit 869a13b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yml

+8
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ jobs:
6565
name: proj ubuntu
6666
if: "!contains(github.event.head_commit.message, '[skip ci]')"
6767
runs-on: ubuntu-latest
68+
permissions:
69+
packages: read
6870
needs: compute
6971
strategy:
7072
fail-fast: false
@@ -95,6 +97,8 @@ jobs:
9597
name: proj macos
9698
if: "!contains(github.event.head_commit.message, '[skip ci]')"
9799
runs-on: macos-latest
100+
permissions:
101+
packages: read
98102
strategy:
99103
fail-fast: false
100104
matrix:
@@ -109,6 +113,8 @@ jobs:
109113
name: proj-sys ubuntu
110114
if: "!contains(github.event.head_commit.message, '[skip ci]')"
111115
runs-on: ubuntu-latest
116+
permissions:
117+
packages: read
112118
needs: compute
113119
defaults:
114120
run:
@@ -160,6 +166,8 @@ jobs:
160166
name: proj-sys macos
161167
if: "!contains(github.event.head_commit.message, '[skip ci]')"
162168
runs-on: macos-latest
169+
permissions:
170+
packages: read
163171
env:
164172
_PROJ_SYS_TEST_EXPECT_BUILD_FROM_SRC: 0
165173
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: TRUE

0 commit comments

Comments
 (0)