Use PRs for app updates

This commit is contained in:
Aaron Dewes 2022-10-09 15:35:25 +02:00 committed by GitHub
parent d3be37b268
commit 4f3b6cbbba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ name: Check app updates
on:
workflow_dispatch:
schedule:
- cron: "0 * * * *"
- cron: "0 10 * * *"
jobs:
build:
@ -25,7 +25,6 @@ jobs:
cargo run --features=cli,dev-tools -- update ../apps --token "${{ secrets.GITHUB_TOKEN }}"
cd ..
rm -rf app-cli
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
git commit -a -m "Update apps" || true
git push
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4