Skip to content

Commit

Permalink
Update workflow triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasleplus committed May 10, 2024
1 parent 5d4f07c commit 279382a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ name: OSV-Scanner
on:
pull_request:
branches: [ "main" ]
schedule:
- cron: '0 0 * * 0'
push:
branches: [ "main" ]
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:

permissions:
# Require writing security events to upload SARIF file to security tab
Expand Down
16 changes: 2 additions & 14 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
---
# Copyright 2016-present Thomas Leplus
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: Scorecards supply-chain security
on:
push:
branches:
- main
- 'releases/**'
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:

permissions: read-all
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Update PRs

on:
push:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:

permissions:
Expand Down

0 comments on commit 279382a

Please sign in to comment.