Files
gitea-actions-demo-project/.gitea/workflows
Nikola Derežić 87fe823969
All checks were successful
Build and Push Docker Image / build (push) Has been skipped
(enhancement) add conditional workflow execution based on version changes
The workflow now skips the build job when the version in package.json hasn't changed compared to the previous commit. This prevents unnecessary Docker builds when only non-version changes are pushed.

Key changes:
- Added version-check step to compare current and previous package.json versions
- Added job-level conditional to skip build when version is unchanged
- Pull requests always run to validate version bumps before merge
- Handles edge cases: first commit, missing package.json in history

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 13:37:28 +01:00
..