name: Bump dependencies on: schedule: - cron: 0 20 * * * workflow_dispatch: jobs: bump: strategy: fail-fast: false matrix: include: - repository: "go-skynet/go-llama.cpp" variable: "GOLLAMA_VERSION" branch: "master" - repository: "go-skynet/go-llama.cpp" variable: "GOLLAMA_GRAMMAR_VERSION" branch: "master" - repository: "go-skynet/go-ggml-transformers.cpp" variable: "GOGGMLTRANSFORMERS_VERSION" branch: "master" - repository: "donomii/go-rwkv.cpp" variable: "RWKV_VERSION" branch: "main" - repository: "ggerganov/whisper.cpp" variable: "WHISPER_CPP_VERSION" branch: "master" - repository: "go-skynet/go-bert.cpp" variable: "BERT_VERSION" branch: "master" - repository: "go-skynet/bloomz.cpp" variable: "BLOOMZ_VERSION" branch: "main" - repository: "nomic-ai/gpt4all" variable: "GPT4ALL_VERSION" branch: "main" - repository: "mudler/go-ggllm.cpp" variable: "GOGGLLM_VERSION" branch: "master" - repository: "mudler/go-stable-diffusion" variable: "STABLEDIFFUSION_VERSION" branch: "master" - repository: "mudler/go-piper" variable: "PIPER_VERSION" branch: "master" runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Bump dependencies 🔧 run: | bash .github/bump_deps.sh ${{ matrix.repository }} ${{ matrix.branch }} ${{ matrix.variable }} - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: token: ${{ secrets.UPDATE_BOT_TOKEN }} push-to-fork: ci-forks/LocalAI commit-message: ':arrow_up: Update ${{ matrix.repository }}' title: ':arrow_up: Update ${{ matrix.repository }}' branch: "update/${{ matrix.variable }}" body: Bump of ${{ matrix.repository }} version signoff: true