Skip to content

Commit

Permalink
Further reducing scope of automation triggers (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
HowieG authored Sep 19, 2024
1 parent 30de830 commit c70f9e5
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 13 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/add-notebook-examples-to-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ on:
paths:
- 'examples/**'
- 'docs/v1/examples/**'
- '.github/workflows/add-markdown-examples-to-docs.yml'

- '.github/workflows/add-notebook-examples-to-docs.yml'

workflow_dispatch:

permissions:
contents: write
pull-requests: write
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/black-formatter.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@

name: Black Code Formatter Check

on: [pull_request]
on:
pull_request:
paths:
- '**/*.py'
- '**/*.ipynb'

jobs:
black-check:
Expand All @@ -19,7 +23,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
pip install "black[jupyter]"
- name: Run Black
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
branches:
- main
paths:
- 'agentops/**'
- 'agentops/**/*.py'
pull_request:
branches:
- main
paths:
- 'agentops/**'
- 'agentops/**/*.py'

jobs:
test:
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/python-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@ on:
branches:
- main
paths:
- 'agentops/**'
- 'tests/**'
- 'agentops/**/*.py'
- 'agentops/**/*.ipynb'
- 'tests/**/*.py'
- 'tests/**/*.ipynb'
pull_request:
branches:
- main
paths:
- 'agentops/**'
- 'tests/**'
- 'agentops/**/*.py'
- 'agentops/**/*.ipynb'
- 'tests/**/*.py'
- 'tests/**/*.ipynb'

jobs:
build:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/tach-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ name: Tach Check
on:
pull_request:
paths:
- 'agentops/**'
- 'tests/**'
- 'examples/**'
- '**/*.py'
- '**/*.ipynb'

jobs:
tach-check:
Expand Down

0 comments on commit c70f9e5

Please sign in to comment.