Commit be8fe2e
fix: narrow same-owner actions to patch versions too
The isSameOwner guard in applyPin was skipping patch-version narrowing
for all same-org actions (e.g. github/codeql-action in a github/* repo).
This meant codeql-action@v4 stayed as v4 instead of narrowing to v4.35.2.
The guard was redundant — IsMutableVersionTag already filters out
non-version refs like 'main', so default-branch pins were never
reaching this code path anyway.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 4fda526 commit be8fe2e
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | 85 | | |
90 | 86 | | |
91 | 87 | | |
| |||
0 commit comments