Skip to content

Commit 24456e1

Browse files
authored
Merge pull request #62 from Typeform/seti-648-reduce-workflow-execution-time
chore: [SETI-648] Reduce Workflow Execution Time
2 parents 85f0bc7 + 6265742 commit 24456e1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/check-no-deploy-window.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
name: Check No Deploy Window
12
on:
3+
# Runs every Mon-Friday at 4:00 and 10:00 UTC
24
schedule:
3-
- cron: '2/60 * * * *'
5+
- cron: '0 4,10 * * 1-5'
46
pull_request:
57
branches:
68
- master
@@ -10,7 +12,7 @@ jobs:
1012
name: check no deploy window
1113
steps:
1214
- name: is deploy calendar busy?
13-
uses: Typeform/siesta@v1
15+
uses: Typeform/siesta@v1.3
1416
id: siesta
1517
with:
1618
google-credentials: ${{ secrets.siesta_google_credentials }}
@@ -19,6 +21,7 @@ jobs:
1921
custom-calendar-busy-message: 'There is an event in the Calendar. Deploying not recommended.'
2022
custom-calendar-not-busy-message: 'No event in the Calendar. Feel free to deploy.'
2123
fail-if-busy: false
24+
minutes-interval: 360
2225
- name: set label action based on result
2326
uses: haya14busa/action-cond@v1.0.0
2427
id: condval
@@ -27,7 +30,7 @@ jobs:
2730
if_true: add
2831
if_false: remove
2932
- name: add or remove label
30-
uses: Typeform/labeler@v1
33+
uses: Typeform/labeler@v1.2
3134
id: labeler
3235
with:
3336
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)