File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : PSL Updates
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : " 0 0 1 * *"
6+ jobs :
7+ sync :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Prepare branch
11+ uses : actions/checkout@v4
12+ with :
13+ fetch-depth : 1
14+ token : ${{secrets.GITHUB_TOKEN}}
15+ - name : Test using Node.js
16+ uses : actions/setup-node@v1
17+ with :
18+ node-version : " v22"
19+ - name : Install ts-node
20+ run : npm i -g ts-node
21+ - name : Install dependencies
22+ run : npm install
23+ - name : Update psl
24+ run : ts-node ./script/psl.ts
25+ - name : Create Pull Request
26+ uses : peter-evans/create-pull-request@v7
27+ with :
28+ commit-message : " chore(psl): update PSL list by bot"
29+ branch : psl-update/patch
30+ title : " chore(psl): update PSL list by bot"
31+ body : " Automated update [PSL](https://publicsuffix.org/list/effective_tld_names.dat)"
32+ author : " github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
33+ sign-commits : true
You can’t perform that action at this time.
0 commit comments