File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ jobs:
242
242
run : rustup update nightly && rustup default nightly
243
243
- run : ci/no_atomic_cas.sh
244
244
- 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'
246
246
- id : diff
247
247
run : |
248
248
git config user.name "Taiki Endo"
@@ -253,7 +253,7 @@ jobs:
253
253
git commit -m "Update no_atomic_cas.rs"
254
254
echo "::set-output name=success::false"
255
255
fi
256
- if : github.event_name == 'schedule'
256
+ if : github.repository_owner == 'rust-lang' && github. event_name == 'schedule'
257
257
- uses : peter-evans/create-pull-request@v3
258
258
with :
259
259
title : Update no_atomic_cas.rs
@@ -264,7 +264,7 @@ jobs:
264
264
[1]: https://github.com/peter-evans/create-pull-request
265
265
[2]: https://github.com/peter-evans/create-pull-request/blob/HEAD/docs/concepts-guidelines.md#workarounds-to-trigger-further-workflow-runs
266
266
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'
268
268
269
269
miri :
270
270
name : cargo miri test
You can’t perform that action at this time.
0 commit comments