Skip to content

Renovate

Renovate #725

Workflow file for this run

name: Renovate
on:
# Temporarily enable manual workflow trigger for testing
workflow_dispatch: {}
schedule:
- cron: "5 2 * * *"
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Renovate
shell: bash
run: npx renovate
env:
RENOVATE_CONFIG_FILE: "renovate.json"
LOG_FILE: renovate.log
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
LOG_LEVEL: "debug"
# Ensure the output does not contain a line starting with "No repositories found"
- name: Validate renovate output
shell: bash
run: cat renovate.log | jq --slurp -e 'any(.[].msg; test("^No repositories found")) | not'
- uses: gsoft-inc/wl-reusable-workflows/send-slack-notification@main
if: failure() && github.event_name == 'schedule'
with:
webhook_url: ${{secrets.SLACK_WEBHOOK_URL_IDP_DEV_ALERTS}}
messageTemplate: "FailedJob"