fix(ci-self-test): use relative path for same-repo reusable workflow call
GitHub requires ./.github/workflows/ci.yml (not @branch-ref) for same-repo reusable workflow calls from a PR branch. The @claude/reusable-ci-20260616 ref caused startup_failure because GitHub can't resolve branch-ref reusable workflows that aren't on main yet. Agent-Session: claude/reusable-ci-20260616
This commit is contained in:
12
.github/workflows/ci-self-test.yml
vendored
12
.github/workflows/ci-self-test.yml
vendored
@@ -1,8 +1,10 @@
|
|||||||
# Self-test: exercises the reusable ci.yml on this repo itself.
|
# Self-test: exercises the reusable ci.yml on this repo itself.
|
||||||
# Uses tests: none (peptide-e2e is a Playwright/Node repo, no PHP suite)
|
# Uses tests: none (peptide-e2e is a Playwright/Node repo, no PHP suite).
|
||||||
# and has_js: false (the JS is TypeScript, not linted via npm run lint here).
|
# Purpose: smoke-check that the reusable workflow parses and the job
|
||||||
# Purpose: smoke-check that the reusable workflow parses and runs without
|
# skeleton runs without YAML/startup errors.
|
||||||
# errors on every push/PR to this repo.
|
#
|
||||||
|
# Note: uses a relative path (./.github/workflows/ci.yml) — the correct
|
||||||
|
# form for same-repo reusable workflow calls on PR branches.
|
||||||
|
|
||||||
name: CI Self-Test (reusable ci.yml)
|
name: CI Self-Test (reusable ci.yml)
|
||||||
|
|
||||||
@@ -14,7 +16,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
uses: peptiderepo/peptide-e2e/.github/workflows/ci.yml@claude/reusable-ci-20260616
|
uses: ./.github/workflows/ci.yml
|
||||||
with:
|
with:
|
||||||
tests: none
|
tests: none
|
||||||
enforce_300: false
|
enforce_300: false
|
||||||
|
|||||||
Reference in New Issue
Block a user