Feature/33 api fails when no pilots or logbook entries #35

Merged
noahspannbauer merged 85 commits from feature/33-api-fails-when-no-pilots-or-logbook-entries into main 2025-02-02 18:24:48 -05:00
Showing only changes of commit 02a341b1ae - Show all commits

View File

@@ -1,52 +0,0 @@
name: Dev
on:
push:
branches:
- feature/**
jobs:
changed-files:
name: changed-files
runs-on: ubuntu-latest
outputs:
modified_files: ${{ steps.modified-files.outputs.modified_files }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
with:
dir_names: 'true'
- name: Output modified files
id: modified-files
env:
MODIFIED_FILES: ${{ steps.changed-files.outputs.modified_files }}
run: |
echo "modified_files=${MODIFIED_FILES}" >> "$GITHUB_OUTPUT"
build-deploy-api:
if: contains(needs.changed-files.outputs.modified_files, 'api')
name: build-deploy-api
needs:
- changed-files
uses: ./.github/workflows/api.yaml
with:
calling_workflow: dev
version_number: ${{ github.run_id }}
secrets: inherit
build-deploy-app:
if: contains(needs.changed-files.outputs.modified_files, 'app')
name: build-deploy-app
needs:
- changed-files
uses: ./.github/workflows/app.yaml
with:
calling_workflow: dev
version_number: ${{ github.run_id }}
secrets: inherit