Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
## Install

\`\`\`bash
uv tool install specify-cli --from git+https://github.com/github/spec-kit.git@${VERSION}
uv tool install specify-cli --from git+https://github.com/${GITHUB_REPOSITORY}.git@${VERSION}
specify init my-project
\`\`\`

Expand Down
7 changes: 7 additions & 0 deletions tests/test_github_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ def test_pinned_action_ref_accepts_uppercase_hex_sha():
)


def test_release_install_command_targets_current_repository():
release_workflow = (WORKFLOWS_DIR / "release.yml").read_text(encoding="utf-8")

assert "https://github.com/${GITHUB_REPOSITORY}.git@${VERSION}" in release_workflow
assert "https://github.com/github/spec-kit.git@${VERSION}" not in release_workflow


def test_community_bundle_submission_automation_is_wired():
source = WORKFLOWS_DIR / "add-community-bundle.md"
compiled = WORKFLOWS_DIR / "add-community-bundle.lock.yml"
Expand Down