CI: experimental support for automatically checking updates, building them and committing
No push to main repo is performed currently.
This commit is contained in:
parent
b0a795c2bb
commit
61e23dd6c6
6
.github/workflows/package_updates.yml
vendored
6
.github/workflows/package_updates.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user