Skip to content

Commit c2719d7

Browse files
authored
chore: tweak dependabot configuration (#87)
* chore: get dependabot to honor the commit prefix for dev dependenies This isn't obviously more correct, but trying to see if keeping version at the very top helps * chore: dependabot validation in PRs
1 parent b20bb61 commit c2719d7

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# docs v2 https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/configuration-options-for-dependency-updates
21
version: 2
32
updates:
3+
# docs v2 https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/configuration-options-for-dependency-updates
44
- package-ecosystem: "npm"
55
schedule:
66
interval: "monthly"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: dependabot validate
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- ".github/dependabot.yml"
7+
- ".github/workflows/dependabot-validate.yml"
8+
jobs:
9+
validate:
10+
runs-on: ubuntu-20.04
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: marocchino/validate-dependabot@v1
14+
id: validate
15+
- uses: marocchino/sticky-pull-request-comment@v2
16+
if: always()
17+
with:
18+
header: validate-dependabot
19+
message: ${{ steps.validate.outputs.markdown }}

0 commit comments

Comments
 (0)