Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
play

GitHub Action

validate-dependabot

v1.1.0

validate-dependabot

play

validate-dependabot

validate dependabot yaml

Installation

Copy and paste the following snippet into your .yml file.

              

- name: validate-dependabot

uses: marocchino/[email protected]

Learn more about this action in marocchino/validate-dependabot

Choose a version

typescript-action status

Inputs

path

Required path of config file. Default ".github/dependabot.yml".

Outputs

raw

response body as json string

markdown

errors as markdown table

Usage

name: dependabot validate

on:
  pull_request:
    paths:
      - ".github/dependabot.yml"
      - ".github/workflows/dependabot-validate.yml"
jobs:
  validate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: marocchino/validate-dependabot@v1
        id: validate
      - uses: marocchino/sticky-pull-request-comment@v2
        if: always()
        with:
          header: validate-dependabot
          message: ${{ steps.validate.outputs.markdown }}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}