Skip to content

Commit 0fa51f8

Browse files
authored
chore: add renovate dependency to our tooling default (#299)
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
1 parent 7a5df65 commit 0fa51f8

File tree

3 files changed

+17
-20
lines changed

3 files changed

+17
-20
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
pull_request:
88
branches:
99
- 'main'
10+
merge_group:
1011

1112
jobs:
1213
main:

.github/workflows/dco_work_group.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# based on https://github.com/onnx/onnx/blob/main/.github/workflows/dco_merge_group.yml
2+
3+
name: DCO
4+
on:
5+
merge_group:
6+
7+
permissions: # set top-level default permissions as security best practice
8+
contents: read # Check https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#token-permissions
9+
10+
jobs:
11+
DCO:
12+
runs-on: ubuntu-latest
13+
if: ${{ github.actor != 'dependabot[bot]' }}
14+
steps:
15+
- run: echo "dummy DCO workflow (it won't run any check actually) to trigger by merge_group in order to enable merge queue"

renovate.json

+1-20
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"description": "Default preset for use with OpenFeature's repos",
4-
"extends": ["config:recommended"],
5-
"semanticCommits": "enabled",
6-
"automergeType": "branch",
7-
"configMigration": true,
4+
"extends": [ "github>open-feature/community-tooling" ],
85
"dependencyDashboard": true,
9-
"prCreation": "not-pending",
10-
"rebaseWhen": "behind-base-branch",
11-
"platformAutomerge": true,
12-
"platformCommit": true,
136
"npm": {
147
"packageRules": [
158
{
@@ -39,16 +32,4 @@
3932
}
4033
]
4134
},
42-
"packageRules": [
43-
{
44-
"description": "Automerge non-major updates",
45-
"matchUpdateTypes": ["minor", "patch"],
46-
"matchCurrentVersion": "!/^0/",
47-
"automerge": true
48-
},
49-
{
50-
"matchManagers": ["github-actions"],
51-
"automerge": true
52-
}
53-
]
5435
}

0 commit comments

Comments
 (0)