feat: reusable ci.yml — estate CI standard (Phase 0, step 1) #19
5
.github/workflows/ci-bisect-caller.yml
vendored
5
.github/workflows/ci-bisect-caller.yml
vendored
@@ -1,11 +1,10 @@
|
|||||||
name: CI Bisect Caller
|
name: CI Bisect Caller v2
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ['claude/**']
|
branches: ['claude/**']
|
||||||
|
|
||||||
permissions:
|
# NO permissions block — testing if job-level write in called workflow works
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
|
|||||||
13
.github/workflows/ci-bisect.yml
vendored
13
.github/workflows/ci-bisect.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: CI Bisect Test
|
name: CI Bisect Test v2
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
@@ -16,8 +16,7 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
permissions:
|
# NO top-level permissions block here
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-php:
|
lint-php:
|
||||||
@@ -30,6 +29,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- run: echo "lint php ${{ matrix.php }}"
|
- 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:
|
file-size:
|
||||||
name: 300-line rule
|
name: 300-line rule
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user