mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-24 14:56:41 +00:00
eeb22317b5
Bumps [dcarbone/install-yq-action](https://github.com/dcarbone/install-yq-action) from 1.3.0 to 1.3.1. - [Release notes](https://github.com/dcarbone/install-yq-action/releases) - [Commits](https://github.com/dcarbone/install-yq-action/compare/v1.3.0...v1.3.1) --- updated-dependencies: - dependency-name: dcarbone/install-yq-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
48 lines
1.5 KiB
YAML
48 lines
1.5 KiB
YAML
name: Check if checksums are up-to-date
|
|
on:
|
|
schedule:
|
|
- cron: 0 20 * * *
|
|
workflow_dispatch:
|
|
jobs:
|
|
checksum_check:
|
|
runs-on: arc-runner-set
|
|
steps:
|
|
- name: Force Install GIT latest
|
|
run: |
|
|
sudo apt-get update \
|
|
&& sudo apt-get install -y software-properties-common \
|
|
&& sudo apt-get update \
|
|
&& sudo add-apt-repository -y ppa:git-core/ppa \
|
|
&& sudo apt-get update \
|
|
&& sudo apt-get install -y git
|
|
- uses: actions/checkout@v4
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y pip wget
|
|
sudo pip install --upgrade pip
|
|
pip install huggingface_hub
|
|
- name: 'Setup yq'
|
|
uses: dcarbone/install-yq-action@v1.3.1
|
|
with:
|
|
version: 'v4.44.2'
|
|
download-compressed: true
|
|
force: true
|
|
|
|
- name: Checksum checker 🔧
|
|
run: |
|
|
export HF_HOME=/hf_cache
|
|
sudo mkdir /hf_cache
|
|
sudo chmod 777 /hf_cache
|
|
bash .github/checksum_checker.sh gallery/index.yaml
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v7
|
|
with:
|
|
token: ${{ secrets.UPDATE_BOT_TOKEN }}
|
|
push-to-fork: ci-forks/LocalAI
|
|
commit-message: ':arrow_up: Checksum updates in gallery/index.yaml'
|
|
title: 'chore(model-gallery): :arrow_up: update checksum'
|
|
branch: "update/checksum"
|
|
body: Updating checksums in gallery/index.yaml
|
|
signoff: true
|