fix(deps): skip the local Maven reactor parent (#1579) #106
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Version PR | |
| # Maintains the accumulating "Version PR" (changesets). On every push to main | |
| # it folds pending .changeset/*.md files into a PR that bumps the root | |
| # `hephaestus` package version and rewrites CHANGELOG.md. Merging that PR is | |
| # the deliberate act that cuts a release — release.yml takes over from there. | |
| # | |
| # This workflow only ever opens/updates the PR; it never tags or deploys. | |
| # | |
| # The PR is opened with GITHUB_TOKEN, so it is authored by github-actions[bot] | |
| # and carries no CI: events created with that token don't trigger workflows. | |
| # That is deliberate — the PR only bumps a version string and rewrites | |
| # CHANGELOG.md, and it is re-pushed on every merge to main, so running the full | |
| # matrix (Docker builds included) on it would burn CI on every merge without | |
| # validating anything. The real validation happens after the merge: main runs | |
| # the full suite and release.yml only cuts a release if that run succeeded. | |
| # `ls1intum/hephaestus-maintainers` bypasses the branch ruleset, so the missing | |
| # required checks do not block merging the Version PR. | |
| # | |
| # Contributor guide: docs/contributor/release-management.mdx | |
| on: | |
| push: | |
| branches: [main] | |
| concurrency: | |
| group: version-pr | |
| cancel-in-progress: false | |
| permissions: {} | |
| jobs: | |
| version-pr: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Bun | |
| uses: ./.github/actions/setup-bun | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Maintain Version PR | |
| uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0 | |
| with: | |
| version: bun run changeset:version | |
| # release.yml owns release tags, publication, and deployment. | |
| title: "chore(release): version packages" | |
| commit: "chore(release): version packages" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |