remove unncessary step
All checks were successful
Build and push / changes (push) Successful in 3s
Build and push / Lint-Python (push) Has been skipped
Build and push / Build-and-Push-Docker (push) Has been skipped
Build and push / sync-argocd-app (push) Has been skipped
Build and push / post-status-to-discord (push) Has been skipped

This commit is contained in:
Luke R 2024-11-13 11:46:31 -08:00
parent 32b26dcc24
commit aa1382fe53

View File

@ -19,6 +19,8 @@ jobs:
- 'app/**'
helm:
- 'helm/**'
docker:
- 'Dockerfile'
Lint-Python:
runs-on: ubuntu-latest
needs: changes
@ -26,14 +28,6 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
python_files:
- 'app/**/*.py'
docker_file:
- 'Dockerfile'
- name: install UV
run: |
pip install uv --quiet
@ -45,7 +39,7 @@ jobs:
if: steps.filter.outputs.python_files == 'true'
Build-and-Push-Docker:
needs: [changes, Lint-Python]
if: ${{ needs.changes.outputs.python_files == 'true' || needs.changes.outputs.docker_file == 'true' }}
if: ${{ needs.changes.outputs.python_files == 'true' || needs.changes.outputs.docker == 'true' }}
steps:
- name: Login to Docker Hub
if: github.event_name != 'pull_request'