Skip to content

Update apps

Update apps #101

Workflow file for this run

name: Update apps
on:
schedule:
- cron: "0 0,12 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- name: Run update checker
run: |
bash etc/tools/updates.sh
- name: Commit changes
run: |
current_date=$(date +'%d/%m/%Y, %H:%M')
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git add -A
cat updates_list.txt > /tmp/updates && rm -r updates_list.txt
git commit -m "Update $(cat /tmp/updates)"
- name: Push changes
run: |
git push https://${{ secrets.GH_TOKEN }}@github.com/techguy16/LinStore