File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : Build Status
2
2
3
+ env :
4
+ # Run full CI Monday and Thursday at 3:25am EST (08:25 UTC)
5
+ # Note: do not run scheduled jobs on the hour exactly, per:
6
+ # https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule
7
+ # GitHub Actions schedules can sometimes delay by up to 15 minutes due to platform load
8
+ FULL_CI_SCHEDULE : ' 25 8 * * 1,4'
9
+
3
10
on :
4
11
push :
5
12
branches :
26
33
required : false
27
34
type : boolean
28
35
default : false
36
+ schedule :
37
+ - cron : ' 25 8 * * 1,4'
29
38
30
39
concurrency :
31
40
group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
60
69
61
70
outputs :
62
71
COMMIT_MESSAGE : ${{ steps.setup.outputs.COMMIT_MSG }}
63
- FULL_RUN : ${{ steps.setuppush.outputs.FULL_RUN || steps.setuppr.outputs.FULL_RUN || steps.setupmanual.outputs.FULL_RUN }}
72
+ FULL_RUN : ${{ steps.setuppush.outputs.FULL_RUN || steps.setuppr.outputs.FULL_RUN || steps.setupmanual.outputs.FULL_RUN || steps.setupschedule.outputs.FULL_RUN }}
64
73
65
74
steps :
66
75
- name : Checkout
@@ -109,6 +118,17 @@ jobs:
109
118
env :
110
119
FULL_RUN : ${{ github.event.inputs.ci-full }}
111
120
if : ${{ github.event_name == 'workflow_dispatch' }}
121
+
122
+ - name : Display and Setup Build Args (Schedule)
123
+ id : setupschedule
124
+ run : |
125
+ echo "Commit Message: $COMMIT_MSG"
126
+ echo "Full Run: $FULL_RUN"
127
+ echo "COMMIT_MSG=$COMMIT_MSG" >> $GITHUB_OUTPUT
128
+ echo "FULL_RUN=$FULL_RUN" >> $GITHUB_OUTPUT
129
+ env :
130
+ FULL_RUN : ${{ github.event.schedule == env.FULL_CI_SCHEDULE }}
131
+ if : ${{ github.event_name == 'schedule' }}
112
132
113
133
# #######################################################
114
134
# ......................................................#
You can’t perform that action at this time.
0 commit comments