File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ jobs:
242242 run : rustup update nightly && rustup default nightly
243243 - run : ci/no_atomic_cas.sh
244244 - run : git add -N . && git diff --exit-code
245- if : github.event_name != 'schedule'
245+ if : github.repository_owner != 'rust-lang' || github. event_name != 'schedule'
246246 - id : diff
247247 run : |
248248 git config user.name "Taiki Endo"
@@ -253,7 +253,7 @@ jobs:
253253 git commit -m "Update no_atomic_cas.rs"
254254 echo "::set-output name=success::false"
255255 fi
256- if : github.event_name == 'schedule'
256+ if : github.repository_owner == 'rust-lang' && github. event_name == 'schedule'
257257 - uses : peter-evans/create-pull-request@v3
258258 with :
259259 title : Update no_atomic_cas.rs
@@ -264,7 +264,7 @@ jobs:
264264 [1]: https://github.com/peter-evans/create-pull-request
265265 [2]: https://github.com/peter-evans/create-pull-request/blob/HEAD/docs/concepts-guidelines.md#workarounds-to-trigger-further-workflow-runs
266266 branch : update-no-atomic-cas-rs
267- if : github.event_name == 'schedule' && steps.diff.outputs.success == 'false'
267+ if : github.repository_owner == 'rust-lang' && github. event_name == 'schedule' && steps.diff.outputs.success == 'false'
268268
269269 miri :
270270 name : cargo miri test
You can’t perform that action at this time.
0 commit comments