Skip to content

Commit

Permalink
ci: add 'dependabot-validate' workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ascariandrea committed Oct 27, 2023
1 parent a72a564 commit e49d43b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,21 @@ updates:
directory: "/"
schedule:
interval: "daily"
target-branch: daily
open-pull-requests-limit: 0
target-branch: "daily"
versioning-strategy: increase
allow:
- dependency-type: all
# Allow both direct and indirect updates for all packages
- dependency-type: "all"
ignore:
- dependency-name: "@types/mime"
versions: ["2.*", "3.*"]
versions: ["2.x", "3.x"]
- dependency-name: "@types/node"
versions: ["20.*"]
versions: ["20.x"]
- dependency-name: "fast-check"
versions: ["3.*"]
versions: ["3.x"]
- dependency-name: "query-string"
versions: ["8.*"]
versions: ["8.x"]
groups:
types:
patterns:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/dependabot-validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: dependabot validate

on:
pull_request:
paths:
- '.github/dependabot.yml'
- '.github/workflows/dependabot-validate.yml'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: marocchino/validate-dependabot@v2
id: validate
- uses: marocchino/sticky-pull-request-comment@v2
if: always()
with:
header: validate-dependabot
message: ${{ steps.validate.outputs.markdown }}

0 comments on commit e49d43b

Please sign in to comment.