Skip to content

Commit

Permalink
Merge pull request #7 from arkedge/configure-renovate
Browse files Browse the repository at this point in the history
Configure renovate.json
  • Loading branch information
sankichi92 authored Oct 31, 2024
2 parents 546a3cf + 7d63204 commit 86cc076
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ jobs:
curl -sSfL "https://github.com/pseudomuto/protoc-gen-doc/releases/download/v${PROTOC_GEN_DOC_VERSION}/protoc-gen-doc_${PROTOC_GEN_DOC_VERSION}_linux_amd64.tar.gz" | tar -xzC "${GITHUB_WORKSPACE}/bin"
echo "${GITHUB_WORKSPACE}/bin" >> "$GITHUB_PATH"
env:
# renovate: datasource=github-releases depName=pseudomuto/protoc-gen-doc
PROTOC_GEN_DOC_VERSION: "1.5.1"

- uses: peaceiris/actions-mdbook@v2.0.0
with:
# renovate: datasource=crate depName=mdbook
mdbook-version: "0.4.40"

- name: Generate proto.md from proto files
Expand Down
16 changes: 16 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,21 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>arkedge/renovate-config"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [".github/workflows/*"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+\\S+?:\\s*\"(?<currentValue>\\S+?)\""
]
}
],
"packageRules": [
{
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
}
]
}

0 comments on commit 86cc076

Please sign in to comment.