Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: enabling renovate bot on develop #3192

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/renovate-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This workflow is for validating the Renovate configuration and docker image
# updates for it.
name: Renovate Validation
on:
workflow_dispatch:
inputs:
log-level:
type: choice
description: Select log level for Renovate
options:
- trace
- debug
- info
- warn
- error
default: info
required: false
pull_request:
paths:
# we trigger validation on any changes to the renovate workflow files
- .github/workflows/renovate*.yml
# as well as for any possible location for the renovate config file
- .github/renovate.json?


jobs:
renovate-validation:
# The reusable workflow will be updated by renovate if there's a new version
uses: Unity-Technologies/renovate-workflows/.github/workflows/[email protected]
with:
# This is the image that contains our custom renovate and will be auto
# updated by Renovate itself.
image: europe-docker.pkg.dev/unity-cds-services-prd/ds-docker/renovate:10.1.3@sha256:fdeed7bb524bd67611eb91ee1a5e990c8c73ed62c84a0cd5ef66c87eb5fd0d70
dry-run: full
log-level: ${{ github.event.inputs.log-level }}
secrets:
renovate-auth-secret: ${{ secrets.RENOVATE_AUTH_SECRET }}
github-com-token: ${{ secrets.GH_COM_TOKEN }}
33 changes: 33 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow runs Renovate against the current repo and will create PRs with outdated dependencies.
name: Renovate

on:
workflow_dispatch:
inputs:
log-level:
type: choice
description: Select log level for Renovate
options:
- trace
- debug
- info
- warn
- error
default: info
required: false
schedule:
# Every 6 hours at the 6th minute.
- cron: '06 */6 * * *'

jobs:
renovate:
# The reusable workflow will be updated by renovate if there's a new version
uses: Unity-Technologies/renovate-workflows/.github/workflows/[email protected]
with:
# This is the image that contains our custom renovate and will be auto
# updated by Renovate itself.
image: europe-docker.pkg.dev/unity-cds-services-prd/ds-docker/renovate:10.1.3@sha256:fdeed7bb524bd67611eb91ee1a5e990c8c73ed62c84a0cd5ef66c87eb5fd0d70
log-level: ${{ github.event.inputs.log-level }}
secrets:
renovate-auth-secret: ${{ secrets.RENOVATE_AUTH_SECRET }}
github-com-token: ${{ secrets.GH_COM_TOKEN }}
Loading