psl update #63
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |