mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
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
This commit is contained in:
parent
d54fbd96cc
commit
e827431900
1 changed files with 14 additions and 0 deletions
14
.github/workflows/release-trigger.yml
vendored
Normal file
14
.github/workflows/release-trigger.yml
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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 }}
|
||||
Loading…
Reference in a new issue