Skip to content

Commit bb75a0a

Browse files
authored
ci: Update osv-scanner.yaml (#111)
* Update osv-scanner.yaml The latest run of the schedule returned an error about missing `actions: read` permissions. See https://github.com/MadsRC/sophrosyne/actions/runs/9438321482 * Update osv-scanner.yaml Read is also needed for the scan-pr step
1 parent 5611a20 commit bb75a0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/osv-scanner.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
security-events: write
2323
# Read commit contents
2424
contents: read
25+
actions: read
2526
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@ba0b4d196d231340e0ae94ae00933c8be0984192" # v1.7.4
2627
with:
2728
# Example of specifying custom arguments
@@ -36,6 +37,7 @@ jobs:
3637
security-events: write
3738
# Read commit contents
3839
contents: read
40+
actions: read
3941
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@ba0b4d196d231340e0ae94ae00933c8be0984192" # v1.7.4
4042
with:
4143
# Example of specifying custom arguments

0 commit comments

Comments
 (0)