Skip to content

Implement build and release pipeline for backend with semantic versio… #12

Implement build and release pipeline for backend with semantic versio…

Implement build and release pipeline for backend with semantic versio… #12

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
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:

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

View workflow run for this annotation

GitHub Actions / Backend Pipeline

Invalid workflow file

The workflow is not valid. .github/workflows/backend.yaml (Line: 36, Col: 3): Error calling workflow 'codecentric/llm-eval/.github/workflows/backend-build-and-push.yaml@02dec9bab77bb01e154fb975154c1c18d9e6eaa8'. The workflow is requesting 'contents: write, issues: write, pull-requests: write', but is only allowed 'contents: read, issues: none, pull-requests: none'. .github/workflows/backend.yaml (Line: 36, Col: 3): Error calling workflow 'codecentric/llm-eval/.github/workflows/backend-build-and-push.yaml@02dec9bab77bb01e154fb975154c1c18d9e6eaa8'. The nested job 'build-and-push-backend' is requesting 'contents: write, issues: write, pull-requests: write', but is only allowed 'contents: read, issues: none, pull-requests: none'.

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

View workflow run for this annotation

GitHub Actions / Backend Pipeline

Invalid workflow file

The workflow is not valid. .github/workflows/backend.yaml (Line: 36, Col: 3): Error calling workflow 'codecentric/llm-eval/.github/workflows/backend-build-and-push.yaml@02dec9bab77bb01e154fb975154c1c18d9e6eaa8'. The workflow is requesting 'contents: write, issues: write, pull-requests: write', but is only allowed 'contents: read, issues: none, pull-requests: none'. .github/workflows/backend.yaml (Line: 36, Col: 3): Error calling workflow 'codecentric/llm-eval/.github/workflows/backend-build-and-push.yaml@02dec9bab77bb01e154fb975154c1c18d9e6eaa8'. The nested job 'build-and-push-backend' is requesting 'contents: write, issues: write, pull-requests: write', but is only allowed 'contents: read, issues: none, pull-requests: none'.
name: Build and Push
needs: [lint, security-scan, test]
uses: ./.github/workflows/backend-build-and-push.yaml