fix(ci): allow release QA evidence workflow calls · openclaw/openclaw@c714bfd
vincentkoc
·
2026-06-23
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -89,6 +89,13 @@ jobs:
|
89 | 89 | uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 |
90 | 90 | with: |
91 | 91 | script: | |
| 92 | + // Reusable workflow jobs inherit the caller event but run as |
| 93 | + // github-actions[bot]; selected ref validation still gates secrets. |
| 94 | + if (context.actor === "github-actions[bot]") { |
| 95 | + core.info("Skipping manual actor permission check for a reusable workflow call."); |
| 96 | + core.setOutput("authorized", "true"); |
| 97 | + return; |
| 98 | + } |
92 | 99 | if (context.eventName !== "workflow_dispatch") { |
93 | 100 | core.info(`Skipping manual actor permission check for ${context.eventName}.`); |
94 | 101 | core.setOutput("authorized", "true"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。