diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml new file mode 100644 index 0000000..f1a38bd --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,21 @@ +name: validate +on: + pull_request: + push: + branches: + - master + +jobs: + config: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '16' + - name: Install renovate + run: npm i -g renovate + - name: Validate config + run: renovate-config-validator + env: + RENOVATE_CONFIG_FILE: renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..b7a4bb8 --- /dev/null +++ b/renovate.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base", + ":disableDependencyDashboard" + ], + "commitBody": "Generated by renovateBot", + "github-actions": { + "fileMatch": ["^ci\\/workflows\\/[^/]+\\.ya?ml$"] + } +}