mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-09-28 22:04:19 +01:00
36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
name: Update the ClearURLs uBo list
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
schedule:
|
|
- cron: '16 20,2 * * *'
|
|
workflow_dispatch:
|
|
jobs:
|
|
mklist:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Build list
|
|
run: |
|
|
pip install requests
|
|
cd "ClearURLs for uBo"
|
|
python compile.py
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v3
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
commit-message: Update the ClearURLs uBo list
|
|
title: '[Bot] Update the ClearURLs uBo list'
|
|
delete-branch: true
|
|
author: Update bot <updatebot@github.com>
|
|
branch: bot
|
|
committer: Update bot <updatebot@github.com>
|
|
body: >
|
|
**Note: This is a bot. Its creators are not responsible for its actions**<br>
|
|
Updating the «ClearURLs for uBO» list
|
|
labels: bot
|