add I-Lang conformance badge + non-goals #38
This file contains hidden or 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: Mirror to HuggingFace | |
| on: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| mirror: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Push to HuggingFace | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: | | |
| mkdir -p /tmp/hf-push | |
| cp README.md LICENSE /tmp/hf-push/ | |
| cp skills/imprint/SKILL.md /tmp/hf-push/ | |
| cp -r data /tmp/hf-push/ | |
| # Add HF dataset card metadata before README | |
| printf '%s\n' '---' 'license: mit' 'tags:' ' - ai-agent' ' - behavioral-dna' ' - i-lang' ' - ilang-protocol' ' - personality' ' - developer-tools' 'pretty_name: Imprint - AI Behavioral DNA Protocol' 'configs:' ' - config_name: default' ' data_files:' ' - split: train' ' path: data/*.jsonl' '---' '' > /tmp/hf-push/README.md | |
| awk '/^---$/{c++; next} c>=2' README.md >> /tmp/hf-push/README.md | |
| cd /tmp/hf-push | |
| git init -b main | |
| git config user.name "ilang-ai" | |
| git config user.email "ilang-ai@users.noreply.github.com" | |
| git add -A | |
| git commit -m "Sync from GitHub" | |
| git remote add hf https://ilangai:${HF_TOKEN}@huggingface.co/datasets/i-Lang/Imprint | |
| git push hf main --force |