CI: experimental support for automatically checking updates, building them and committing

No push to main repo is performed currently.
This commit is contained in:
Leonid Pliushch 2020-12-17 22:24:13 +02:00
parent b0a795c2bb
commit 61e23dd6c6
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,7 @@ name: Package updates
on:
schedule:
- cron: '0 */6 * * *'
- cron: '0 */1 * * *'
jobs:
update:
@ -13,5 +13,9 @@ jobs:
- name: Process package updates
env:
GITHUB_API_TOKEN: ${{ secrets.GH_API_KEY }}
BUILD_PACKAGES: "true"
GIT_COMMIT_PACKAGES: "true"
run: |
git config --global user.name "Termux Github Actions"
git config --global user.email "leonid.pliushch@gmail.com"
bash ./scripts/updates/check-updates.sh