report properly

This commit is contained in:
Kevin Turcios 2025-11-26 04:40:54 -05:00
parent 513a6bb9eb
commit ec530bb2c4
2 changed files with 3 additions and 7 deletions

View file

@ -4,9 +4,6 @@ on:
push:
branches: [main]
pull_request:
paths:
- "django/aiservice/**"
- ".github/workflows/django-unit-tests.yaml"
workflow_dispatch:
defaults:
@ -22,7 +19,7 @@ jobs:
check-changes:
runs-on: ubuntu-latest
outputs:
should-run: ${{ steps.filter.outputs.aiservice }}
should-run: ${{ steps.filter.outputs.aiservice == 'true' || github.event_name == 'workflow_dispatch' }}
steps:
- uses: actions/checkout@v4
with:
@ -33,6 +30,7 @@ jobs:
filters: |
aiservice:
- 'django/aiservice/**'
- '.github/workflows/django-unit-tests.yaml'
# This job always runs and succeeds, allowing PRs to be merged when paths don't match
no-aiservice-changes:

View file

@ -5,9 +5,6 @@ on:
branches:
- main
pull_request:
paths:
- "django/aiservice/**"
- ".github/workflows/mypy_aiservice.yml"
defaults:
run:
working-directory: django/aiservice
@ -31,6 +28,7 @@ jobs:
filters: |
aiservice:
- 'django/aiservice/**'
- '.github/workflows/mypy_aiservice.yml'
skip-type-check:
needs: check-changes