Spaces:
Paused
Paused
CrispStrobe commited on
Commit ·
41691c4
1
Parent(s): c9517c1
ci: make benchmark and provider update workflows more robust with rebase before push
Browse files
.github/workflows/update-benchmarks.yml
CHANGED
|
@@ -33,5 +33,6 @@ jobs:
|
|
| 33 |
git add data/benchmarks.json
|
| 34 |
git diff --staged --quiet && echo "No changes." || (
|
| 35 |
git commit -m "chore: update benchmark data [skip ci]" &&
|
|
|
|
| 36 |
git push
|
| 37 |
)
|
|
|
|
| 33 |
git add data/benchmarks.json
|
| 34 |
git diff --staged --quiet && echo "No changes." || (
|
| 35 |
git commit -m "chore: update benchmark data [skip ci]" &&
|
| 36 |
+
git pull --rebase origin main &&
|
| 37 |
git push
|
| 38 |
)
|
.github/workflows/update-providers.yml
CHANGED
|
@@ -36,5 +36,6 @@ jobs:
|
|
| 36 |
git add data/providers.json
|
| 37 |
git diff --staged --quiet && echo "No changes." || (
|
| 38 |
git commit -m "chore: update provider data [skip ci]" &&
|
|
|
|
| 39 |
git push
|
| 40 |
)
|
|
|
|
| 36 |
git add data/providers.json
|
| 37 |
git diff --staged --quiet && echo "No changes." || (
|
| 38 |
git commit -m "chore: update provider data [skip ci]" &&
|
| 39 |
+
git pull --rebase origin main &&
|
| 40 |
git push
|
| 41 |
)
|