CI: add workflow for check-updates.sh

For now script will just check package updates each 6 hours and print
them to console. Nothing will be built/pushed.

Functionality will be extended gradually.
This commit is contained in:
Leonid Pliushch 2020-12-17 16:36:08 +02:00
parent 051536ff31
commit a531f0da37
No known key found for this signature in database
GPG Key ID: 45F2964132545795

17
.github/workflows/package_updates.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Package updates
on:
schedule:
- cron: '0 */6 * * *'
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 }}
run: |
bash ./scripts/updates/check-updates.sh