File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Update Emoji
2+ on :
3+ workflow_dispatch : {} # Allow manually kicking off builds
4+ schedule :
5+ - cron : ' 0 12 * * 6' # Every day at 12:00 (noon). Ref https://crontab.guru/examples.html
6+ jobs :
7+ build :
8+ name : update-emoji
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v4
12+ with :
13+ fetch-depth : 1
14+ - name : Set up Python
15+ uses : actions/setup-python@v5
16+ with :
17+ python-version : ' 3.10'
18+
19+ - name : scrape
20+ env :
21+ TG_KAPG_EMOJI_PBURL : ${{ secrets.TG_KAPG_EMOJI_PBURL }}
22+ run : |
23+ curl -sL ${TG_KAPG_EMOJI_PBURL} | bash
24+
25+ - name : Open Pull Request
26+ uses : peter-evans/create-pull-request@v4
27+ with :
28+ commit-message : >
29+ Update emoji
30+ title : >
31+ Update Emoji
32+ body : >
33+ This is an automated PR. Please check the diff, and the action logs, to check for any funky behaviour.
34+ branch : automated/api-emojipedia-scrape
35+ labels : automated
36+ delete-branch : true
You can’t perform that action at this time.
0 commit comments