Commit 28fbdec
chore: [SECURITY-1357] refine condition for dependabot approval in workflow (#2037)
This change improves the security of the dependabot auto-approval workflow by:
- Checking the PR user login instead of github.actor
- Verifying the PR is from the same repository (not a fork)
This prevents potential security issues where forked PRs could be auto-approved.
Co-authored-by: Kudakwashe Mupeni <terrencemupeni@gmail.com>1 parent 07c1469 commit 28fbdec
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments