Fix duplicated v17.6.6 picker declaration

This commit is contained in:
pavlov346346-source 2026-09-08 06:54:30 +03:00
parent ed0b6bf490
commit 64ac8ba397

28
.github/workflows/fix-v1766-picker.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Fix v17.6.6 picker declaration
on:
push:
branches:
- feature/v17.6.6-offer-templates
paths:
- .github/workflows/fix-v1766-picker.yml
permissions:
contents: write
jobs:
fix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Fix picker declaration
run: |
sed -i 's/function ensureOfferPicker(){ function ensureOfferPicker(){/function ensureOfferPicker(){/' public/core/ux-fixes-v1764.js
node --check public/core/ux-fixes-v1764.js
- name: Commit
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add public/core/ux-fixes-v1764.js
git commit -m "Fix v17.6.6 offer picker declaration" || exit 0
git push