GH Actions: validate Dependabot config changes #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |