2020-12-17 15:36:08 +01:00
|
|
|
name: Package updates
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2020-12-17 21:24:13 +01:00
|
|
|
- cron: '0 */1 * * *'
|
2020-12-17 15:36:08 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
update:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Clone repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Process package updates
|
|
|
|
env:
|
|
|
|
GITHUB_API_TOKEN: ${{ secrets.GH_API_KEY }}
|
2020-12-17 21:24:13 +01:00
|
|
|
BUILD_PACKAGES: "true"
|
|
|
|
GIT_COMMIT_PACKAGES: "true"
|
2020-12-17 15:36:08 +01:00
|
|
|
run: |
|
2020-12-17 21:24:13 +01:00
|
|
|
git config --global user.name "Termux Github Actions"
|
|
|
|
git config --global user.email "leonid.pliushch@gmail.com"
|
2020-12-17 15:36:08 +01:00
|
|
|
bash ./scripts/updates/check-updates.sh
|