fix: 添加 permissions 声明修复 CodeQL 安全告警

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-14 16:09:01 +00:00
parent d54d6bcaaf
commit a0772eac4f
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ jobs:
push-to-feishu:
name: 📢 推送广播到飞书聊天
runs-on: ubuntu-latest
permissions: {}
steps:
- name: 📢 推送广播消息卡片

View File

@ -170,6 +170,7 @@ jobs:
name: 📢 Pipeline C · 飞书广播推送
runs-on: ubuntu-latest
needs: [pipeline-a-syslog, pipeline-b-persona]
permissions: {}
if: >-
needs.pipeline-b-persona.outputs.broadcast_title != '' &&
(needs.pipeline-a-syslog.outputs.chat_id != '' || needs.pipeline-a-syslog.outputs.sender_open_id != '')