mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-04-28 11:40:32 +00:00
Add yamlfmt precommit hook (#2584)
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
parent
4f0eecc181
commit
721ed50116
15 changed files with 219 additions and 1372 deletions
8
.github/workflows/codeflash.yaml
vendored
8
.github/workflows/codeflash.yaml
vendored
|
|
@ -1,17 +1,14 @@
|
|||
name: Codeflash
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
# So that this workflow only runs when code within the target module is modified
|
||||
- "skyvern/**"
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
# Any new push to the PR will cancel the previous run, so that only the latest code is optimized
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
optimize:
|
||||
name: Optimize new Python code in this PR
|
||||
|
|
@ -21,7 +18,6 @@ jobs:
|
|||
env:
|
||||
CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }}
|
||||
CODEFLASH_PR_NUMBER: ${{ github.event.number }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -44,5 +40,5 @@ jobs:
|
|||
poetry env use python
|
||||
poetry run codeflash
|
||||
- name: remove test dir
|
||||
run: |
|
||||
rm -rf codeflash-tests
|
||||
run: |-
|
||||
rm -rf codeflash-tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue