Skip to content

GH Actions: validate Dependabot config changes #3

GH Actions: validate Dependabot config changes

GH Actions: validate Dependabot config changes #3

name: Validate Dependabot Config
on:
# Run on all pushes and on all pull requests which update these files.
push:
paths:
- '.github/dependabot.yml'
- '.github/workflows/dependabot-validate.yml'
- '.github/workflows/reusable-dependabot-validate.yml'
pull_request:
paths:
- '.github/dependabot.yml'
- '.github/workflows/dependabot-validate.yml'
- '.github/workflows/reusable-dependabot-validate.yml'
# Allow manually triggering the workflow.
workflow_dispatch:
permissions: {}
jobs:
validate:
name: 'Validate Dependabot Config'
permissions:
contents: read # to fetch code
pull-requests: write # to comment on a PR
uses: ./.github/workflows/reusable-dependabot-validate.yml