Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/call-clacheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ concurrency:
jobs:
clacheck:
uses: linuxdeepin/.github/.github/workflows/cla-check.yml@master
secrets:
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
secrets: inherit
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 issue (security): Using secrets: inherit may overexpose secrets compared to the previous least-privilege setup.

The previous version exposed only APP_PRIVATE_KEY, while secrets: inherit makes all repo/org secrets available to the called workflow. If that workflow only needs APP_PRIVATE_KEY, prefer an explicit mapping (updated to the new secrets syntax if required) to minimize exposure should the downstream workflow change or be compromised.

Loading