deploy.yml uses `uses: ./.github/workflows/ci.yml` as a pre-deploy gate. Without workflow_call in the on: block, GitHub rejects the reference and the auto-deploy errors on every push to main. No plugin code changed; no version bump (CI-only change per CONVENTIONS). Agent-Session: cowork-2026-06-17-ci-workflowcall Co-authored-by: peptiderepo <bot@peptiderepo.com>
21 lines
418 B
YAML
Executable File
21 lines
418 B
YAML
Executable File
name: CI
|
|
|
|
on:
|
|
pull_request: {}
|
|
push:
|
|
branches: [main]
|
|
workflow_call: {}
|
|
|
|
# Required: reusable phpcs job declares contents: write for phpcbf auto-commit,
|
|
# but GitHub enforces that the caller must also declare it at workflow level.
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
ci:
|
|
uses: peptiderepo/peptide-e2e/.github/workflows/ci.yml@main
|
|
with:
|
|
tests: stubs
|
|
has_js: true
|
|
secrets: inherit
|