mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-04-28 03:30:10 +00:00
make alembic check pre-commit manual (#2410)
This commit is contained in:
parent
a626d0c75f
commit
d0d07c3985
2 changed files with 19 additions and 3 deletions
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
|
@ -92,7 +92,8 @@ jobs:
|
|||
- run: poetry install --no-interaction
|
||||
|
||||
# Finally, run pre-commit.
|
||||
- uses: pre-commit/action@v3.0.0
|
||||
- name: Run all pre-commit hooks
|
||||
uses: pre-commit/action@v3.0.0
|
||||
env:
|
||||
ENABLE_OPENAI: "true"
|
||||
OPENAI_API_KEY: "sk-dummy"
|
||||
|
|
@ -103,7 +104,22 @@ jobs:
|
|||
AZURE_GPT4O_MINI_API_VERSION: "dummy"
|
||||
AWS_REGION: "us-east-1"
|
||||
ENABLE_BEDROCK: "true"
|
||||
|
||||
|
||||
- name: Run the alembic-check pre-commit hook
|
||||
uses: pre-commit/action@v3.0.0
|
||||
env:
|
||||
ENABLE_OPENAI: "true"
|
||||
OPENAI_API_KEY: "sk-dummy"
|
||||
ENABLE_AZURE_GPT4O_MINI: "true"
|
||||
AZURE_GPT4O_MINI_DEPLOYMENT: "dummy"
|
||||
AZURE_GPT4O_MINI_API_KEY: "dummy"
|
||||
AZURE_GPT4O_MINI_API_BASE: "dummy"
|
||||
AZURE_GPT4O_MINI_API_VERSION: "dummy"
|
||||
AWS_REGION: "us-east-1"
|
||||
ENABLE_BEDROCK: "true"
|
||||
with:
|
||||
args: "run --hook-stage manual alembic-check"
|
||||
|
||||
fe-lint-build:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
|
|
|
|||
|
|
@ -101,4 +101,4 @@ repos:
|
|||
name: Alembic Check
|
||||
entry: ./run_alembic_check.sh
|
||||
language: script
|
||||
stages: [ pre-commit ]
|
||||
stages: [ manual ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue