File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1- name : Obfuscate and Commit
1+ name : Obfs
22
33on :
44 push :
@@ -12,14 +12,15 @@ jobs:
1212 contents : write
1313
1414 steps :
15- - uses : actions/checkout@v3
15+ - uses : actions/checkout@v4
1616 with :
1717 fetch-depth : 0
1818
1919 - name : Use Node.js
2020 uses : actions/setup-node@v3
2121 with :
22- node-version : " 16"
22+ node-version : " 20"
23+ check-latest : false
2324
2425 - name : Install dependencies
2526 run : npm install -g javascript-obfuscator
4546 git config --local user.email "github-actions[bot]@users.noreply.github.com"
4647 git config --local user.name "github-actions[bot]"
4748 git add _worker.js
48- git commit -m "Obfuscate _worker.js" || echo "No changes to commit"
49+ git commit -m "Secured and refined _worker.js logic " || echo "No changes to commit"
4950
5051 - name : Push changes
51- uses : ad-m/github-push-action@master
52- with :
53- github_token : ${{ secrets.GITHUB_TOKEN }}
54- branch : ${{ github.ref }}
52+ run : |
53+ git push origin ${{ github.ref }}
You can’t perform that action at this time.
0 commit comments