Fix dependabot groups #7
This file contains 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: Dependabot Validate Config | |
on: | |
push: | |
branches: [ master, develop ] | |
paths: | |
- '.github/dependabot.yml' | |
- '.github/workflows/dependabot-validate.yml' | |
pull_request: | |
paths: | |
- '.github/dependabot.yml' | |
- '.github/workflows/dependabot-validate.yml' | |
permissions: | |
pull-requests: write | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Validate dependabot config | |
uses: marocchino/validate-dependabot@v3 | |
id: validate | |
- uses: marocchino/sticky-pull-request-comment@v2 | |
# Always run but only if a PR | |
if: ${{ !cancelled() && github.event_name == 'pull_request' }} | |
with: | |
header: validate-dependabot | |
message: ${{ steps.validate.outputs.markdown }} |