feat: reusable ci.yml — estate CI standard (Phase 0, step 1) #19

Merged
peptiderepo merged 11 commits from claude/reusable-ci-20260616 into main 2026-06-16 12:12:07 +00:00
2 changed files with 12 additions and 6 deletions
Showing only changes of commit d0f4844af8 - Show all commits

View File

@@ -1,11 +1,10 @@
name: CI Bisect Caller
name: CI Bisect Caller v2
on:
push:
branches: ['claude/**']
permissions:
contents: write
# NO permissions block — testing if job-level write in called workflow works
jobs:
ci:

View File

@@ -1,4 +1,4 @@
name: CI Bisect Test
name: CI Bisect Test v2
on:
workflow_call:
@@ -16,8 +16,7 @@ on:
required: false
default: true
permissions:
contents: write
# NO top-level permissions block here
jobs:
lint-php:
@@ -30,6 +29,14 @@ jobs:
steps:
- run: echo "lint php ${{ matrix.php }}"
phpcs:
name: PHPCS
runs-on: ubuntu-latest
permissions:
contents: write # job-level write for phpcbf commit-back only
steps:
- run: echo "phpcs"
file-size:
name: 300-line rule
runs-on: ubuntu-latest