commit | 39c5d2fa0a9836014bf8e2bde6842edbb767df56 | [log] [tgz] |
---|---|---|
author | godofredoc <godofredoc@google.com> | Tue Feb 01 14:58:27 2022 -0800 |
committer | GitHub <noreply@github.com> | Tue Feb 01 14:58:27 2022 -0800 |
tree | 048221f66dcdf7e5a07c1c1ef46b1966223748fc | |
parent | 98d625c243c54d9f6d306ec79d82841d9cb19d9f [diff] |
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
diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml index 59d92d3..95df17e 100644 --- a/.github/workflows/scorecards-analysis.yml +++ b/.github/workflows/scorecards-analysis.yml
@@ -14,6 +14,7 @@ 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