Do not run score cards on forks of flutter/flutter. (#97603)
As a general rule all the .github workflows enabled for flutter/flutter should not run on forks. Bug: https://github.com/flutter/flutter/issues/97599
This commit is contained in:
parent
98d625c243
commit
39c5d2fa0a
1
.github/workflows/scorecards-analysis.yml
vendored
1
.github/workflows/scorecards-analysis.yml
vendored
@ -14,6 +14,7 @@ jobs:
|
|||||||
analysis:
|
analysis:
|
||||||
name: Scorecards analysis
|
name: Scorecards analysis
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.repository == 'flutter/flutter' }}
|
||||||
permissions:
|
permissions:
|
||||||
# Needed to upload the results to code-scanning dashboard.
|
# Needed to upload the results to code-scanning dashboard.
|
||||||
security-events: write
|
security-events: write
|
||||||
|
Loading…
x
Reference in New Issue
Block a user