Skip to content

Commit

Permalink
Fix mergeabot config (#1110)
Browse files Browse the repository at this point in the history
Hm, I copied the example from their README, but maybe it had an error,
because I see this:
https://github.com/maxjacobson/seasoning/actions/runs/5093441480/workflow

> **Invalid workflow file**
>
> `schedule` accepts a list of one or more maps with the `cron` key set

Looking at the docs for `schedule`, it looks like this is supposed to be
a list, which is consistent with what the error message says.
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
  • Loading branch information
maxjacobson committed May 26, 2023
1 parent 9b608c6 commit f1b482c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mergeabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Mergeabot

on:
schedule:
cron: "0 0 * * *"
- cron: "0 0 * * *"

pull_request:

Expand Down

0 comments on commit f1b482c

Please sign in to comment.