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

@ -4,7 +4,12 @@ on:
push: push:
branches: [main] branches: [main]
paths: paths:
- "**" - "botserver/**"
- "botui/**"
- "botlib/**"
- ".forgejo/workflows/botserver.yaml"
- "Cargo.toml"
- "Cargo.lock"
jobs: jobs:
build: build:
@ -17,7 +22,11 @@ steps:
- name: Setup - name: Setup
run: | run: |
cd /opt/gbo/work/generalbots 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 - name: Build BotServer and BotUI
run: | run: |