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:
godofredoc 2022-02-01 14:58:27 -08:00 committed by GitHub
parent 98d625c243
commit 39c5d2fa0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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