🔧 Manage GitHub Actions with Renovate

Signed-off-by: David Barragán Merino <david.barragan@kaleidos.net>
This commit is contained in:
David Barragán Merino 2026-10-06 15:31:27 +00:00 committed by David Barragán Merino
parent b6a3ab67ef
commit 8204e97a98
2 changed files with 6 additions and 1 deletions

View File

@ -28,6 +28,7 @@ jobs:
contents: read
outputs:
short_sha: ${{ steps.bundle.outputs.short_sha }}
images: ${{ steps.changes.outputs.images }}
devenv: ${{ steps.changes.outputs.devenv }}
imagemagick: ${{ steps.changes.outputs.imagemagick }}
@ -49,9 +50,11 @@ jobs:
BASE_SHA: ${{ steps.base.outputs.sha }}
run: |
changed() {
git diff --quiet "$BASE_SHA" HEAD -- "$1" && echo false || echo true
git diff --quiet "$BASE_SHA" HEAD -- "$@" && echo false || echo true
}
{
# Anything outside .github can affect the production images.
echo "images=$(changed . ':!.github')"
echo "devenv=$(changed docker/devenv)"
echo "imagemagick=$(changed docker/imagemagick)"
} >> "$GITHUB_OUTPUT"
@ -85,6 +88,7 @@ jobs:
runs-on: penpot-standar-runner
timeout-minutes: 60
needs: prepare
if: needs.prepare.outputs.images == 'true'
permissions:
contents: read
strategy:

View File

@ -1,6 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>penpot/renovate-config"],
"labels": ["dependencies", "team infra", "no issue required"],
"semanticCommits": "disabled",
"commitMessagePrefix": ":arrow_up:",
"commitMessageAction": "Update",