fix: simplify kcl-ci-build and exclude generated workflows from Prettier
Remove wait-for-checks from kcl-ci-build (not needed for this repo). Add .forgejo/workflows/ to .prettierignore since KCL controls formatting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
4954e96cc5
commit
c47fc002c6
3 files changed
+6
-28
No files matched your search
+2
-10
@@ -6,19 +6,13 @@ import kcl_ci.workflows.claude as claude_mod
|
||||
import kcl_ci.versions
|
||||
|
||||
# =============================================================================
|
||||
# Check name constants
|
||||
# Forgejo check names format: "WorkflowName / JobName (event)"
|
||||
# Keep these in sync with job names in the workflows below
|
||||
# CI workflow job name constants
|
||||
# =============================================================================
|
||||
_CI_WORKFLOW_NAME = "CI"
|
||||
_CI_JOB_TEST = "Tests"
|
||||
_CI_JOB_PRETTIER = "Prettier"
|
||||
_CI_JOB_TYPECHECK = "Type Check"
|
||||
|
||||
_CHECK_CI_TEST = "{} / {} (push)".format(_CI_WORKFLOW_NAME, _CI_JOB_TEST)
|
||||
_CHECK_CI_PRETTIER = "{} / {} (push)".format(_CI_WORKFLOW_NAME, _CI_JOB_PRETTIER)
|
||||
_CHECK_CI_TYPECHECK = "{} / {} (push)".format(_CI_WORKFLOW_NAME, _CI_JOB_TYPECHECK)
|
||||
|
||||
# =============================================================================
|
||||
# Bun version pinned across all CI jobs
|
||||
# Bun 1.3.x broke spyOn(fs, ...) in tests.
|
||||
@@ -65,9 +59,7 @@ _claude_workflow = claude_mod.claude_workflow()
|
||||
# KCL CI Build workflow (auto-regenerates workflows from KCL)
|
||||
# Waits for CI checks before building
|
||||
# =============================================================================
|
||||
_kcl_build_workflow = kcl_build_mod.kcl_ci_build_workflow(kcl_build_mod.KclCiBuildConfig {
|
||||
wait_for_checks = [_CHECK_CI_TEST, _CHECK_CI_PRETTIER, _CHECK_CI_TYPECHECK]
|
||||
})
|
||||
_kcl_build_workflow = kcl_build_mod.kcl_ci_build_workflow()
|
||||
|
||||
# =============================================================================
|
||||
# CI workflow (test, prettier, typecheck)
|
||||
|
||||
Reference in new issue
Block a user