From 64ac8ba3976765c949ad011a661f76f711a3d389 Mon Sep 17 00:00:00 2001 From: pavlov346346-source Date: Tue, 8 Sep 2026 06:54:30 +0300 Subject: [PATCH] Fix duplicated v17.6.6 picker declaration --- .github/workflows/fix-v1766-picker.yml | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/fix-v1766-picker.yml diff --git a/.github/workflows/fix-v1766-picker.yml b/.github/workflows/fix-v1766-picker.yml new file mode 100644 index 0000000..0730e84 --- /dev/null +++ b/.github/workflows/fix-v1766-picker.yml @@ -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