Repository navigation
Conversation
Previews are published only from the publish-preview label. The manual dispatch path checked out the pull request head in the default branch's context, which CodeQL reports as potential cache poisoning.
PR SummaryLow Risk Overview CONTRIBUTING.md drops maintainer instructions for Actions > Run workflow and states that retries and new heads are done by removing and re-applying the label. Reviewed by Cursor Bugbot for commit ea384d6. Configure here. |
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit ea384d6. Configure here.
PR preview workflow
Removes the manual
workflow_dispatchtrigger and itspr_numberinput fromPublish PR Preview. Thepublish-previewlabel is now the only way to publish a preview. To retry a failed publication or publish a new head, remove the label and apply it again.The dispatch path ran in the default branch's context and checked out the pull request head, which CodeQL flags as
actions/cache-poisoning/poisonable-step. This should close all six open code scanning alerts (#2, #3, #4, #5, #6, #9). Alert #9 points at.github/actions/setup-hatch/action.yml, which is unchanged; it is flagged only because this workflow calls it after the checkout.The
contextjob keeps its open-state and same-repository checks on the pull request. The concurrency group is keyed on the pull request number alone, since every run now comes from a pull request event.CONTRIBUTING.mdis updated to match.Version
No version bump: nothing under
socketdev/,pyproject.tomloruv.lockchanges, so Version Check does not run.Testing
actionlint .github/workflows/pr-preview.yml: no findingszizmor --offline .github/workflows/pr-preview.yml .github/actions/setup-hatch/action.yml: no new findings (it still reports the existing low-severityself-repositorysuggestion for thesetup-hatchstep)