Add workflow to validate dependabot.yml #1
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.yml | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/dependabot.yml | |
| - .github/workflows/validate-dependabot.yml | |
| push: | |
| branches: [main] # <-- or whatever your default branch is | |
| workflow_dispatch: | |
| jobs: | |
| validate-dependabot: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: softwareforgood/validate-dependabot.yml@v0 |