Skip to content

chore: bump gittools/actions from 0.9.13 to 4.7.0 - #223

Open
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/github_actions/gittools/actions-4.7.0
Open

chore: bump gittools/actions from 0.9.13 to 4.7.0#223
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/github_actions/gittools/actions-4.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 12, 2026

Copy link
Copy Markdown
Contributor

Bumps gittools/actions from 0.9.13 to 4.7.0.

Release notes

Sourced from gittools/actions's releases.

v4.7.0

As part of this release we had 8 commits which resulted in 1 issue being closed.

Improvements

Contributors

2 contributors made this release possible.

SHA256 Hashes of the release artifacts

  • 10b2cc389d8671554f2979bfa9ed537916dae36333e4b931f198a84f35df09e6 - gittools.gittools-4.7.0.260703164.vsix

v4.6.0

As part of this release we had 215 commits which resulted in 89 issues being closed.

Dependencies

... (truncated)

Commits
  • 7417b10 build: update GitVersion version specification to 6.8.x
  • f6091cf Merge pull request #2086 from MarcelGosselin/fix/issue-1824
  • 7c22071 fix: update minimum GitVersion.Tool to 6.2.0 so output is compatible
  • b6fc43b Merge pull request #2135 from GitTools/dependabot/npm_and_yarn/vite-78f5677d33
  • 2e13db5 (npm): bump vite from 8.1.2 to 8.1.3 in the vite group
  • f0638b1 docs(release-skill): harden GRM preconditions, settle check, and recovery steps
  • 13f62f7 build(grm): include contributors in release notes
  • 214fdda update examples version to 4.6.0
  • 03e8e09 build(dependabot): assign PRs to the umbrella milestone (32)
  • 4eb45bb Merge pull request #2131 from GitTools/fix/deterministic-process-import
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 12, 2026
dependabot Bot and others added 2 commits August 22, 2026 13:02
Bumps [gittools/actions](https://github.com/gittools/actions) from 0.9.13 to 4.7.0.
- [Release notes](https://github.com/gittools/actions/releases)
- [Commits](GitTools/actions@v0.9.13...v4.7.0)

---
updated-dependencies:
- dependency-name: gittools/actions
  dependency-version: 4.7.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
gittools/actions 4.7.x requires GitVersion >=6.2.0 <7.0.0, so the bump alone fails
`Build and Package` at the setup step: `Version spec '5.x' resolved as '5.12.0' does
not satisfy the range`. Two more things move with the major, neither of which fails
loudly:

**The exported variable names changed.** v0.9.13 exported `GITVERSION_<PROPERTY>`
(`core.exportVariable('GITVERSION_' + name.toUpperCase(), ...)`); v4.7.0 exports
`<property>` and `GitVersion_<Property>`. `${GITVERSION_FULLSEMVER}` in a bash step is
just empty under the new action, so the build would have run `-Pversion=` and published
a package with no version rather than failing. The step now reads the new names and
exits non-zero if the version comes out empty, so a future rename is a red build.

**GitVersion 6 renamed the mode values**, and 5.x `ContinuousDeployment` is 6.x
`ContinuousDelivery` (6.x `ContinuousDeployment` is a new trunk-based mode). Measured on
this repo, one commit past v6.7.1 on main:

| config | 5.12.0 | 6.4.0 |
|---|---|---|
| `mode: ContinuousDeployment` | `6.7.2-ci.1` | `6.7.2` |
| `mode: ContinuousDelivery` | - | `6.7.2-1` |

Leaving the old value would have dropped the pre-release tag and produced a plain
`6.7.2` that collides with the eventual release, so the value is ported rather than kept.

Verified with the 5.12.0 and 6.4.0 tools against this repo:

| scenario | 5.12.0 FullSemVer | 6.4.0 FullSemVer |
|---|---|---|
| PR ref `refs/pull/234/merge` | `6.7.2-PullRequest0234.1` | `6.7.2-PullRequest234.1` |
| release tag `v6.7.1` | `6.7.1` | `6.7.1` |

PR builds lose the zero-padding on the PR number, which is the only user-visible change;
they stay unique per commit (`PullRequest234.3`, `.4` over successive commits). FullSemVer
is kept over SemVer for that reason - on a plain branch SemVer repeats across commits
while FullSemVer carries the count. README's worked example is updated to match, and
`./gradlew packageName -Pversion=6.7.2-PullRequest234.4` names the zip as expected.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@NickJosevski
NickJosevski force-pushed the dependabot/github_actions/gittools/actions-4.7.0 branch from fadb345 to c654e42 Compare August 22, 2026 03:05
@NickJosevski

Copy link
Copy Markdown
Contributor

Rebased onto main (6.7.1) and pushed the migration this major needs — the bump on its own can't go green.

versionSpec: '5.x''6.x'. actions 4.7.x requires GitVersion >=6.2.0 <7.0.0, which is the failure in the log: Version spec '5.x' resolved as '5.12.0' does not satisfy the range.

The exported variable names changed, silently. v0.9.13 exported GITVERSION_<PROPERTY>:

core.exportVariable(`GITVERSION_${name.toUpperCase()}`, value)

v4.7.0 exports <property> and GitVersion_<Property> (src/tools/gitversion/tool.ts). ${GITVERSION_FULLSEMVER} in a bash step is simply empty under the new action, so Build and Package would have gone green having run -Pversion= and published an unversioned package. The step reads the new names and now exits non-zero when the version is empty, so a future rename fails the build instead.

mode: ContinuousDeploymentContinuousDelivery. GitVersion 6 renamed the mode values: 5.x ContinuousDeployment is 6.x ContinuousDelivery, and 6.x ContinuousDeployment is a new trunk-based mode. (deployment-mode: is not a valid key — 6.4.0 rejects it with Property 'deployment-mode' not found.) Measured one commit past v6.7.1 on main:

config 5.12.0 6.4.0
mode: ContinuousDeployment 6.7.2-ci.1 6.7.2
mode: ContinuousDelivery 6.7.2-1

Keeping the old value would have dropped the pre-release tag and produced a plain 6.7.2 colliding with the eventual release.

What changes for us

scenario 5.12.0 6.4.0
PR ref refs/pull/234/merge 6.7.2-PullRequest0234.1 6.7.2-PullRequest234.1
release tag v6.7.1 6.7.1 6.7.1

The zero-padding on the PR number is the only user-visible difference; README's worked example is updated. PR versions stay unique per commit (PullRequest234.3, .4 across successive commits), which is why FullSemVer is kept over SemVer — on a plain branch SemVer repeats across commits while FullSemVer carries the count.

Checked locally with both tools against this repo, and ./gradlew packageName -Pversion=6.7.2-PullRequest234.4 names the zip as expected.

Note this branch now has a non-dependabot commit on it, so dependabot will leave it alone rather than rebasing it.

The first CI run of this branch built `Octopus.TeamCity.6.8.0-PullRequest223.3` where 5.x
would have built `6.7.2-PullRequest0223.3` - the minor moved, not just the padding.

`pull-request` carries `increment: Inherit` in both versions, so the increment comes from
the source branch. GitVersion 6 resolves that through `develop`, whose default increment
is Minor; 5.12.0 resolved it through `main` (Patch). `develop` here is a branch last
touched at "Update Octo.exe to 3.4.0-beta0002" and long superseded by release-please on
`main`, so the version was being decided by a dead ref. Reproduced against the real
`refs/pull/223/merge`, and deleting the `origin/develop` ref alone takes 6.4.0 back to
`6.7.2-PullRequest223.3`.

Pinning the increment fixes it at the config rather than depending on which stale branches
the remote happens to carry:

| GitVersion.yml | 5.12.0 | 6.4.0 |
|---|---|---|
| as pushed | `6.7.2-PullRequest0223.3` | `6.8.0-PullRequest223.3` |
| `pull-request: increment: Patch` | `6.7.2-PullRequest0223.3` | `6.7.2-PullRequest223.3` |

5.12.0 reads the same file unchanged, and `main` and the `v6.7.1` tag stay at `6.7.1`
under both tools, so the nightly and release paths are untouched.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@NickJosevski

Copy link
Copy Markdown
Contributor

The first run here built Octopus.TeamCity.6.8.0-PullRequest223.3, where the equivalent GitVersion 5 run on #235 built 6.7.2-PullRequest0235.2 — so the minor moved, not just the zero-padding. Chased it down and pushed a fix.

pull-request carries increment: Inherit in both versions, so the increment comes from the source branch. GitVersion 6 resolves that through develop (default increment Minor); 5.12.0 resolved it through main (Patch). develop on this remote was last touched at "Update Octo.exe to 3.4.0-beta0002" and has been superseded by release-please on main for years, so the plugin's PR version was being decided by a dead ref.

Reproduced against the real refs/pull/223/merge with both tools, and deleting just the origin/develop ref takes 6.4.0 back to 6.7.2-PullRequest223.3 — which is what identified it.

Pinned at the config rather than depending on the remote's branch hygiene:

GitVersion.yml 5.12.0 6.4.0
before this commit 6.7.2-PullRequest0223.3 6.8.0-PullRequest223.3
pull-request: increment: Patch 6.7.2-PullRequest0223.3 6.7.2-PullRequest223.3

5.12.0 reads the same file unchanged, so the config isn't tied to the bump landing, and main plus the v6.7.1 tag stay at 6.7.1 under both tools — the nightly and release paths don't move.

Worth noting separately: origin/develop and a couple of dozen other long-dead branches are still on the remote. Nothing here depends on them any more, but they're the reason this was subtle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant