Skip to content

Commit

Permalink
Always validate dependabot config in CI
Browse files Browse the repository at this point in the history
Current upstream validator is still under work and tracked as
dependabot/dependabot-core#4605.
  • Loading branch information
didrocks committed Mar 18, 2024
1 parent 02413af commit 254e294
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/validate-dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: dependabot validate

on:
pull_request:
paths:
- '.github/dependabot.yml'

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

0 comments on commit 254e294

Please sign in to comment.