mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 00:19:58 +01:00
Prevent OSV scanner running in forks
The OSV scanner just fails anyway, so stop it running in forks to stop the failures being logged and emailed.
This commit is contained in:
parent
8f8b548106
commit
0116f16330
3
.github/workflows/osv-scanner-scheduled.yml
vendored
3
.github/workflows/osv-scanner-scheduled.yml
vendored
|
|
@ -27,6 +27,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
scan-scheduled:
|
||||
if: github.repository == 'tensorflow/tensorflow'
|
||||
uses: "google/osv-scanner/.github/workflows/osv-scanner-reusable.yml@main"
|
||||
with:
|
||||
scan-args: |-
|
||||
|
|
@ -36,4 +37,4 @@ jobs:
|
|||
--lockfile=requirements.txt:./requirements_lock_3_12.txt
|
||||
--lockfile=requirements.txt:./ci/official/containers/linux_arm64/devel.requirements.txt
|
||||
--lockfile=requirements.txt:./ci/official/containers/linux_arm64/jax.requirements.txt
|
||||
--lockfile=requirements.txt:./ci/official/containers/linux_arm64/devel.usertools/test.requirements.txt
|
||||
--lockfile=requirements.txt:./ci/official/containers/linux_arm64/devel.usertools/test.requirements.txt
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user