ci: the performance-workflow contract test follows the renamed labels

The test pins the literal workflow name and the release-gate label; both
moved to the Russian names of #327.

Issue: #327
User-Visible: no
This commit is contained in:
Codex
2026-08-27 18:50:02 +03:00
parent 1a8b480355
commit 6a3ac52258
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ jobs:
run: |
set -euo pipefail
SHA=$(git rev-parse HEAD)
node scripts/release-gate.mjs "$SHA" --workflow=performance.yml --label="Full Performance"
node scripts/release-gate.mjs "$SHA" --workflow=performance.yml --label="Полные бенчмарки производительности"
build:
name: Сборка бандла и загрузка ассетов
needs: gate
+2 -2
View File
@@ -22,7 +22,7 @@ test('ordinary Validate keeps only the bounded candidate performance smoke', ()
test('full performance is isolated to stable, scheduled and manual entry points', () => {
const workflow = readWorkflow('performance.yml');
for (const contract of [
'name: Full Performance',
'name: Полные бенчмарки производительности',
'branches:',
'- main',
'schedule:',
@@ -44,5 +44,5 @@ test('full performance is isolated to stable, scheduled and manual entry points'
const release = readWorkflow('release.yml');
assert.ok(release.includes('if: ${{ !github.event.release.prerelease }}'));
assert.ok(release.includes('--workflow=performance.yml --label="Full Performance"'));
assert.ok(release.includes('--workflow=performance.yml --label="Полные бенчмарки производительности"'));
});