Skip to content

Commit

Permalink
[DDS-1576] Added schedule to build-deploy workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen committed Jul 26, 2023
1 parent a22d682 commit 3676750
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
- '5.x'
- 'build/**'
schedule:
- cron: '0 20 * * 0'
# Schedules only run on the default branch. '5.x' in this instance.
- cron: '23 20 * * 0'
env:
REGISTRY: ghcr.io
jobs:
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/vulnerability-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@ name: vulnerability-scan
run-name: Scan published images for vulnerabilities.
env:
REGISTRY: ghcr.io
on: push
# registry_package:
# types:
# - "published"
# schedule:
# - cron: '0 0 * * 4'
on:
push:
branches:
- 'build/**'
registry_package:
types:
- "published"
schedule:
- cron: '14 0 * * 4'

jobs:
vulnerability-scan:
Expand Down

0 comments on commit 3676750

Please sign in to comment.