Skip to content

Commit

Permalink
chore: modified PR condition and updated action
Browse files Browse the repository at this point in the history
  • Loading branch information
BallardRobinett committed Feb 2, 2024
1 parent 4865007 commit 2e196ab
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/precommit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@ on:
push:
branches: [main, develop, 127-fix-precommit-conditions]
pull_request:
branches: [main, develop]

jobs:
install-dev-tools:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: dev env setup
uses: ./.github/actions/dev-env-setup
- run: yarn install --frozen-lockfile
working-directory: ./client
pre-commit:
needs: install-dev-tools
runs-on: ubuntu-latest
Expand All @@ -30,4 +39,5 @@ jobs:
path: |
./.pre-commit-cache
key: pre-commit-${{ env.PY }}-${{ hashFiles('.pre-commit-config.yaml') }}-v3
- run: pre-commit run --all-files
- run: pip install -r requirements.txt
- uses: pre-commit/[email protected]

0 comments on commit 2e196ab

Please sign in to comment.