We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0a136c commit d7f78d8Copy full SHA for d7f78d8
1 file changed
tests/unit/actions-workflows.js
@@ -48,7 +48,8 @@ describe('GitHub Actions workflows', () => {
48
test('no scheduled workflows run on the hour', () => {
49
const hourlySchedules = scheduledWorkflows.filter(schedule => {
50
const hour = schedule.split(' ')[0]
51
- return hour === '0' || hour === '00'
+ // return any minute cron segments that equal 0, 00, 000, etc.
52
+ return !/[^0]/.test(hour)
53
})
54
expect(hourlySchedules).toEqual([])
55
0 commit comments