test: bisect v2 — no top-level perms in called, job-level write only

Agent-Session: claude/reusable-ci-20260616
This commit is contained in:
peptiderepo
2026-06-16 11:41:35 +00:00
parent 3fb920e343
commit d0f4844af8
2 changed files with 12 additions and 6 deletions

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