adding github workflows

This commit is contained in:
2025-02-23 14:36:55 -06:00
parent 19eb459c48
commit 941627b0bd
7 changed files with 331 additions and 0 deletions

30
.github/workflows/pull_request.yaml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Pull Request
on:
pull_request:
jobs:
changes:
uses: ./.github/workflows/changes.yaml
build-api:
if: ${{ needs.changes.outputs.api == 'true' }}
name: build-api
needs:
- changes
uses: ./.github/workflows/api_build.yaml
with:
environment_name: pull_request
version_number: ${{ github.run_id }}
secrets: inherit
build-app:
if: ${{ needs.changes.outputs.app == 'true' }}
name: build-app
needs:
- changes
uses: ./.github/workflows/app_build.yaml
with:
environment_name: pull_request
version_number: ${{ github.run_id }}
secrets: inherit