mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 05:50:35 +00:00
🔧 Manage GitHub Actions with Renovate
Signed-off-by: David Barragán Merino <david.barragan@kaleidos.net>
This commit is contained in:
parent
b6a3ab67ef
commit
8204e97a98
6
.github/workflows/build-renovate.yml
vendored
6
.github/workflows/build-renovate.yml
vendored
@ -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:
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user