Skip to content

Commit

Permalink
prevent running on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Jun 3, 2024
1 parent 58331f0 commit 1904e67
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 1904e67

Please sign in to comment.