char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
28123a393
char/aliceai-t5-moe
1name : Check vendor 2 3on : 4workflow_dispatch : # allows manual triggering 5push : 6branches : 7- master 8paths : [ 9'vendor/**' , 10'scripts/sync_vendor.py' 11] 12 13pull_request : 14types : [ opened , synchronize , reopened ] 15paths : [ 16'vendor/**' , 17'scripts/sync_vendor.py' 18] 19 20jobs : 21check-vendor : 22runs-on : [ self-hosted , fast ] 23 24steps : 25- name : Checkout 26uses : actions/checkout@v6 27with : 28fetch-depth : 0 29 30- name : Setup Python 31uses : actions/setup-python@v6 32with : 33python-version : '3.x' 34 35- name : Run vendor sync 36run : | 37set -euo pipefail 38python3 scripts/sync_vendor.py 39 40- name : Check for changes 41run : | 42 set -euo pipefail 43 # detect modified or untracked files 44 changed=$(git status --porcelain --untracked-files=all || true) 45 if [ -n "$changed" ]; then 46 echo "Vendor sync modified files:" 47 echo "$changed" | awk '{ print $2 }' | sed '/^$/d' 48 echo "Failing because vendor files mismatch. Please update scripts/sync_vendor.py" 49 exit 1 50 else 51 echo "Vendor files are up-to-date." 52 fi