Skip to content

Commit

Permalink
ci: add regexManagers (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Jan 5, 2023
1 parent ab4a54e commit 329f2fc
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,22 @@ on:
paths-ignore:
- "**.md"

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-22.04
timeout-minutes: 3
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- name: Validate renovate.json
run: npx --package renovate -c 'renovate-config-validator'

setup-docker:
runs-on: ubuntu-22.04
timeout-minutes: 3
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- uses: ./setup-docker
Expand Down
9 changes: 9 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,14 @@
"matchUpdateTypes": ["minor", "patch"],
"automergeStrategy": "squash"
}
],
"regexManagers": [
{
"fileMatch": ["^README.md$"],
"matchStrings": ["peaceiris/workflows/.+@v(?<currentValue>\d+\.\d+\.\d+)"],
"depNameTemplate": "github-actions",
"datasourceTemplate": "github-releases",
"depNameTemplate": "peaceiris/workflows"
}
]
}

0 comments on commit 329f2fc

Please sign in to comment.