Skip to content

add dependabot workflow#362

Open
lilyydu wants to merge 2 commits intomainfrom
lilyydu/fix-dependabot
Open

add dependabot workflow#362
lilyydu wants to merge 2 commits intomainfrom
lilyydu/fix-dependabot

Conversation

@lilyydu
Copy link
Copy Markdown
Collaborator

@lilyydu lilyydu commented Apr 6, 2026

necessary b/c current dependabot workflow is broken with ngbv

Copilot AI review requested due to automatic review settings April 6, 2026 21:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new GitHub Actions workflow intended to replace/augment Dependabot security update automation by generating a PR that upgrades vulnerable pip dependencies in uv.lock.

Changes:

  • Introduces a scheduled + manually-triggered “Security Updates” workflow.
  • Fetches open Dependabot security alerts for pip and upgrades affected packages via uv lock --upgrade-package.
  • Pushes results to a fixed branch and attempts to open a PR.

Comment on lines +42 to +44
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

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

astral-sh/setup-uv@v6 is referenced by tag. To match the supply-chain hardening already applied to other actions in this workflow, pin setup-uv to a commit SHA (and update it intentionally when needed).

Suggested change
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
run: |
python3 -m pip install uv
echo "$HOME/.local/bin" >> "$GITHUB_PATH"

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants