Skip to content

Merge branch 'main' of https://github.com/bauer-group/CS-DeveloperTools #6

Merge branch 'main' of https://github.com/bauer-group/CS-DeveloperTools

Merge branch 'main' of https://github.com/bauer-group/CS-DeveloperTools #6

Workflow file for this run

name: 🚀 Release
on:
push:
branches: [main]
paths-ignore:
- '.github/**'
- '*.md'
- 'docs/**'
workflow_dispatch:
inputs:
force-release:
description: 'force create release'
type: boolean
default: false
permissions:
contents: write
issues: write
pull-requests: write
jobs:
validate-compose:
uses: bauer-group/automation-templates/.github/workflows/modules-validate-compose.yml@main
with:
compose-file: 'services/dozzle/docker-compose.yml'
env-template: |
{
"TIME_ZONE": "UTC",
"DOZZLE_VERSION": "latest"
}
validate-scripts:
uses: bauer-group/automation-templates/.github/workflows/modules-validate-shellscript.yml@main
with:
scan-directory: '.'
severity: 'error'
release:
needs: [validate-compose, validate-scripts]
if: |
(github.event_name == 'push' || github.event_name == 'workflow_dispatch') &&
needs.validate-compose.outputs.valid == 'true' &&
needs.validate-scripts.outputs.passed == 'true'
uses: bauer-group/automation-templates/.github/workflows/modules-semantic-release.yml@main
with:
target-branch: 'main'
dry-run: false
force-release: ${{ inputs.force-release || false }}
secrets: inherit