Skip to content

Commit

Permalink
Add Renovate for dependency management (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Mar 26, 2023
1 parent 5204dcd commit 8bee90b
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 19 deletions.
13 changes: 0 additions & 13 deletions .github/dependabot.yaml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"rebaseWhen": "behind-base-branch",
"dependencyDashboard": true,
"labels": ["dependencies", "no-stale"],
"commitMessagePrefix": "⬆️",
"commitMessageTopic": "{{depName}}",
"packageRules": [
{
"matchManagers": ["github-actions"],
"addLabels": ["github_actions"],
"rangeStrategy": "pin"
},
{
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"matchManagers": ["pip_requirements"],
"addLabels": ["python"],
"rangeStrategy": "pin"
},
{
"matchManagers": ["pip_requirements"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
}
]
}
2 changes: 1 addition & 1 deletion .github/workflows/additional-tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
uses: actions/checkout@v3.5.0
- name: 🚀 Run Release Tracker
uses: vweevers/additional-tags-action@v2.0.0
2 changes: 1 addition & 1 deletion .github/workflows/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
uses: actions/checkout@v3.5.0
- name: 🚀 Run Label Syncer
uses: micnncim/action-label-syncer@v1.3.0
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
uses: actions/checkout@v3.5.0
- name: 🚀 Run yamllint
uses: frenck/action-yamllint@v1.4

Expand All @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
uses: actions/checkout@v3.5.0
- name: 🚀 Run JQ
run: |
shopt -s globstar
Expand All @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
uses: actions/checkout@v3.5.0
- name: 🚀 Run Prettier
uses: creyD/prettier_action@v4.3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🚀 Run stale
uses: actions/stale@v7
uses: actions/stale@v7.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30
Expand Down

0 comments on commit 8bee90b

Please sign in to comment.