Skip to content

Commit 5090d54

Browse files
committed
Update workflows to run daily
1 parent ad3c4a3 commit 5090d54

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/integration.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Integration
22

3-
on: [push]
3+
on:
4+
push: {}
5+
schedule:
6+
- cron: "0 5 * * *"
47

58
jobs:
69
test-install:

.github/workflows/sync.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Sync Versions
22

3-
# TODO: Switch to daily cron job
4-
on: [push]
3+
on:
4+
push: {}
5+
schedule:
6+
- cron: "0 4 * * *"
57

68
jobs:
79
build:
@@ -24,9 +26,10 @@ jobs:
2426
2527
- name: Commit files
2628
run: |
27-
git pull
29+
git config --local pull.ff only
2830
git config --local user.email "[email protected]"
2931
git config --local user.name "GitHub Action"
32+
git pull
3033
git commit -m "Sync repository with latest tooling" -a
3134
3235
- name: Push changes

0 commit comments

Comments
 (0)