Skip to content

Commit

Permalink
ci: Make scrorecards workflow not fail constantly
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Gritz <lg@larrygritz.com>
  • Loading branch information
lgritz committed Oct 1, 2024
1 parent ce70eb7 commit cc5a5f2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ on:
branch_protection_rule:
push:
# Run on pushes to main, but only the main repo, not forks
branches: [ "main" ]
if: github.event.pull_request.head.repo.full_name == github.repository
branches: [ "main", "lg-scorecard" ]
# if: github.event.pull_request.head.repo.full_name == github.repository
paths-ignore:
- '**.md'
- '**.rst'
- 'docs/**'
pull_request:
# Only run on individual PRs if the workflow file itself is changed.
paths:
- .github/workflows/scorecard.yml
paths-ignore:
- '**.md'
- '**.rst'
Expand Down

0 comments on commit cc5a5f2

Please sign in to comment.