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:
parent
051536ff31
commit
a531f0da37
17
.github/workflows/package_updates.yml
vendored
Normal file
17
.github/workflows/package_updates.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user