Skip to content

Commit

Permalink
Improve branch protections [skip lt test]
Browse files Browse the repository at this point in the history
  • Loading branch information
p-goulart committed Feb 9, 2024
1 parent 6282324 commit e91466a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@ on:
paths:
- "data/**"
- ".github/workflows/build.yml"
- "pos_tagger_scripts/**"
- "dict_tools/**"
pull_request:
branches:
- "main"
paths:
- "data/**"
- ".github/workflows/build.yml"
- "pos_tagger_scripts/**"
- "dict_tools/**"

jobs:
build:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ on:
- "pyproject.toml"
- "poetry.lock"
- ".github/workflows/flake8.yml"
pull_request:
branches:
- "main"
paths:
- "**/*.py"
- "pyproject.toml"
- "poetry.lock"
- ".github/workflows/flake8.yml"

jobs:
lint:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ on:
- "pyproject.toml"
- "poetry.lock"
- ".github/workflows/pytest.yml"
pull_request:
branches:
- "main"
paths:
- "**/*.py"
- "tests/"
- "pyproject.toml"
- "poetry.lock"
- ".github/workflows/pytest.yml"

jobs:
test:
Expand Down

0 comments on commit e91466a

Please sign in to comment.