Skip to content

Commit

Permalink
Merge pull request #101 from inab/full_circle
Browse files Browse the repository at this point in the history
Skip GitHub workflow runs on specific conditions
  • Loading branch information
jmfernandez committed Jun 19, 2024
2 parents dc63202 + 84d2f3b commit ab7cdf7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
push:
branches: [main]
paths-ignore:
- 'constraints-*.txt'

jobs:
pre-commit:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/schemas-doc-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ name: schemas-doc-generator
on:
push:
branches: [main]
paths:
- 'wfexs_backend/schemas/*.json'

jobs:
json-schema-validation:
runs-on: ubuntu-latest
name: JSON Schema validation through pre-commit
steps:
- uses: actions/checkout@v3
- uses: pre-commit/action@v3.0.0
- uses: pre-commit/action@v3.0.1
with:
extra_args: --all -c .pre-commit-config.yaml jsonschema_dir_validate

Expand Down

0 comments on commit ab7cdf7

Please sign in to comment.