Skip to content

Commit

Permalink
chore(schemas): update
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Apr 24, 2024
1 parent 4725f60 commit 85814ad
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions __tests__/helpers/github-workflow-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1141,16 +1141,7 @@
"$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows#scheduled-events-schedule",
"description": "You can schedule a workflow to run at specific UTC times using POSIX cron syntax (https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07). Scheduled workflows run on the latest commit on the default or base branch. The shortest interval you can run scheduled workflows is once every 5 minutes.\nNote: GitHub Actions does not support the non-standard syntax @yearly, @monthly, @weekly, @daily, @hourly, and @reboot.\nYou can use crontab guru (https://crontab.guru/). to help generate your cron syntax and confirm what time it will run. To help you get started, there is also a list of crontab guru examples (https://crontab.guru/examples.html).",
"type": "array",
"items": {
"properties": {
"cron": {
"$comment": "https://stackoverflow.com/a/57639657/4044345",
"type": "string",
"pattern": "^(((\\d+,)+\\d+|((\\d+|\\*)/\\d+|((JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(-(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?))|(\\d+-\\d+)|\\d+(-\\d+)?/\\d+(-\\d+)?|\\d+|\\*|(MON|TUE|WED|THU|FRI|SAT|SUN)(-(MON|TUE|WED|THU|FRI|SAT|SUN))?) ?){5}$"
}
},
"additionalProperties": false
},
"items": { "properties": { "cron": { "type": "string" } }, "additionalProperties": false },
"minItems": 1
}
},
Expand Down

0 comments on commit 85814ad

Please sign in to comment.