test: bisect v2 — no top-level perms in called, job-level write only
Agent-Session: claude/reusable-ci-20260616
This commit is contained in:
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:
|
||||
push:
|
||||
branches: ['claude/**']
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
# NO permissions block — testing if job-level write in called workflow works
|
||||
|
||||
jobs:
|
||||
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:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user