fix: 添加 permissions 声明修复 CodeQL 安全告警
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
parent
d54d6bcaaf
commit
a0772eac4f
|
|
@ -38,6 +38,7 @@ jobs:
|
|||
push-to-feishu:
|
||||
name: 📢 推送广播到飞书聊天
|
||||
runs-on: ubuntu-latest
|
||||
permissions: {}
|
||||
|
||||
steps:
|
||||
- name: 📢 推送广播消息卡片
|
||||
|
|
|
|||
|
|
@ -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 != '')
|
||||
|
|
|
|||
Loading…
Reference in New Issue