Skip to content

Fix Dependabot exclude paths to match dirs recursively#3426

Merged
ashfame merged 1 commit intoWordPress:trunkfrom
wojtekn:fix-dependabot-exclude-paths
Mar 20, 2026
Merged

Fix Dependabot exclude paths to match dirs recursively#3426
ashfame merged 1 commit intoWordPress:trunkfrom
wojtekn:fix-dependabot-exclude-paths

Conversation

@wojtekn
Copy link
Copy Markdown
Collaborator

@wojtekn wojtekn commented Mar 20, 2026

Motivation for the change, related issues

According to https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference#exclude-paths-, the exclude-paths requires the use of glob patterns such as ** to match directories recursively.

Implementation details

Testing Instructions (or ideally a Blueprint)

@wojtekn wojtekn requested review from a team, ashfame, Copilot and fellyph March 20, 2026 14:36
@wojtekn wojtekn self-assigned this Mar 20, 2026
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

Updates Dependabot exclude-paths to use recursive glob patterns so entire directories (and their contents) are excluded as intended.

Changes:

  • Update exclude-paths entries to include /** for recursive matching.
  • Align Dependabot configuration with GitHub’s documented glob requirements for directory recursion.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ashfame ashfame merged commit af4f5cd into WordPress:trunk Mar 20, 2026
47 checks passed
@wojtekn wojtekn deleted the fix-dependabot-exclude-paths branch March 20, 2026 15:20
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