From e660173ff496629b7b39f495632a0b5f5b80d7b9 Mon Sep 17 00:00:00 2001 From: pavlov346346-source Date: Tue, 8 Sep 2026 08:19:12 +0300 Subject: [PATCH] Remove one-time v17.6.9 idempotency workflow --- .github/workflows/hotfix-v1769-idempotent.yml | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/hotfix-v1769-idempotent.yml diff --git a/.github/workflows/hotfix-v1769-idempotent.yml b/.github/workflows/hotfix-v1769-idempotent.yml deleted file mode 100644 index 02f196a..0000000 --- a/.github/workflows/hotfix-v1769-idempotent.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Hotfix v17.6.9 offer workspace idempotency -on: - push: - branches: - - feature/v17.6.9-offer-pdf-tabs-gallery -permissions: - contents: write -jobs: - patch: - if: github.actor != 'github-actions[bot]' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: feature/v17.6.9-offer-pdf-tabs-gallery - - name: Make offer tab rendering idempotent - shell: bash - run: | - python - <<'PY' - from pathlib import Path - p=Path('public/core/offer-workspace-v1769.js') - s=p.read_text() - old="const edit=$('sunOfferEdit');if(edit){edit.textContent=mode==='editor'?'К просмотру':'Редактировать';edit.setAttribute('aria-pressed',mode==='editor'?'true':'false')}" - new="const edit=$('sunOfferEdit');if(edit){const label=mode==='editor'?'К просмотру':'Редактировать';if(edit.textContent!==label)edit.textContent=label;edit.setAttribute('aria-pressed',mode==='editor'?'true':'false')}" - if old not in s: - raise SystemExit('target not found') - p.write_text(s.replace(old,new,1)) - PY - - name: Commit hotfix - shell: bash - run: | - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - git add public/core/offer-workspace-v1769.js - git commit -m "Make v17.6.9 offer workspace rendering idempotent" - git push origin HEAD:feature/v17.6.9-offer-pdf-tabs-gallery