Skip to content

Put the name of the repo in depot's local-dev-cluster commit - #184

Merged
coltfred merged 1 commit into
mainfrom
fix-depot-commit-repo-name
Nov 18, 2026
Merged

coltfred merged 1 commit into
mainfrom
fix-depot-commit-repo-name

Conversation

@coltfred

Copy link
Copy Markdown
Member

The depot job builds its commit message from ${THISREPO}, but that variable is only ever assigned in the deployments job's "Commit and PR to deployments" step. It's a plain shell variable, not a workflow env, so it dies with the run: block that set it, and the depot job runs on a different runner besides. It expanded to nothing on every run.

The result is that depot's history reads Upgrade local-dev-cluster: [ -> 2.1.5 ], with no record of which image the bump was for. Nothing failed, since the message is still a valid non-empty string, which is why it went unnoticed.

Set THISREPO the same way the deployments job does, from basename of github.repository, which in a reusable workflow is the calling repo. Commits in depot will now match the ones in deployments: Upgrade local-dev-cluster: [ ironcore-id -> 1.4.1 ].

Non-breaking, so tag-version stays at v1 and the deploy-v1.0.0 tag moves on merge. First real check is the next release from any consuming repo.

THISREPO is a shell variable set in the deployments job, so the depot job, which
runs on its own runner, never saw it. Every bump landed in depot as
"Upgrade local-dev-cluster: [  -> 2.1.5 ]" with no clue which image moved.
@coltfred
coltfred requested a review from a team as a code owner November 18, 2026 20:22
@coltfred
coltfred requested review from BobWall23 and removed request for a team November 18, 2026 20:22
@github-actions

Copy link
Copy Markdown

Merging this PR will move these workflow tags:

deploy-v1.0.0

@coltfred coltfred changed the title Name the repo in depot's local-dev-cluster commit Put the name of the repo in depot's local-dev-cluster commit Nov 18, 2026
@coltfred
coltfred enabled auto-merge (squash) November 18, 2026 20:23
@github-actions

Copy link
Copy Markdown

File Coverage Lines
All files 66% 66% ✅

Minimum allowed coverage is 24%

Generated by 🐒 cobertura-action against 6b59e8c

@coltfred
coltfred merged commit b0bb60f into main Nov 18, 2026
13 checks passed
@coltfred
coltfred deleted the fix-depot-commit-repo-name branch November 18, 2026 20:42
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