ci: add Forgejo workflows, branch protection, and local release script #1

Merged
gabogg merged 3 commits from ci/forgejo-setup into master 2026-06-19 12:14:28 +00:00
Owner

What this adds

CI workflow (.forgejo/workflows/ci.yml)

  • Runs on push/PR to master
  • Builds backend + frontend
  • Runs tests
  • Requires a Forgejo Runner to be installed

Release workflow (.forgejo/workflows/release.yml)

  • Triggers on tag pushes (v*)
  • Builds backend-exec.jar and frontend.jar
  • Attaches them to the Forgejo release

Local release script (scripts/release.sh)

  • Replaces release-please for the Forgejo workflow
  • Usage: bash scripts/release.sh [patch|minor|major]
  • Bumps pom.xml, tags, and prepares next dev cycle

Branch protection

  • Master now requires PRs to merge
  • Only you can approve merges
## What this adds ### CI workflow (`.forgejo/workflows/ci.yml`) - Runs on push/PR to master - Builds backend + frontend - Runs tests - Requires a Forgejo Runner to be installed ### Release workflow (`.forgejo/workflows/release.yml`) - Triggers on tag pushes (`v*`) - Builds backend-exec.jar and frontend.jar - Attaches them to the Forgejo release ### Local release script (`scripts/release.sh`) - Replaces release-please for the Forgejo workflow - Usage: `bash scripts/release.sh [patch|minor|major]` - Bumps pom.xml, tags, and prepares next dev cycle ### Branch protection - Master now requires PRs to merge - Only you can approve merges
ci: add Forgejo workflows and local release script
Some checks failed
CI / build-and-test (pull_request) Failing after 0s
2b73197f55
fix: update CI workflow for proper Maven build
Some checks failed
CI / build-and-test (pull_request) Failing after 0s
ad465d1697
chore: retry CI
Some checks failed
CI / build-and-test (pull_request) Failing after 0s
3ab1e07def
gabogg merged commit 0ed6cccd31 into master 2026-06-19 12:14:28 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
PCivil/inventory-system!1
No description provided.