Skip to content

Commit

Permalink
Merge pull request #24 from GiganticMinecraft/KisaragiEffective-patch-1
Browse files Browse the repository at this point in the history
chore: enable Renovate for several dependency
  • Loading branch information
m1sk9 authored Jun 29, 2024
2 parents 80a9ff0 + dee4dc7 commit ed99049
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
build:
runs-on: ubuntu-latest
env:
# https://github.com/rust-lang/mdBook/releases/tag/v0.4.40
MDBOOK_VERSION: 0.4.40
# renovate: rust-lang/mdBook
MDBOOK_VERSION: '0.4.40'

# https://github.com/slowsage/mdbook-pagetoc/releases/tag/v0.2.0
MDBOOK_PAGETOC_VERSION: 0.2.0
# renovate: slowsage/mdbook-pagetoc
MDBOOK_PAGETOC_VERSION: '0.2.0'

# https://github.com/lambdalisue/rs-mdbook-alerts/releases/tag/v0.5.2
MDBOOK_ALERTS_VERSION: 0.5.2
# renovate: lambdalisue/rs-mdbook-alerts
MDBOOK_ALERTS_VERSION: '0.5.2'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
32 changes: 32 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["(^|/)\\.github/workflows/deploy\\.yaml$"],
"matchStrings": ["#\\s?renovate: rust-lang/mdBook\\s*MDBOOK_VERSION:\\s*'(?<currentValue>\\d\\.\\d+\\.\\d+)'"],
"depNameTemplate": "mdbook",
"packageNameTemplate": "rust-lang/mdBook",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"fileMatch": ["(^|/)\\.github/workflows/deploy\\.yaml$"],
"matchStrings": ["#\\s?renovate: slowsage/mdbook-pagetoc\\s*MDBOOK_PAGETOC_VERSION:\\s*'(?<currentValue>\\d\\.\\d+\\.\\d+)'"],
"depNameTemplate": "mdbook-pagetoc",
"packageNameTemplate": "slowsage/mdbook-pagetoc",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"fileMatch": ["(^|/)\\.github/workflows/deploy\\.yaml$"],
"matchStrings": ["#\\s?renovate: lambdalisue/rs-mdbook-alerts\\s*MDBOOK_ALERTS_VERSION:\\s*'(?<currentValue>\\d\\.\\d+\\.\\d+)'"],
"depNameTemplate": "mdbook-alerts",
"packageNameTemplate": "lambdalisue/rs-mdbook-alerts",
"datasourceTemplate": "github-releases"
}
]
}

0 comments on commit ed99049

Please sign in to comment.