Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/fork-sync/report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ report_failure() {
return
fi

gh label create "$label" --color D93F0B --description "Problems syncing this fork with upstream" 2> /dev/null || true
gh label create "$label" --force --color D93F0B --description "Problems syncing this fork with upstream" || true
gh issue create --title "$title" --body "$body" --label "$label" --assignee "$GITHUB_REPOSITORY_OWNER" ||
gh issue create --title "$title" --body "$body" --label "$label"
}
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/fork-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ env:
FLAVOR: ${{ vars.KDRIVE_FLAVOR || 'standard' }}
UPSTREAM_TRACK: ${{ vars.UPSTREAM_TRACK || 'release' }}
ISSUE_LABEL: fork-sync
# sync.sh adds an "upstream" remote, which gh would otherwise pick over origin.
GH_REPO: ${{ github.repository }}
BOT_NAME: github-actions[bot]
BOT_EMAIL: 41898233+github-actions[bot]@users.noreply.github.com

Expand Down Expand Up @@ -154,7 +156,13 @@ jobs:
fi

# --stacktrace: some failures (packaging, for one) only name their cause in the stack trace.
args=(--stacktrace --init-script .github/fork-sync/skip-sentry-upload.init.gradle)
# The project's 4 GB Gradle heap runs out while packaging and signing the ~190 MB APK;
# the runner has 16 GB, so give Gradle 6 GB and keep Kotlin's daemon at its usual 4 GB.
args=(
--stacktrace
--init-script .github/fork-sync/skip-sentry-upload.init.gradle
"-Dorg.gradle.jvmargs=-Xmx6g -Dkotlin.daemon.jvm.options=-Xmx4g"
)
if [[ -n "$KEYSTORE_BASE64" ]]; then
base64 --decode <<< "$KEYSTORE_BASE64" > "$RUNNER_TEMP/release.keystore"
args+=(
Expand Down
Loading