frappe_docker/.github/workflows/release-trigger.yml
Digikwal e827431900
ci: Add unified Check workflow for lint and pre-commit
Introduces a reusable workflow that waits until the 'Check' workflow has successfully passed on the current commit.

Also adds 'release-trigger', which runs on push to main and calls this reusable workflow before allowing semantic-release to continue.

- Prevents race conditions between quality checks and release
- No external dependencies (uses native GitHub CLI)
- Improves reliability and control of CI/CD sequencing
2025-06-26 17:15:26 +02:00

14 lines
222 B
YAML

name: Release Trigger
on:
push:
branches:
- main
jobs:
wait:
uses: ./.github/workflows/wait-for-check.yml
with:
sha: ${{ github.sha }}
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}