feat: Refactor workflow summary to use single API call for organizati… #17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |