Skip to content

Commit

Permalink
ci: fix osv-scanner action
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <[email protected]>
  • Loading branch information
zirain committed Jun 11, 2024
1 parent 242d69f commit 727f735
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: OSV-Scanner

# Restrict jobs in this workflow to have no permissions by default; permissions
# should be granted per job as needed using a dedicated `permissions` block
permissions: {}

on:
pull_request:
branches:
Expand All @@ -11,10 +15,7 @@ on:
branches:
- "main"
schedule:
- cron: '44 15 * * 5'

permissions:
contents: read
- cron: '44 15 * * 5'

Check failure on line 18 in .github/workflows/osv-scanner.yml

View workflow job for this annotation

GitHub Actions / lint

18:5 [indentation] wrong indentation: expected 2 but found 4

Check failure on line 18 in .github/workflows/osv-scanner.yml

View workflow job for this annotation

GitHub Actions / lint

18:5 [indentation] wrong indentation: expected 2 but found 4

Check failure on line 18 in .github/workflows/osv-scanner.yml

View workflow job for this annotation

GitHub Actions / lint

18:5 [indentation] wrong indentation: expected 2 but found 4

jobs:
scan-scheduled:
Expand Down

0 comments on commit 727f735

Please sign in to comment.