Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated renovate.json to add correct commitMessagePrefix #14709

Merged
merged 19 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
8463b0f
Updated renovate.json to add correct commitMessagePrefix based on pac…
DineshKumarRA Nov 3, 2024
4bfa950
Merge branch 'trunk' into update-renovate-json
DineshKumarRA Nov 3, 2024
c4d6ea0
Updated to add prefix for more packages
DineshKumarRA Nov 5, 2024
97785b5
Merge branch 'trunk' of https://github.com/DineshKumarRA/selenium int…
DineshKumarRA Nov 5, 2024
c658c7b
Added a separate CI for renovate PR's to repin dependencies and run f…
DineshKumarRA Nov 5, 2024
ca808c4
updated branch name ref in the renovate ci
DineshKumarRA Nov 5, 2024
ed666f7
Merge branch 'trunk' into update-renovate-json
DineshKumarRA Nov 5, 2024
dc238bc
Review comments addressed by adding check format as a separate action…
DineshKumarRA Nov 5, 2024
e0a9f76
Merge branch 'trunk' into update-renovate-json
DineshKumarRA Nov 5, 2024
1019650
Removed the newly added loop in bazel.yml
DineshKumarRA Nov 6, 2024
fa8357e
Merge branch 'update-renovate-json' of https://github.com/DineshKumar…
DineshKumarRA Nov 6, 2024
a6eaa71
Added loop to do the pull only when repository_owner is seleniumhq
DineshKumarRA Nov 6, 2024
4ce72f3
Merge branch 'trunk' into update-renovate-json
VietND96 Nov 15, 2024
0ede3fd
Add all the changed files to commit after running the repin deps
DineshKumarRA Nov 16, 2024
e135af5
Merge branch 'trunk' into update-renovate-json
DineshKumarRA Nov 16, 2024
f1c83d8
Merge branch 'trunk' into update-renovate-json
VietND96 Nov 19, 2024
d18288f
repin dependencies for all the languages
DineshKumarRA Nov 28, 2024
217b7e1
Merge branch 'trunk' of https://github.com/DineshKumarRA/selenium int…
DineshKumarRA Nov 28, 2024
ba3e310
Merge branch 'trunk' into update-renovate-json
DineshKumarRA Nov 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci-rbe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
format:
name: Format
if: github.repository_owner == 'seleniumhq'
if: github.repository_owner == 'seleniumhq' && startsWith(github.head_ref, 'renovate/') != true
uses: ./.github/workflows/bazel.yml
with:
name: Check format script run
Expand All @@ -20,7 +20,7 @@ jobs:

test:
name: Test
if: github.repository_owner == 'seleniumhq'
if: github.repository_owner == 'seleniumhq' && startsWith(github.head_ref, 'renovate/') != true
uses: ./.github/workflows/bazel.yml
with:
name: All RBE tests
Expand Down
53 changes: 53 additions & 0 deletions .github/workflows/ci-renovate-rbe.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: CI - Renovate - RBE

