29 lines
845 B
YAML
29 lines
845 B
YAML
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
|