Fix (examples/llm): Fix infinite loop in LLM entrypoint with WikiText2 #2814
Workflow file for this run
This file contains 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: Pre-Commit Workflow | |
on: | |
push: | |
branches: [ master, dev ] | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
- review_requested | |
jobs: | |
pre_commit: | |
name: pre-commit | |
runs-on: ubuntu-latest | |
if: ${{ !github.event.pull_request.draft }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.7' | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] | |
with: | |
extra_args: --verbose --all-files |