Skip to content

psl update

psl update #58

Workflow file for this run

name: psl update
on:
schedule:
- cron: '0 0 7 * *'
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: update
name: Update public suffix list file
run: |
echo "::set-output name=old-sha::$(sha256sum src/cookies/psl/list/public_suffix_list.dat | cut -d " " -f 1)"
curl -o src/cookies/psl/list/public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat
echo "::set-output name=new-sha::$(sha256sum src/cookies/psl/list/public_suffix_list.dat | cut -d " " -f 1)"
- name: Create pull request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GH_PAT }}
commit-message: Update Public Suffix List to ${{ steps.update.outputs.new-sha }}
branch: public-suffix-list/patch
title: Update Public Suffix List to ${{ steps.update.outputs.new-sha }}
labels: dependencies
body: |
Update Public Suffix List from ${{ steps.update.outputs.old-sha }} to ${{ steps.update.outputs.new-sha }}.
This pull request was generated automatically. If you close this pull request, I won't bother you again until the next automatically scheduled update.