File tree Expand file tree Collapse file tree 1 file changed +12
-15
lines changed
Expand file tree Collapse file tree 1 file changed +12
-15
lines changed Original file line number Diff line number Diff line change 11name : Scrape Errors
22on :
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+
65jobs :
76 build :
87 name : scrape-errors
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 }}
You can’t perform that action at this time.
0 commit comments