mirror of
https://github.com/ai-robots-txt/ai.robots.txt.git
synced 2025-12-29 12:18:33 +01:00
Update ai_robots_update.yml with rebase command to fix scheduled run
This commit is contained in:
parent
7598d77e4a
commit
51afa7113a
1 changed files with 2 additions and 1 deletions
3
.github/workflows/ai_robots_update.yml
vendored
3
.github/workflows/ai_robots_update.yml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 2
|
||||
fetch-depth: 0
|
||||
- run: |
|
||||
pip install beautifulsoup4 requests
|
||||
git config --global user.name "dark-visitors"
|
||||
|
|
@ -23,6 +23,7 @@ jobs:
|
|||
git add -A
|
||||
if ! git diff --cached --quiet; then
|
||||
git commit -m "Update from Dark Visitors"
|
||||
git rebase origin/main
|
||||
git push
|
||||
else
|
||||
echo "No changes to commit."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue