Fix duplicated v17.6.6 picker declaration
This commit is contained in:
parent
ed0b6bf490
commit
64ac8ba397
28
.github/workflows/fix-v1766-picker.yml
vendored
Normal file
28
.github/workflows/fix-v1766-picker.yml
vendored
Normal 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
|
||||||
Loading…
Reference in New Issue
Block a user