Files
adfilt/.github/workflows/generate_clearurlsubo.yml
T
2021-11-07 07:01:03 -05:00

32 lines
878 B
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@v2
- name: Set up Python
uses: actions/setup-python@v2
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 list ClearURLs uBo list
title: '[Bot] Update the list ClearURLs uBo list'
body: >
**Note: This is a bot. It's creators are not responsable for its actions**<br>
Updating ClearURLs for uBo list
labels: bot