Update filterlist #6
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: Update filterlist | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 3 * * SUN' # run every Sunday at 3:00 | |
jobs: | |
update_filterlist: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Install dependencies | |
run: npm ci | |
- name: Update EasyList | |
run: | | |
npm run update-easylist | |
- name: Read EasyList revision | |
id: read-revision | |
run: echo "revision=`cat rules/filterlists/easylist_revision.txt`" >> "$GITHUB_OUTPUT" | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
title: Update EasyList Cookie to ${{ steps.read-revision.outputs.revision }} | |
commit-message: Update EasyList Cookie to ${{ steps.read-revision.outputs.revision }} | |
labels: | | |
minor | |
dependencies | |
release | |
reviewers: muodov,sammacbeth | |
body: | | |
This PR updates the filterlist based on EasyList Cookie commit [${{ steps.read-revision.outputs.revision }}](https://github.com/easylist/easylist/tree/${{ steps.read-revision.outputs.revision }}/easylist_cookie). |