mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-18 09:52:35 +00:00
fix: wrong home
This commit is contained in:
parent
9868ed1446
commit
38e3b10196
1 changed files with 3 additions and 0 deletions
|
|
@ -5,6 +5,9 @@
|
||||||
export RENOVATE_TOKEN="${2}"
|
export RENOVATE_TOKEN="${2}"
|
||||||
export RENOVATE_CONFIG_FILE="${GITHUB_WORKSPACE}/${1}"
|
export RENOVATE_CONFIG_FILE="${GITHUB_WORKSPACE}/${1}"
|
||||||
|
|
||||||
|
# We are running as ubuntu, so no write access to /github/home
|
||||||
|
export HOME=/home/ubuntu
|
||||||
|
|
||||||
if [[ ! -f "${RENOVATE_CONFIG_FILE}" ]]; then
|
if [[ ! -f "${RENOVATE_CONFIG_FILE}" ]]; then
|
||||||
echo "ERROR: Couldn't find file ${RENOVATE_CONFIG_FILE}" 1>&2
|
echo "ERROR: Couldn't find file ${RENOVATE_CONFIG_FILE}" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue