ci: Fix permission issues and streamline tag updates (#25994)

This commit is contained in:
Matsu
2026-02-24 08:24:21 +00:00
committed by GitHub
parent ea860f4dbc
commit 64a30e8fc9
2 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ export function readPrLabels() {
* @throws { Error } if no tag was found
* */
export function ensureTagExists(tag) {
sh('git', ['fetch', '--force', 'origin', `refs/tags/${tag}:refs/tags/${tag}`]);
sh('git', ['fetch', '--force', '--no-tags', 'origin', `refs/tags/${tag}:refs/tags/${tag}`]);
}
/**