Skip to content

Commit a8107c7

Browse files
authored
fix ads?
1 parent 1fa3a2e commit a8107c7

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/ads.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,14 @@ jobs:
2929
sed -i '/const blockedHostnames/,/document.body.appendChild(script);/d' static/assets/js/m1.js
3030
3131
- name: Commit changes
32-
env:
33-
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
34-
GIT_EMAIL: ${{ secrets.GIT_EMAIL }}
3532
run: |
36-
git config --global user.name "${GIT_USERNAME}"
37-
git config --global user.email "${GIT_EMAIL}"
33+
git config --global user.name "github-actions[bot]"
34+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
3835
if git diff --quiet; then
3936
echo "No changes detected"
4037
else
41-
git add static/assets/js/m1.js
42-
git commit -m "Remove ad injection block from m1.js"
38+
git add static/assets/js/m.js
39+
git commit -m "Remove ad injection block from m.js"
4340
fi
4441
4542
- name: Push changes

0 commit comments

Comments
 (0)