Stirling-PDF/.github/workflows
Ludy a95583b9e0
Add sync-versions job to GitHub Actions workflow (#5228)
# Description of Changes

This pull request updates the `.github/workflows/build.yml` file to
improve automation and consistency in the build process. The most
significant change is the addition of a new `sync-versions` job that
automatically checks for and synchronizes version differences across key
files, and posts a comment on the pull request if mismatches are
detected. Additionally, there are minor formatting updates for
consistency.

**Automation and version synchronization:**

* Added a new `sync-versions` job that runs after the build, checks for
version mismatches between `build.gradle` and several frontend files,
and posts or updates a comment on the pull request to notify
contributors if differences are found. This job uses a GitHub App bot
for authentication and ensures that versioning remains consistent across
the project.

**Formatting consistency:**

* Updated the YAML formatting for `node-version`, `cache`, and
`python-version` fields to use double quotes for consistency in the
`build.yml` workflow.
[[1]](diffhunk://#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721L150-R151)
[[2]](diffhunk://#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721L244-R338)


<img width="1127" height="401" alt="image"
src="https://github.com/user-attachments/assets/6930a72d-f72b-4909-97e2-51f0e0f61613"
/>


---

## Checklist

### General

- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md)
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md)
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md)
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings

### Documentation

- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/)
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags)
(for new translation tags only)

### UI Changes (if applicable)

- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)

### Testing (if applicable)

- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing)
for more details.
2026-01-22 19:23:52 +00:00
..
ai_pr_title_review.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
auto-labelerV2.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
build.yml Add sync-versions job to GitHub Actions workflow (#5228) 2026-01-22 19:23:52 +00:00
check_toml.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
dependency-review.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
deploy-on-v2-commit.yml build(deps): bump docker/setup-buildx-action from 3.11.1 to 3.12.0 (#5463) 2026-01-14 01:09:15 +00:00
frontend-backend-licenses-update.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
manage-label.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
multiOSReleases.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
PR-Auto-Deploy-V2.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
PR-Demo-cleanup.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
PR-Demo-Comment-with-react.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
pre_commit.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
push-docker.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
scorecards.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
stale.yml build(deps): bump step-security/harden-runner from 2.12.1 to 2.14.0 (#5324) 2026-01-13 20:38:11 +00:00
swagger.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
sync_files_v2.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
tauri-build.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00
testdriver.yml build(deps): bump actions/checkout from 4.2.2 to 6.0.1 (#5465) 2026-01-21 22:26:01 +00:00