Skip to content

Commit b54f61c

Browse files
committed
Disable the scheduled triggers
We are going to use, exclusively, the workflow_dispatch event so we'll be invoking the jobs: - Manually, from within the GH UI. - Externally, from Jenkins jobs, with own schedule.
1 parent c07d3a4 commit b54f61c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/trigger_new_builds.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ name: Trigger new builds
55

66
on:
77
workflow_dispatch:
8-
schedule:
9-
- cron: '10 16 * * *'
108

119
jobs:
1210

@@ -16,7 +14,7 @@ jobs:
1614
# If different, a rebuilt will be triggered.
1715
datetimedb-new-release:
1816
# Completely avoid forks and pull requests to try this job.
19-
if: github.repository_owner == 'moodlehq' && contains(fromJson('["workflow_dispatch", "schedule"]'), github.event_name)
17+
if: github.repository_owner == 'moodlehq' && contains(fromJson('["workflow_dispatch"]'), github.event_name)
2018
runs-on: ubuntu-latest
2119

2220
outputs:
@@ -59,7 +57,7 @@ jobs:
5957
# will set its own (final) trigger_build output to 'true'.
6058
evaluate-results:
6159
# Completely avoid forks and pull requests to try this job.
62-
if: github.repository_owner == 'moodlehq' && contains(fromJson('["workflow_dispatch", "schedule"]'), github.event_name)
60+
if: github.repository_owner == 'moodlehq' && contains(fromJson('["workflow_dispatch"]'), github.event_name)
6361
runs-on: ubuntu-latest
6462
needs: [datetimedb-new-release]
6563

0 commit comments

Comments
 (0)