Skip to content

Authorize Dependabot npm security updates for GitHub scripts - #5046

Open
Marcus Robinson (marrobi) with Copilot wants to merge 2 commits into
mainfrom
copilot/dependabot-update-npm-scripts
Open

Authorize Dependabot npm security updates for GitHub scripts#5046
Marcus Robinson (marrobi) with Copilot wants to merge 2 commits into
mainfrom
copilot/dependabot-update-npm-scripts

Conversation

Copilot AI commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

What is being addressed

Dependabot security updates for /.github/scripts/package-lock.json are rejected because /.github/scripts is not declared as an npm update location. This causes security-update PR creation to fail with dependency_file_not_supported.

How is this addressed

  • Add /.github/scripts as an npm Dependabot update directory.
  • Keep version updates disabled while allowing security updates for that lockfile.
  - package-ecosystem: "npm"
    directory: "/.github/scripts"
    schedule:
      interval: "monthly"
    ignore:
      - dependency-name: "*"
        update-types: ["version-update:semver-patch"]
    open-pull-requests-limit: 0

Co-authored-by: marrobi <17089773+marrobi@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix Dependabot npm updates for scripts directory Authorize Dependabot npm security updates for GitHub scripts Aug 17, 2026
@marrobi
Marcus Robinson (marrobi) marked this pull request as ready for review August 17, 2026 11:37
@marrobi
Marcus Robinson (marrobi) requested a review from a team as a code owner August 17, 2026 11:37
Copilot AI balanced review requested due to automatic review settings August 17, 2026 11:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds Dependabot coverage for npm dependencies used by GitHub workflow scripts, enabling security-update PRs while suppressing routine version updates.

Changes:

  • Adds /.github/scripts as an npm update directory.
  • Disables version-update PRs while preserving security updates.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

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.

3 participants