-
-
Notifications
You must be signed in to change notification settings - Fork 149
35 lines (35 loc) · 1.01 KB
/
generate_clearurlsubo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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