on:
push:
branches:
- renovate/*
workflow_dispatch:

jobs:
format:
runs-on: ubuntu-latest
if: github.repository_owner == 'seleniumhq'
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Repin Dependencies
run: |
REPIN=1 bazel run @maven//:pin
- name: Run format script
run: ./scripts/format.sh
- name: Commit files
run: |
export CHANGES=$(git status -s)
if [ -n "$CHANGES" ]; then
git config --local user.email "[email protected]"
git config --local user.name "Selenium CI Bot"
git add ./java/maven_install.json
git commit -m 'Repin maven dependencies'
echo "code_changes=true" >> $GITHUB_ENV
fi
- name: Push changes
if: ${{ env.code_changes }} == 'true'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.SELENIUM_CI_TOKEN }}
branch: ${{ github.head_ref }}
- name: Format
uses: ./.github/workflows/bazel.yml
DineshKumarRA marked this conversation as resolved.
Show resolved Hide resolved
with:
name: Check format script run
caching: false
ruby-version: jruby-9.4.8.0
run: ./scripts/github-actions/check-format.sh

test:
name: Test
if: github.repository_owner == 'seleniumhq'
uses: ./.github/workflows/bazel.yml
with:
name: All RBE tests
caching: false
ruby-version: jruby-9.4.8.0
run: ./scripts/github-actions/ci-build.sh
78 changes: 62 additions & 16 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,82 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"labels": ["dependencies"],
"packageRules": [
{
"matchPackageNames": ["bazel", "bazelisk"],
"commitMessageSuffix": "[dotnet][java][js][py][rb][rust]"
"matchManagers": [ "bazel", "bazel-module", "bazelisk" ],
"matchPackageNames": [ "!rules_java", "!rules_jvm_external", "!contrib_rules_jvm", "!rules_dotnet", "!aspect_rules_js", "!aspect_rules_ts", "!rules_nodejs", "!rules_python", "!rules_ruby", "!rules_cc" ],
"matchDatasources": [ "!maven" ],
"commitMessagePrefix": "[dotnet][java][js][py][rb][rust]",
"labels": [ "dependencies", "c-build" ]
},
{
"matchPackageNames": ["nuget"],
"commitMessagePrefix": "[dotnet]"
"matchManagers": [ "nuget" ],
"commitMessagePrefix": "[dotnet]",
"labels": [ "dependencies", "c-dotnet" ]
},
{
"matchPackageNames": ["maven"],
"commitMessagePrefix": "[java]"
"matchPackageNames": [ "rules_dotnet" ],
"commitMessagePrefix": "[dotnet]",
"labels": [ "dependencies", "c-dotnet" ]
},
{
"matchPackageNames": ["npm"],
"commitMessagePrefix": "[js]"
"matchManagers": [ "bazel", "bazel-module" ],
"matchDatasources": ["maven"],
"versioning": "maven",
"commitMessagePrefix": "[java]",
"labels": [ "dependencies", "c-java" ]
},
{
"matchPackageNames": ["pip_requirements"],
"commitMessagePrefix": "[py]"
"matchManagers": [ "bazel-module" ],
"matchPackageNames": [ "rules_java", "rules_jvm_external", "contrib_rules_jvm" ],
"commitMessagePrefix": "[java]",
"labels": [ "dependencies", "c-java" ]
},
{
"matchPackageNames": ["bundler", "ruby-version"],
"commitMessagePrefix": "[rb]"
"matchManagers": [ "maven" ],
"commitMessagePrefix": "[java]",
"labels": [ "dependencies", "c-java" ]
},
{
"matchPackageNames": ["cargo"],
"commitMessagePrefix": "[rust]"
"matchManagers": [ "npm" ],
"commitMessagePrefix": "[js]",
"labels": [ "dependencies", "c-nodejs" ]
},
{
"matchPackageNames": [ "aspect_rules_js", "aspect_rules_ts", "rules_nodejs" ],
"commitMessagePrefix": "[js]",
"labels": [ "dependencies", "c-nodejs" ]
},
{
"matchManagers": [ "pip_requirements", "pip_setup" ],
"commitMessagePrefix": "[py]",
"labels": [ "dependencies", "c-py" ]
},
{
"matchPackageNames": [ "rules_python" ],
"commitMessagePrefix": "[py]",
"labels": [ "dependencies", "c-py" ]
},
{
"matchManagers": [ "bundler", "ruby-version" ],
"commitMessagePrefix": "[rb]",
"labels": [ "dependencies", "c-rb" ]
},
{
"matchPackageNames": [ "rules_ruby" ],
"commitMessagePrefix": "[rb]",
"labels": [ "dependencies", "c-rb" ]
},
{
"matchManagers": [ "cargo" ],
"commitMessagePrefix": "[rust]",
"labels": [ "dependencies", "c-rust" ]
},
{
"matchPackageNames": [ "rules_cc" ],
"commitMessagePrefix": "[rust]",
"labels": [ "dependencies", "c-rust" ]
}
],
"prConcurrentLimit": 5
"prConcurrentLimit": 15
}
Loading