Skip to content

Commit

Permalink
Merge pull request #180 from bedroge/scorecards_forks
Browse files Browse the repository at this point in the history
Prevent running scorecards CI on forks
  • Loading branch information
boegel authored Jun 3, 2024
2 parents 0f1017b + 059d5f5 commit 170d127
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ on:
push:
branches: [ "main" ]
pull_request:
branches:
branches:
- main

# Declare default permissions as read only.
permissions: read-all

jobs:
analysis:
if: github.repository_owner == 'EESSI' # Prevent running on forks
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 170d127

Please sign in to comment.