Skip to content

Commit 13e4f16

Browse files
committed
update scrape-errors.yml
1 parent 2253d14 commit 13e4f16

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed
Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Scrape Errors
22
on:
3-
workflow_dispatch: {} # Allow manually kicking off builds
4-
schedule:
5-
- cron: '0 12 * * *' # Every day at 12:00 (noon). Ref https://crontab.guru/examples.html
3+
workflow_dispatch: {}
4+
65
jobs:
76
build:
87
name: scrape-errors
@@ -11,6 +10,7 @@ jobs:
1110
- uses: actions/checkout@v3
1211
with:
1312
fetch-depth: 1
13+
1414
- name: Set up Python
1515
uses: actions/setup-python@v3
1616
with:
@@ -24,15 +24,12 @@ jobs:
2424
python sort.py scrape
2525
python sort.py sort
2626
27-
- name: Open Pull Request
28-
uses: peter-evans/create-pull-request@v4
29-
with:
30-
commit-message: >
31-
Update unknown_errors
32-
title: >
33-
Update Telegram API errors
34-
body: >
35-
This is an automated PR. Please check the diff, and the action logs, to check for any funky behaviour.
36-
branch: automated/api-error-scrape
37-
labels: automated
38-
delete-branch: true
27+
- name: Commit and Push changes
28+
run: |
29+
git config --local user.email "github-actions[bot]@users.noreply.github.com"
30+
git config --local user.name "GitHub Actions Bot"
31+
git add .
32+
git commit -m "Automated update of unknown_errors"
33+
git push origin main
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)