moved to woodpecker ci

This commit is contained in:
fiereu committed 2026-01-05 01:08:41 +01:00
1 parent 5545d8d47d
commit e8f666a37f
4 files changed
+46 -78

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
when:
branch: main
event: push
steps:
- name: spotless-apply
image: gradle:8-jdk24
commands:
- chmod +x ./gradlew
- ./gradlew spotlessApply
- name: commit-changes
image: alpine/git:latest
commands:
- git config --local user.email "openmmo-bot@forge.fiereu.de"
- git config --local user.name "openmmo-bot"
- git add -A
- |
if ! git diff --staged --quiet; then
git commit -m "Apply spotless formatting [skip ci]"
git push origin ${CI_COMMIT_BRANCH}
else
echo "No formatting changes needed"
fi
environment:
GIT_PASSWORD:
from_secret: git_token