Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
mattops committed Jan 9, 2025
1 parent f0e91f8 commit ee34d42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/usr/local/bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ getRegistrationToken=$(
--silent \
--location \
--request "POST" \
--header "Accept: application/vnd.github+json" \
--header "X-GitHub-Api-Version: 2022-11-28" \
--header "Authorization: Bearer ${GH_AUTH_TOKEN}" \
https://api.github.com/org/ministryofjustice/actions/runners/registration-token | jq -r '.token'
Expand All @@ -39,7 +40,7 @@ else
fi

echo "Checking the runner"
bash "${ACTIONS_RUNNER_DIRECTORY}/config.sh" --check --url "https://github.com/${GITHUB_REPOSITORY}" --pat ${GH_AUTH_TOKEN}
bash "${ACTIONS_RUNNER_DIRECTORY}/config.sh" --check --url "https://github.com/ministryofjustice" --pat ${GH_AUTH_TOKEN}

echo "Configuring runner"
bash "${ACTIONS_RUNNER_DIRECTORY}/config.sh" ${EPHEMERAL_FLAG} \
Expand Down

0 comments on commit ee34d42

Please sign in to comment.