Skip to content

Commit a608262

Browse files
authored
upgrade dep: only on demand, squash commits
1 parent 1646331 commit a608262

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/upgrade-dependencies.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ name: upgrade dependencies
33

44
on:
55
workflow_dispatch: # Allow running on-demand
6-
schedule:
7-
# Runs every Monday at 8:00 UTC (4:00 Eastern)
8-
- cron: "0 8 * * 1"
96

107
jobs:
118
upgrade:
@@ -71,6 +68,8 @@ jobs:
7168
git checkout -b auto-dependency-upgrades
7269
git branch -r | grep auto-dependency-upgrades- | xargs -I {} git merge {}
7370
git rebase ${GITHUB_REF##*/}
71+
git reset $(git merge-base ${GITHUB_REF##*/} HEAD)
72+
git commit -a -m "auto dependency upgrades"
7473
git push -f origin auto-dependency-upgrades
7574
git branch -r | grep auto-dependency-upgrades- | cut -d/ -f2 | xargs -I {} git push origin :{}
7675
- name: Open pull request if needed

0 commit comments

Comments
 (0)