Skip to content

Commit 39464c1

Browse files
authored
Merge pull request #18 from rust-lang/disable-action-test-job-in-forks
disable action-test job in forks
2 parents 591aa2e + 31e5dcc commit 39464c1

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)