Skip to content

Add Dependabot for LiquidJava dependencies - #309

Closed
CatarinaGamboa wants to merge 1 commit into
mainfrom
chore/dependabot-liquidjava
Closed

CatarinaGamboa wants to merge 1 commit into
mainfrom
chore/dependabot-liquidjava

Conversation

@CatarinaGamboa

Copy link
Copy Markdown
Collaborator

Description

Adds .github/dependabot.yml so that when a new io.github.liquid-java artifact (api, verifier, fsm) is published to Maven Central, Dependabot opens a PR here bumping it. All LiquidJava artifacts are grouped, so one release produces one PR per repo.

Part of the same setup in liquidjava, liquidjava-fsm, liquidjava-mcp and vscode-liquidjava, replacing manual version bumps after each release.

Only LiquidJava artifacts are tracked; other dependencies are unaffected.

🤖 Generated with Claude Code

Opens a PR whenever a new io.github.liquid-java artifact is published,
so version bumps cascade across repos without manual updates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CatarinaGamboa

Copy link
Copy Markdown
Collaborator Author

This one is the root of dependencies so I dont think it actually needs the dependabot update

CatarinaGamboa added a commit that referenced this pull request Sep 30, 2026
## Description
`./release.sh api` only bumped the version in `liquidjava-api/pom.xml`.
The verifier and example kept depending on the previous api version
until someone updated them by hand (as happened in the 0.0.7 release).
The api release commit now also bumps the `liquidjava-api` dependency in
`liquidjava-verifier/pom.xml` and `liquidjava-example/pom.xml`.

The verifier release path is unchanged.

This replaces #309: this repo doesn't need Dependabot for its own api,
since the release script now keeps the modules in sync.

## Example
```
./release.sh api 0.0.8
# Release liquidjava-api 0.0.8
#  liquidjava-api/pom.xml      | 2 +-
#  liquidjava-example/pom.xml  | 2 +-
#  liquidjava-verifier/pom.xml | 2 +-
```

## Related Issue
#309

## Type of change
- [x] Bug fix
- [ ] New feature
- [ ] Documentation update
- [ ] Code refactoring

## Checklist
- [ ] Added/updated tests under
`liquidjava-example/src/main/java/testSuite/` (`Correct*` / `Error*`)
(n/a, script change)
- [x] `mvn test` passes locally
- [ ] Updated docs/README if behavior or API changed (n/a)

## Testing
Ran the patched script in a throwaway clone with a local bare repo as
`origin`:
- `./release.sh api 0.0.8`: one commit bumps all three poms, tags
`api-v0.0.8`, pushes.
- Root `mvn clean install` with api 0.0.8 not published anywhere:
builds, resolving the api from the reactor (as CI does).
- `./release.sh verifier 0.0.36`: unchanged, only the verifier pom is
committed; 338 tests pass.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants