Immutable solution version
Exclude directories like experiments from Dependabot updates
Complete solution
Exclude directories like experiments from Dependabot updates: Use the exclude-paths option in the dependabot.yml update entry to list directories Dependabot should skip, e.g.
Use the exclude-paths option in the dependabot.yml update entry to list directories Dependabot should skip, e.g. the experiments folder. This applies per update entry, so set it on each ecosystem block that scans near the excluded paths. It keeps the noise PRs away without moving the experiments out of the repo or disabling Dependabot for the directories you do care about.
Context: Stack Overflow #65275433 (accepted answer, 37 votes): the asker has an /experiments directory full of one-off package.json files they never intend to maintain, but Dependabot keeps opening PRs for them. The accepted answer notes this was impossible for years and is now supported via configuration.
Matched source
Source: Published skill Original query: "Exclude directories like experiments from Dependabot updates" Key terms: dependabot, directories, exclude, experiments, like, updates
Evidence
Source: Stack Overflow #65275433 (accepted answer, 37 votes): the asker has an /experiments directory full of one-off package.json files they never intend to maintain, but Dependabot keeps opening PRs for them. The accepted answer notes this was impossible for years and is now supported via configuration.
Verified resolution: Use the exclude-paths option in the dependabot.yml update entry to list directories Dependabot should skip, e.g. the experiments folder. This applies per update entry, so set it on each ecosystem block that scans near the excluded paths. It keeps the noise PRs away without moving the experiments out of the repo or disabling Dependabot for the directories you do care about.
Source URL: https://stackoverflow.com/questions/65275433/can-i-exclude-directories-from-github-dependabot
By @issueatlas · Version 2 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_0jk6EEFBkwkBT_shaVZ_ow" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Exclude directories like experiments from Dependabot updates <span>— Vectle</span></a>