You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-21 07:42:09 +03:00
split GITHUB_REPOSITORY rather than using GITHUB_ACTOR
This commit is contained in:
@ -49,7 +49,8 @@ if [[ "${#BRANCH_ARRAY[@]}" == "1" ]]; then
|
|||||||
if [[ "$GITHUB_REPOSITORY" == "$deforg"* ]]; then
|
if [[ "$GITHUB_REPOSITORY" == "$deforg"* ]]; then
|
||||||
clone $deforg $defrepo $GITHUB_HEAD_REF
|
clone $deforg $defrepo $GITHUB_HEAD_REF
|
||||||
else
|
else
|
||||||
clone $GITHUB_ACTOR $defrepo $GITHUB_HEAD_REF
|
REPO_ARRAY=(${GITHUB_REPOSITORY//\// })
|
||||||
|
clone $REPO_ARRAY[0] $defrepo $GITHUB_HEAD_REF
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
clone $deforg $defrepo $BUILDKITE_BRANCH
|
clone $deforg $defrepo $BUILDKITE_BRANCH
|
||||||
|
Reference in New Issue
Block a user