Skip to content

Commit 90aa262

Browse files
committed
Update workflow triggers
1 parent 8003ebb commit 90aa262

File tree

3 files changed

+9
-18
lines changed

3 files changed

+9
-18
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/scorecards.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,12 @@
11
---
2-
# Copyright 2016-present Thomas Leplus
3-
#
4-
# Licensed under the Apache License, Version 2.0 (the "License");
5-
# you may not use this file except in compliance with the License.
6-
# You may obtain a copy of the License at
7-
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing, software
11-
# distributed under the License is distributed on an "AS IS" BASIS,
12-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions and
14-
# limitations under the License.
15-
162
name: Scorecards supply-chain security
173
on:
184
push:
195
branches:
206
- main
217
- 'releases/**'
8+
schedule:
9+
- cron: '0 0 * * 0'
2210
workflow_dispatch:
2311

2412
permissions: read-all

.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)