Skip to content

Commit

Permalink
chore: add renovate dependency to our tooling default (#299)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Schrottner <[email protected]>
  • Loading branch information
aepfli authored Jul 24, 2024
1 parent 7a5df65 commit 0fa51f8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 20 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
branches:
- 'main'
merge_group:

jobs:
main:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/dco_work_group.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# based on https://github.com/onnx/onnx/blob/main/.github/workflows/dco_merge_group.yml

name: DCO
on:
merge_group:

permissions: # set top-level default permissions as security best practice
contents: read # Check https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#token-permissions

jobs:
DCO:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- run: echo "dummy DCO workflow (it won't run any check actually) to trigger by merge_group in order to enable merge queue"
21 changes: 1 addition & 20 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Default preset for use with OpenFeature's repos",
"extends": ["config:recommended"],
"semanticCommits": "enabled",
"automergeType": "branch",
"configMigration": true,
"extends": [ "github>open-feature/community-tooling" ],
"dependencyDashboard": true,
"prCreation": "not-pending",
"rebaseWhen": "behind-base-branch",
"platformAutomerge": true,
"platformCommit": true,
"npm": {
"packageRules": [
{
Expand Down Expand Up @@ -39,16 +32,4 @@
}
]
},
"packageRules": [
{
"description": "Automerge non-major updates",
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^0/",
"automerge": true
},
{
"matchManagers": ["github-actions"],
"automerge": true
}
]
}

0 comments on commit 0fa51f8

Please sign in to comment.