forked from PyrogramMod/PyrogramMod
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 879 Bytes
/
Copy pathscrape-errors.yml
File metadata and controls
35 lines (31 loc) · 879 Bytes
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: Scrape Errors
on:
workflow_dispatch: {}
jobs:
build:
name: scrape-errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: scrape
run: |
cd compiler/errors/
pip install --upgrade pip setuptools wheel
pip install requests==2.28.1
python sort.py scrape
python sort.py sort
- name: Commit and Push changes
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "GitHub Actions Bot"
git add .
git commit -m "Automated update of unknown_errors"
git push origin main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}