Skip to content

Commit

Permalink
Merge pull request #191 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 4, 2024
2 parents 58331f0 + 1904e67 commit c8d6eaf
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 c8d6eaf

Please sign in to comment.