mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-05-26 10:00:27 +00:00
ci: prevent OSSF analysis workflow from running in forks (#3652)
* Run OSSF analysis only on default branch * move on top to match project code style --------- Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
@@ -11,6 +11,7 @@ permissions: read-all
|
||||
|
||||
jobs:
|
||||
analysis:
|
||||
if: github.repository == 'anuraghazra/github-readme-stats'
|
||||
name: Scorecard analysis
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user