Skip to content

fix: moved frontend and backend main pipeline into the workflows fold… #3

fix: moved frontend and backend main pipeline into the workflows fold…

fix: moved frontend and backend main pipeline into the workflows fold… #3

Workflow file for this run

---
name: Backend Pipeline
"on":
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'backend/**'
pull_request:
branches: [ main ]
paths:
- 'backend/**'
permissions:
contents: read
security-events: write
actions: read
packages: write
jobs:
# Parallel execution of lint, security-scan, and test workflows
lint:
name: Run Lint
uses: ./.github/workflows/backend/lint.yaml

Check failure on line 25 in .github/workflows/backend.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/backend.yaml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory
security-scan:
name: Run Security Scan
uses: ./.github/workflows/security-scan.yaml
test:
name: Run Tests
uses: ./.github/workflows/backend/test.yaml
# Sequential build stage - runs only after parallel jobs succeed
build-and-push:
name: Build and Push
needs: [lint, security-scan, test]
uses: ./.github/workflows/backend/build-and-push.yaml