fix(ci): remove workflow-level permissions from reusable workflows

This commit is contained in:
Gergo Magyar 2026-03-08 18:18:44 +00:00
parent c767477391
commit 9fbabb8347
5 changed files with 5 additions and 14 deletions

View file

@ -3,9 +3,6 @@ name: Integration Tests
on:
workflow_call:
permissions:
contents: read
jobs:
# ── Integration test matrix ─────────────────────────────────────────
# Each test-group runs on a SEPARATE runner per OS, giving full process

View file

@ -3,9 +3,6 @@ name: Quality Checks
on:
workflow_call:
permissions:
contents: read
jobs:
typecheck:
runs-on: ubuntu-latest

View file

@ -3,10 +3,6 @@ name: Unit Tests
on:
workflow_call:
permissions:
contents: read
pull-requests: write
jobs:
unit-tests:
name: unit (ubuntu / coverage)

View file

@ -7,10 +7,6 @@ on:
branches: [main]
workflow_call:
permissions:
contents: read
pull-requests: write
# ── Reusable workflow orchestration ─────────────────────────────────
# Each concern lives in its own workflow file for maintainability:
# ci-quality.yml — typecheck (tsc --noEmit)

View file

@ -5,6 +5,11 @@ on:
tags:
- 'v*'
permissions:
contents: write
id-token: write
pull-requests: write
jobs:
ci:
uses: ./.github/workflows/ci.yml