24 lines
582 B
YAML
24 lines
582 B
YAML
name: CI Feature
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
load-config:
|
|
name: Load gitea-env.conf to pipeline env
|
|
uses: niko/gitea-ci-library/.gitea/workflows/config-provider.yml@main
|
|
with:
|
|
config_path: .gitea/workflows/gitea-env.conf
|
|
|
|
quality-gate:
|
|
name: Quality Gate
|
|
needs: [load-config]
|
|
uses: niko/gitea-ci-library/.gitea/workflows/quality-gate.yml@main
|
|
secrets: inherit
|
|
with:
|
|
env_json: ${{ needs.load-config.outputs.env_json }}
|
|
bats-image: bats/bats:latest
|
|
cucumber-node-image: node:22
|