Skip to content

Commit 1cac108

Browse files
committed
🔧 config(Renovate): add support for dependencies in the template directory
1 parent 01ab563 commit 1cac108

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

‎.renovaterc.json‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,19 @@
1919
"/^README\\.md$/"
2020
],
2121
"matchStrings": [
22-
"- \\*\\*(?<depName>Copier|copier-templates-extensions)\\*\\* ≥ (?<currentValue>.*?)\\s"
22+
"- \\*\\*(?<depName>Copier|copier-templates-extensions)\\*\\* \u2265 (?<currentValue>.*?)\\s"
2323
]
2424
}
25-
]
25+
],
26+
"pre-commit": {
27+
"managerFilePatterns": [
28+
"/(^|/)template/\\.pre-commit-config\\.ya?ml(?:\\.jinja)?$/"
29+
]
30+
},
31+
"github-actions": {
32+
"managerFilePatterns": [
33+
"/^template/.+\\.github.+/actions/.*\\.ya?ml(?:\\.jinja)?$/",
34+
"/^template/.+\\.github.+/workflows/.*\\.ya?ml(?:\\.jinja)?$/"
35+
]
36+
}
2637
}
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
pull_request:
33
types:
4-
- opened
4+
- opened
55

66
jobs:
77
pr-action:
@@ -10,12 +10,12 @@ jobs:
1010
issues: write
1111
pull-requests: write
1212
steps:
13-
- name: Post PR Comment
14-
id: giphy
15-
uses: bassemkaroui/docker-action-pr-giphy-comment@v1
16-
with:
17-
github-token: ${{ secrets.GITHUB_TOKEN }}
18-
giphy-api-key: ${{ secrets.GIPHY_API_KEY }}
13+
- name: Post PR Comment
14+
id: giphy
15+
uses: bassemkaroui/docker-action-pr-giphy-comment@v1
16+
with:
17+
github-token: ${{ secrets.GITHUB_TOKEN }}
18+
giphy-api-key: ${{ secrets.GIPHY_API_KEY }}
1919

20-
- name: Log Comment URL
21-
run: echo "URL - ${{ steps.giphy.outputs.pr-comment-url }}"
20+
- name: Log Comment URL
21+
run: echo "URL - ${{ steps.giphy.outputs.pr-comment-url }}"

0 commit comments

Comments
 (0)