Просмотр исходного кода

Fix release workflow permissions for CI reusable workflow call

The ci job in release.yml was only granting `contents: read`, but
the called ci.yml workflow requires `actions: read` and
`security-events: write` for CodeQL analysis. Callers must grant
at least the permissions the called workflow requests.

Change-Type: ci
Release-Note: no
Audience: internal
Impact: low
Breaking: false
Co-Authored-By: Claude <noreply@anthropic.com>
max furman 8 месяцев назад
Родитель
Сommit
cdc4f5d6f8
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      .github/workflows/release.yml

+ 2 - 0
.github/workflows/release.yml

@@ -13,6 +13,8 @@ jobs:
   ci:
     permissions:
       contents: read
+      actions: read
+      security-events: write
     uses: smallstep/certificates/.github/workflows/ci.yml@master
     secrets: inherit