Skip to content

Commit

Permalink
Merge pull request #31 from strg-at/feature/INPRO-2249-setup-renovate
Browse files Browse the repository at this point in the history
feat(renovate): setup INPRO-2249
  • Loading branch information
jazzlyn authored Jul 2, 2024
2 parents 67ea854 + e08e6da commit 0bc974c
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/renovate-bot.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
platform: "github",
username: "strg-public-bot[bot]",
gitAuthor: "strg-public-bot <174349635+strg-bot[bot]@users.noreply.github.com>",
repositories: ["strg-at/containers"],
}
8 changes: 8 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
extends: [
"github>strg-at/renovate-config:base.json5",
"github>strg-at/renovate-config//github-actions/silent-automerge.json5",
"github>strg-at/renovate-config//pre-commit/silent-automerge.json5",
"github>strg-at/renovate-config//terraform/silent-automerge.json5",
],
}
41 changes: 41 additions & 0 deletions .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: renovate

on:
workflow_dispatch:
inputs:
dry-run:
description: dry-run
required: false
type: string
default: "false"
log-level:
description: log-level
required: false
type: string
default: info
schedule:
- cron: "0 */3 * * 1-4"
push:
branches:
- main
paths:
- .github/renovate.json5
- .github/renovate/**.json5
- .github/workflows/renovate.yaml

concurrency:
group: renovate
cancel-in-progress: true

jobs:
renovate:
uses: strg-at/github-workflows/.github/workflows/run-renovate.yaml@c3b65900e045c388e6895d74522317427453fde0 # v1.6.1
with:
runner: '["ubuntu-latest"]'
configuration-file: .github/renovate-bot.json5
dry-run: ${{ inputs.dry-run || 'false' }}
log-level: ${{ inputs.log-level || 'info' }}
secrets:
github-app-id: ${{ secrets.STRG_PUBLIC_BOT_GITHUB_APP_ID }}
github-app-key: ${{ secrets.STRG_PUBLIC_BOT_GITHUB_PEM }}

0 comments on commit 0bc974c

Please sign in to comment.