Update the ClearURLs uBo list #9249
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 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 <[email protected]> | |
branch: bot | |
committer: Update bot <[email protected]> | |
body: > | |
**Note: This is a bot. Its creators are not responsible for its actions**<br> | |
Updating the «ClearURLs for uBO» list | |
labels: bot |