Download .github/workflows/hai-gate.yml from smlflg/hai-github-gate: direct link, hf CLI and curl.
- Browser
- Download file 322 Bytes
-
https://huggingface.co/smlflg/hai-github-gate/resolve/main/.github/workflows/hai-gate.yml
- Command line
-
hf download hf://smlflg/hai-github-gate/.github/workflows/hai-gate.yml
-
curl -L -o hai-gate.yml https://huggingface.co/smlflg/hai-github-gate/resolve/main/.github/workflows/hai-gate.yml
322 Bytes
| name: HAI Gate | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, edited, reopened] | |
| jobs: | |
| hai-gate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Run HAI gate | |
| run: python scripts/hai_gate.py --base origin/${{ github.base_ref }} | |