Skip to content

Commit dbff9a8

Browse files
committed
Update workflow triggers
1 parent 991df7a commit dbff9a8

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/osv-scanner.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ name: OSV-Scanner
1515
on:
1616
pull_request:
1717
branches: [ "main" ]
18-
schedule:
19-
- cron: '0 0 * * 0'
2018
push:
2119
branches: [ "main" ]
20+
schedule:
21+
- cron: '0 0 * * 0'
22+
workflow_dispatch:
2223

2324
permissions:
2425
# Require writing security events to upload SARIF file to security tab
@@ -29,7 +30,7 @@ permissions:
2930
jobs:
3031
scan-scheduled:
3132
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
32-
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@1f1242919d8a60496dd1874b24b62b2370ed4c78" # v1.7.1
33+
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@75532bf0bf75464b047d80414dbce04449498365" # v1.7.3
3334
with:
3435
# Example of specifying custom arguments
3536
scan-args: |-
@@ -38,7 +39,7 @@ jobs:
3839
./
3940
scan-pr:
4041
if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}
41-
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@1f1242919d8a60496dd1874b24b62b2370ed4c78" # v1.7.1
42+
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@75532bf0bf75464b047d80414dbce04449498365" # v1.7.3
4243
with:
4344
# Example of specifying custom arguments
4445
scan-args: |-

.github/workflows/update-prs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Update PRs
33

44
on:
55
push:
6+
schedule:
7+
- cron: '0 0 * * 0'
68
workflow_dispatch:
79

810
permissions:

0 commit comments

Comments
 (0)