mirror of
https://github.com/runcitadel/apps.git
synced 2024-11-11 16:30:37 +00:00
Use PRs for app updates
This commit is contained in:
parent
d3be37b268
commit
4f3b6cbbba
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user