Skip to content

PSL Updates

PSL Updates #16

Workflow file for this run

name: PSL Updates
on:
workflow_dispatch:
schedule:
- cron: "0 0 1 * *"
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Prepare branch
uses: actions/checkout@v7
with:
fetch-depth: 1
token: ${{secrets.GITHUB_TOKEN}}
- name: Test using Node.js
uses: actions/setup-node@v6
with:
node-version: "v24"
- name: Install dependencies
run: npm install
- name: Update psl
run: npx tsx --tsconfig ./tsconfig.node.json ./script/psl.ts
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: "chore(psl): update PSL list by bot"
branch: psl-update/patch
title: "chore(psl): update PSL list by bot"
body: "Automated update [PSL](https://publicsuffix.org/list/effective_tld_names.dat)"
author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
sign-commits: true