diff --git a/.github/renovate-entrypoint.sh b/.github/renovate-entrypoint.sh index faa8211..6820a24 100644 --- a/.github/renovate-entrypoint.sh +++ b/.github/renovate-entrypoint.sh @@ -1,11 +1,13 @@ #!/bin/bash -set -e +set -euo pipefail echo "=== Starting Renovate Bot ===" +cd /github/workspace + apt update apt install -y build-essential libpq-dev -runuser -u ubuntu renovate --platform=github +runuser -u ubuntu -- renovate --platform=github echo "=== Renovate Bot finished ===" diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 8eab065..426d345 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -22,3 +22,4 @@ jobs: docker-cmd-file: .github/renovate-entrypoint.sh docker-user: root token: ${{ secrets.GITHUB_TOKEN }} + docker-volumes: ${{ github.workspace }}:/github/workspace