-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (34 loc) · 947 Bytes
/
error_scrape.yml
File metadata and controls
37 lines (34 loc) · 947 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
36
37
name: Scrape Errors
on:
workflow_dispatch: {}
jobs:
build:
permissions:
contents: write
name: scrape-errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- 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: Open Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: >
Update unknown_errors
title: >
Update Telegram API errors
body: >
This is an automated PR. Please check the diff, and the action logs, to check for any funky behaviour.
branch: automated/api-error-scrape
labels: automated
delete-branch: true