dpvreony / github-action-renovate-config-validator

GitHub Actions for renovate-config-validator

Home Page:https://github.com/marketplace/actions/validate-renovate-configuration-with-renovate-config-validator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github-action-renovate-config-validator

GitHub Actions for renovate-config-validator

Requirement

npx

Input

Please see action.yaml too.

validator_version

required: false

The version of renovate-config-validator. By default, the latest version is used.

config_file_path

required: false

Renovate Configuration file path. By default, the following files are validated.

  • .github/renovate.json
  • .github/renovate.json5
  • .gitlab/renovate.json
  • .gitlab/renovate.json5
  • .renovaterc.json
  • .renovaterc.json5
  • renovate.json
  • renovate.json5
  • .renovaterc

Output

Nothing.

Example

name: renovate-config-validator

on:
  pull_request:
    branches:
      - main
  push:
    branches:
      - main
jobs:
  validate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.2

You can specify renovate-config-validator version and configuration file path.

steps:
  - uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.2
    with:
      validator_version: "31.15.0"
      config_file_path: renovate.json5

Liencse

MIT

About

GitHub Actions for renovate-config-validator

https://github.com/marketplace/actions/validate-renovate-configuration-with-renovate-config-validator

License:MIT License