From 6612ab8f3afcd5e292aecd647f0fa68812c9f5b5 Mon Sep 17 00:00:00 2001 From: Deepankar Dixit <90280028+ddixit14@users.noreply.github.com> Date: Mon, 22 Jan 2024 14:12:57 +0000 Subject: [PATCH] chore: Create renovate_config_check.yaml (#1920) * chore: Create renovate_config_check.yaml --- .../workflows/renovate_config_check.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 synthtool/gcp/templates/java_library/.github/workflows/renovate_config_check.yaml diff --git a/synthtool/gcp/templates/java_library/.github/workflows/renovate_config_check.yaml b/synthtool/gcp/templates/java_library/.github/workflows/renovate_config_check.yaml new file mode 100644 index 000000000..87d8eb2be --- /dev/null +++ b/synthtool/gcp/templates/java_library/.github/workflows/renovate_config_check.yaml @@ -0,0 +1,25 @@ +name: Renovate Bot Config Validation + +on: + pull_request: + paths: + - 'renovate.json' + +jobs: + renovate_bot_config_validation: + runs-on: ubuntu-22.04 + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '20' + + - name: Install Renovate and Config Validator + run: | + npm install -g npm@latest + npm install --global renovate + renovate-config-validator