1
0
mirror of synced 2025-12-22 19:34:15 -05:00

Guide users to schedule workflows at lower load times (#18362)

This commit is contained in:
Sarah Edwards
2021-03-23 14:50:29 -07:00
committed by GitHub
parent 94362e618e
commit 71f150ea1c
9 changed files with 20 additions and 20 deletions

View File

@@ -104,13 +104,13 @@ on:
pull_request:
branches: [main]
schedule:
- cron: '0 15 * * 0'
- cron: '20 14 * * 1'
```
This workflow scans:
* Every push to the default branch and the protected branch
* Every pull request to the default branch
* The default branch at 3 P.M. every Sunday
* The default branch every Monday at 14:20 UTC
### Specifying an operating system

View File

@@ -42,7 +42,7 @@ on:
pull_request:
branches: [main]
schedule:
- cron: '0 0 * * 0'
- cron: '15 5 * * 3'
jobs:
analyze:

View File

@@ -59,11 +59,11 @@ Alternatively, you could modify this workflow to upload a directory of SARIF fil
name: "Upload SARIF"
# Run workflow each time code is pushed to your repository and on a schedule.
# The scheduled workflow runs every at 00:00 on Sunday UTC time.
# The scheduled workflow runs every Thursday at 15:45 UTC.
on:
push:
schedule:
- cron: '0 0 * * 0'
- cron: '45 15 * * 4'
jobs:
build:
@@ -91,11 +91,11 @@ The workflow shows an example of running the ESLint static analysis tool as a st
name: "ESLint analysis"
# Run workflow each time code is pushed to your repository and on a schedule.
# The scheduled workflow runs every at 00:00 on Sunday UTC time.
# The scheduled workflow runs every Wednesday at 15:45 UTC.
on:
push:
schedule:
- cron: '0 0 * * 0'
- cron: '45 15 * * 3'
jobs:
build: