Skip to content

psl update

psl update #61

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
with:
submodules: true
- id: update
name: Update public suffix list submodule
run: |
echo "::set-output name=old-sha::$(git -C src/cookies/psl/list rev-parse --short HEAD)"
git -C src/cookies/psl/list checkout master
git -C src/cookies/psl/list pull
echo "::set-output name=new-sha::$(git -C src/cookies/psl/list rev-parse --short HEAD)"
- 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 }}](https://github.com/publicsuffix/list/commit/${{ steps.update.outputs.old-sha }}) to [${{ steps.update.outputs.new-sha }}](https://github.com/publicsuffix/list/commit/${{ 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.