Fix duplicated v17.6.6 timer declaration
This commit is contained in:
parent
9bb3f02e15
commit
2d8a80cc71
27
.github/workflows/fix-v1766-duplicate.yml
vendored
Normal file
27
.github/workflows/fix-v1766-duplicate.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name: Fix v17.6.6 duplicate timer
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- feature/v17.6.6-offer-templates
|
||||||
|
paths:
|
||||||
|
- .github/workflows/fix-v1766-duplicate.yml
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
fix:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Fix duplicate declaration
|
||||||
|
run: |
|
||||||
|
sed -i 's/ let autoTimer=0,maintainTimer=0; let autoTimer=0,maintainTimer=0;/ let autoTimer=0,maintainTimer=0;/' 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 UX timer declaration" || exit 0
|
||||||
|
git push
|
||||||
Loading…
Reference in New Issue
Block a user