File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 13
13
type : boolean
14
14
required : false
15
15
default : false
16
- schedule :
17
- - cron : " 0 0 * * 0" # Weekly on Sundays at midnight UTC
16
+ # schedule:
17
+ # - cron: "0 0 * * 0" # Weekly on Sundays at midnight UTC
18
18
19
19
workflow_run :
20
20
# This workflow will run after the "Validate JSON Entries" workflow is completed
25
25
26
26
jobs :
27
27
update-readme :
28
- # run only if the previous workflow run was successful or cron job
28
+ # run only if the previous workflow run was successful or if manually triggered
29
29
# This is to prevent the README update from running if the JSON validation fails
30
30
if : >
31
31
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') ||
32
- (github.event_name == 'schedule') ||
33
32
(github.event_name == 'workflow_dispatch' && github.event.inputs.update_readme == 'true')
34
33
35
34
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments