Skip to content

Commit 03209a4

Browse files
committed
Remove Cron trigger
1 parent 3d55253 commit 03209a4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/update_readme.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ on:
1313
type: boolean
1414
required: false
1515
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
1818

1919
workflow_run:
2020
# This workflow will run after the "Validate JSON Entries" workflow is completed
@@ -25,11 +25,10 @@ on:
2525

2626
jobs:
2727
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
2929
# This is to prevent the README update from running if the JSON validation fails
3030
if: >
3131
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') ||
32-
(github.event_name == 'schedule') ||
3332
(github.event_name == 'workflow_dispatch' && github.event.inputs.update_readme == 'true')
3433
3534
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)