Skip to content

Commit 31e5dcc

Browse files
committed
disable action-test job in forks
1 parent 591aa2e commit 31e5dcc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ jobs:
9898
action-test:
9999
name: Action Test
100100
runs-on: ubuntu-24.04
101+
# This job fails in forks, because it requires `id-token: write` permission.
102+
if: github.repository_owner == 'rust-lang'
101103

102104
# Required for OpenID Connect token retrieval.
103105
permissions:
@@ -182,7 +184,6 @@ jobs:
182184
- format
183185
- zizmor
184186
- package
185-
- action-test
186187
- rustfmt
187188
- clippy
188189
# !cancelled() executes the job regardless of whether the previous jobs passed, failed or get skipped.

0 commit comments

Comments
 (0)