Skip to content

Commit 8b65cc2

Browse files
authored
fix: allow staging reusable workflow checkout (#566)
Grant the reusable ingest job contents read permission so the called workflow can check out the app repository without exceeding the caller permission ceiling. 中文:允许预发布可复用工作流检出代码。为可复用写入任务授予 contents 读取权限,使被调用工作流能够检出应用仓库,同时不超出调用方的权限上限。
1 parent 5be6645 commit 8b65cc2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/stage-results.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ jobs:
196196
ingest:
197197
name: Ingest selected run
198198
needs: [validate, refresh-staging-database]
199+
permissions:
200+
contents: read
199201
uses: ./.github/workflows/ingest-agentic-results.yml
200202
with:
201203
run-id: ${{ needs.validate.outputs.run-id }}

0 commit comments

Comments
 (0)