This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
Check app updates #6540
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check app updates | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 10 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Check for updates | |
run: | | |
git clone https://github.com/runcitadel/app-cli | |
cd app-cli | |
# TODO: Use prebuilts/Docker | |
cargo run --features=cli,dev-tools -- update ../apps --token "${{ secrets.GITHUB_TOKEN }}" | |
cd .. | |
rm -rf app-cli | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 |