mirror of
https://github.com/flutter/flutter
synced 2024-08-27 03:50:33 +00:00
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:
|
||||
name: Scorecards analysis
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.repository == 'flutter/flutter' }}
|
||||
permissions:
|
||||
# Needed to upload the results to code-scanning dashboard.
|
||||
security-events: write
|
||||
|
|
Loading…
Reference in a new issue