Skip to content

Commit 94bab8d

Browse files
Merge branch 'main' into copilot/fix-go-redis-processing-error
2 parents 7db1e99 + 2b94ccf commit 94bab8d

File tree

88 files changed

+7718
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+7718
-9
lines changed

.devcontainer/core-dev/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@
6363
"-v", "${localWorkspaceFolder}/nuget/dependabot-nuget.gemspec:/home/dependabot/dependabot-core/nuget/dependabot-nuget.gemspec",
6464
"-v", "${localWorkspaceFolder}/nuget/lib:/home/dependabot/dependabot-core/nuget/lib",
6565
"-v", "${localWorkspaceFolder}/nuget/spec:/home/dependabot/dependabot-core/nuget/spec",
66+
"-v", "${localWorkspaceFolder}/pre_commit/dependabot-pre_commit.gemspec:/home/dependabot/dependabot-core/pre_commit/dependabot-pre_commit.gemspec",
67+
"-v", "${localWorkspaceFolder}/pre_commit/lib:/home/dependabot/dependabot-core/pre_commit/lib",
68+
"-v", "${localWorkspaceFolder}/pre_commit/spec:/home/dependabot/dependabot-core/pre_commit/spec",
6669
"-v", "${localWorkspaceFolder}/pub/dependabot-pub.gemspec:/home/dependabot/dependabot-core/pub/dependabot-pub.gemspec",
6770
"-v", "${localWorkspaceFolder}/pub/lib:/home/dependabot/dependabot-core/pub/lib",
6871
"-v", "${localWorkspaceFolder}/pub/spec:/home/dependabot/dependabot-core/pub/spec",

.github/ci-filters.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ npm_and_yarn:
7777
nuget:
7878
- *shared
7979
- 'nuget/**'
80+
pre_commit:
81+
- *shared
82+
- 'pre_commit/**'
8083
pub:
8184
- *shared
8285
- 'pub/**'

.github/issue-labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,6 @@
8181

8282
"L: julia":
8383
- '(julia)'
84+
85+
"L: pre:commit":
86+
- '(pre_commit)'

.github/smoke-filters.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ npm_and_yarn:
5353
nuget:
5454
- *common
5555
- 'nuget/**'
56+
pre_commit:
57+
- *common
58+
- 'pre_commit/**'
5659
python:
5760
- *common
5861
- 'python/**'

.github/smoke-matrix.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,16 @@
9494
"test": "nuget-resolvability",
9595
"ecosystem": "nuget"
9696
},
97+
{
98+
"core": "opentofu",
99+
"test": "opentofu",
100+
"ecosystem": "opentofu"
101+
},
102+
{
103+
"core": "pre_commit",
104+
"test": "pre-commit",
105+
"ecosystem": "pre-commit"
106+
},
97107
{
98108
"core": "pub",
99109
"test": "pub",
@@ -119,11 +129,6 @@
119129
"test": "terraform",
120130
"ecosystem": "terraform"
121131
},
122-
{
123-
"core": "opentofu",
124-
"test": "opentofu",
125-
"ecosystem": "opentofu"
126-
},
127132
{
128133
"core": "vcpkg",
129134
"test": "vcpkg",

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
- { path: maven, name: maven, ecosystem: maven }
3939
- { path: npm_and_yarn, name: npm_and_yarn, ecosystem: npm }
4040
- { path: nuget, name: nuget, ecosystem: nuget }
41+
- { path: pre_commit, name: pre_commit, ecosystem: pre-commit }
4142
- { path: pub, name: pub, ecosystem: pub }
4243
- { path: python, name: python_slow, ecosystem: pip }
4344
- { path: python, name: python, ecosystem: pip }

.github/workflows/images-branch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
- { name: maven, ecosystem: maven }
8080
- { name: npm_and_yarn, ecosystem: npm }
8181
- { name: nuget, ecosystem: nuget }
82+
- { name: pre_commit, ecosystem: pre-commit }
8283
- { name: pub, ecosystem: pub }
8384
- { name: python, ecosystem: pip }
8485
- { name: rust_toolchain, ecosystem: rust-toolchain }

.github/workflows/images-latest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
- { name: maven, ecosystem: maven }
5757
- { name: npm_and_yarn, ecosystem: npm }
5858
- { name: nuget, ecosystem: nuget }
59+
- { name: pre_commit, ecosystem: pre-commit }
5960
- { name: pub, ecosystem: pub }
6061
- { name: python, ecosystem: pip }
6162
- { name: rust_toolchain, ecosystem: rust-toolchain }

.yamllint.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ ignore:
2626
# TODO: VCR seems to be putting in bad indentation... need to track down why
2727
- "*/spec/fixtures/vcr_cassettes/*"
2828
- "helm/spec/fixtures/helm/*"
29+
- "pre_commit/spec/fixtures/pre_commit_configs/*"

Dockerfile.updater-core

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,10 @@ COPY --chown=dependabot:dependabot updater/Gemfile updater/Gemfile.lock dependab
161161

162162
COPY --chown=dependabot:dependabot --parents */.bundle */*.gemspec common/lib/dependabot.rb LICENSE omnibus $DEPENDABOT_HOME
163163

164+
# This ARG must be updated when adding/removing ecosystems - it invalidates Docker layer cache
165+
ARG ECOSYSTEM_LIST="bazel bun bundler cargo composer conda devcontainers docker docker_compose dotnet_sdk elm git_submodules github_actions go_modules gradle helm hex julia maven npm_and_yarn nuget opentofu pre_commit pub python rust_toolchain silent swift terraform uv vcpkg"
164166
# prevent having all the source in every ecosystem image
165-
RUN for ecosystem in git_submodules terraform github_actions hex elm docker docker_compose nuget maven gradle cargo composer go_modules python pub npm_and_yarn bundler silent swift devcontainers dotnet_sdk bun uv helm julia vcpkg rust_toolchain conda bazel opentofu; do \
167+
RUN for ecosystem in $ECOSYSTEM_LIST; do \
166168
mkdir -p $ecosystem/lib/dependabot; \
167169
touch $ecosystem/lib/dependabot/$ecosystem.rb; \
168170
done

0 commit comments

Comments
 (0)