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
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:
parent
32b26dcc24
commit
aa1382fe53
@ -19,6 +19,8 @@ jobs:
|
|||||||
- 'app/**'
|
- 'app/**'
|
||||||
helm:
|
helm:
|
||||||
- 'helm/**'
|
- 'helm/**'
|
||||||
|
docker:
|
||||||
|
- 'Dockerfile'
|
||||||
Lint-Python:
|
Lint-Python:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: changes
|
needs: changes
|
||||||
@ -26,14 +28,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- uses: dorny/paths-filter@v3
|
|
||||||
id: filter
|
|
||||||
with:
|
|
||||||
filters: |
|
|
||||||
python_files:
|
|
||||||
- 'app/**/*.py'
|
|
||||||
docker_file:
|
|
||||||
- 'Dockerfile'
|
|
||||||
- name: install UV
|
- name: install UV
|
||||||
run: |
|
run: |
|
||||||
pip install uv --quiet
|
pip install uv --quiet
|
||||||
@ -45,7 +39,7 @@ jobs:
|
|||||||
if: steps.filter.outputs.python_files == 'true'
|
if: steps.filter.outputs.python_files == 'true'
|
||||||
Build-and-Push-Docker:
|
Build-and-Push-Docker:
|
||||||
needs: [changes, Lint-Python]
|
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:
|
steps:
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user