Skip to content

Commit 9b2b49c

Browse files
fix(ci): add git pull --rebase before push in all crawler workflows
Prevents push rejection when multiple crawlers run concurrently (e.g. manual dispatch of all three at once). Each crawler now rebases onto the latest remote HEAD before pushing its data commit. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
1 parent 0f0a9ff commit 9b2b49c

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/crawl.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
if git diff --staged --quiet; then
5353
echo "No changes detected — skipping commit"
5454
else
55+
git pull --rebase origin master
5556
git commit -m "chore(data): daily AI stack crawl $(date -u '+%Y-%m-%d')"
5657
git push
5758
fi

.github/workflows/fetch-automations.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
if git diff --staged --quiet; then
4949
echo "No changes — skipping commit"
5050
else
51+
git pull --rebase origin master
5152
git commit -m "chore(data): daily automation workflows update $(date -u '+%Y-%m-%d')"
5253
git push
5354
fi

.github/workflows/fetch-mcp.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
if git diff --staged --quiet; then
5151
echo "No changes — skipping commit"
5252
else
53+
git pull --rebase origin master
5354
git commit -m "chore(data): daily MCP server directory update $(date -u '+%Y-%m-%d')"
5455
git push
5556
fi

0 commit comments

Comments
 (0)