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 @@ -155,7 +155,7 @@ jobs:
{
printf 'plugin=%s\n' "$PLUGIN"
printf 'version=%s\n' "$VER"
printf 'archive_name=%s v%s.plugin\n' "$PLUGIN" "$VER"
printf 'archive_name=%s.v%s.plugin\n' "$PLUGIN" "$VER"
} >> "$GITHUB_OUTPUT"
- name: Verify tag matches plugin.json, READMEs, and CHANGELOG
run: python3 scripts/check_release_consistency.py --tag "${{ github.ref_name }}"
Expand Down
5 changes: 5 additions & 0 deletions tests/test_ci_security_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ def test_secret_scan_combines_local_and_full_history_scanners(self) -> None:
):
self.assertIn(token, text)

def test_release_assets_use_download_stable_filenames(self) -> None:
text = (WORKFLOWS / "release.yml").read_text(encoding="utf-8")
self.assertIn("printf 'archive_name=%s.v%s.plugin\\n'", text)
self.assertNotIn("printf 'archive_name=%s v%s.plugin\\n'", text)

def test_public_workflows_never_select_self_hosted_runners(self) -> None:
for name, text in self._workflow_texts().items():
with self.subTest(workflow=name):
Expand Down
Loading