Skip to content

fix(ci): make auto-tag remote portable across renames/transfers#628

Merged
TaprootFreak merged 1 commit into
stagingfrom
fix/auto-tag-portable-remote-url
Jun 1, 2026
Merged

fix(ci): make auto-tag remote portable across renames/transfers#628
TaprootFreak merged 1 commit into
stagingfrom
fix/auto-tag-portable-remote-url

Conversation

@TaprootFreak
Copy link
Copy Markdown
Contributor

Summary

auto-tag.yaml set the SSH remote to a hardcoded git@github.com:DFXswiss/realunit-app.git. After the recent transfer to RealUnitCH/app, the next tag push would either rely on GitHub's 301 redirect (which git push over SSH does not follow reliably) or fail outright.

Switching to ${{ github.repository }} resolves to the current <owner>/<repo> of the workflow run, so the remote tracks the repo automatically across future renames and transfers.

Verification

  • Workflow YAML still parses (no shell quoting issues with the ${{ }} substitution).
  • Next push to develop triggers auto-tag.yaml and the tag lands cleanly on the new origin.

The auto-tag workflow set the SSH remote to a hardcoded
`git@github.com:DFXswiss/realunit-app.git`. After the repo moved to a
different org/name, the next tag push would have failed (or relied on
GitHub's 301 redirect, which git-over-SSH does not follow reliably).

`${{ github.repository }}` resolves to the current `<owner>/<repo>`
of the workflow run, so the remote follows the repo automatically across
renames and transfers.
@TaprootFreak TaprootFreak marked this pull request as ready for review June 1, 2026 15:25
@TaprootFreak TaprootFreak merged commit 727d7ea into staging Jun 1, 2026
8 of 9 checks passed
@TaprootFreak TaprootFreak deleted the fix/auto-tag-portable-remote-url branch June 1, 2026 15:26
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.

1 participant