Revert CI workflow to path filters from 3 hours ago

- Restore paths filter for botserver/**, botui/**, botlib/**, etc.
- Restore error handling for git pull
- This was the last working configuration
This commit is contained in:
Rodrigo Rodriguez 2026-04-30 22:53:58 -03:00
parent ed0cb3bce6
commit 5a6f062794

View file

@ -1,10 +1,15 @@
name: BotServer CI
on:
push:
branches: [main]
paths:
- "**"
push:
branches: [main]
paths:
- "botserver/**"
- "botui/**"
- "botlib/**"
- ".forgejo/workflows/botserver.yaml"
- "Cargo.toml"
- "Cargo.lock"
jobs:
build:
@ -17,7 +22,11 @@ steps:
- name: Setup
run: |
cd /opt/gbo/work/generalbots
git pull
if ! git pull; then
echo "::error::Git pull failed. Please resolve conflicts manually."
exit 1
fi
git log --oneline -1
- name: Build BotServer and BotUI
run: |