mirror of
https://github.com/ai-robots-txt/ai.robots.txt.git
synced 2025-04-19 08:26:02 +00:00
restore correct attribution logic to before PR #55
This commit is contained in:
parent
bd38c30194
commit
b64284d684
2 changed files with 44 additions and 10 deletions
16
.github/workflows/ai_robots_update.yml
vendored
16
.github/workflows/ai_robots_update.yml
vendored
|
@ -1,8 +1,5 @@
|
|||
name: Updates for AI robots files
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
|
@ -24,11 +21,10 @@ jobs:
|
|||
git --no-pager diff
|
||||
git add -A
|
||||
git diff --quiet && git diff --staged --quiet || (git commit -m "Update from Dark Visitors" && git push)
|
||||
|
||||
echo "Updating robots.txt and table-of-bot-metrics.md if necessary ..."
|
||||
python code/dark_visitors.py --convert
|
||||
echo "... done."
|
||||
git --no-pager diff
|
||||
git add -A
|
||||
git diff --quiet && git diff --staged --quiet || (git commit -m "Updated from new robots.json" && git push)
|
||||
shell: bash
|
||||
call-main:
|
||||
needs: dark-visitors
|
||||
uses: ./.github/workflows/main.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
message: "Update from Dark Visitors"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue