Skip to content

Commit

Permalink
Trying to ease the validations
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfernandez committed Jun 19, 2024
1 parent e752116 commit eb275f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
path: .mypy_cache/${{ matrix.python-version }}
key: mypy-${{ matrix.python-version }}
- name: 'pre-commit'
uses: pre-commit/[email protected].0
uses: pre-commit/[email protected].1
# if: ${{ matrix.python-version != '3.6' }}
with:
extra_args: --all -c .pre-commit-config.yaml
Expand All @@ -70,6 +70,8 @@ jobs:
path: constraints-${{ matrix.python-version }}.txt

pull_request_changes:
# Do this only when it is not a pull request validation
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
name: Pull request with the newly generated contents
needs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/schemas-doc-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
extra_args: --all -c .pre-commit-config.yaml jsonschema_dir_validate

update_docs:
# Do this only when it is not a pull request validation
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
name: Update documentation if all worked properly
needs:
Expand Down

0 comments on commit eb275f9

Please sign in to comment.