Skip to content

Commit dbe2bf1

Browse files
committed
fix git conflict
Signed-off-by: alperozturk <[email protected]>
2 parents 8228c47 + 7b7a1ab commit dbe2bf1

25 files changed

+1655
-221
lines changed

.github/workflows/analysis.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# synced from @nextcloud/android-config
22

33
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
4+
# SPDX-FileCopyrightText: 2025 Alper Ozturk <[email protected]>
45
# SPDX-FileCopyrightText: 2023 Tobias Kaminsky <[email protected]>
56
# SPDX-FileCopyrightText: 2023 Andy Scherzinger <[email protected]>
67
# SPDX-FileCopyrightText: 2023 Josh Richards <[email protected]>
8+
# SPDX-FileCopyrightText: 2025 Marcel Hibbe <[email protected]>
79
# SPDX-License-Identifier: GPL-3.0-or-later
810

911
name: "Analysis"
@@ -24,9 +26,14 @@ concurrency:
2426

2527
jobs:
2628
analysis:
27-
runs-on: ubuntu-24.04
29+
runs-on: ubuntu-latest
2830
steps:
29-
- name: Setup variables
31+
- name: Disabled on forks
32+
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
33+
run: |
34+
echo 'Can not analyze PRs from forks'
35+
exit 1
36+
- name: Setup variables # zizmor: ignore[template-injection]
3037
id: get-vars
3138
run: |
3239
if [ -z "$GITHUB_HEAD_REF" ]; then
@@ -46,6 +53,7 @@ jobs:
4653
fi
4754
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4855
with:
56+
persist-credentials: false
4957
repository: ${{ steps.get-vars.outputs.repo }}
5058
ref: ${{ steps.get-vars.outputs.branch }}
5159
- name: Set up JDK 17
@@ -61,9 +69,11 @@ jobs:
6169
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6270
run: |
6371
mkdir -p "$HOME/.gradle"
64-
echo "org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g" > "$HOME/.gradle/gradle.properties"
65-
echo "org.gradle.caching=true" >> $HOME/.gradle/gradle.properties
66-
echo "org.gradle.parallel=true" >> $HOME/.gradle/gradle.properties
67-
echo "org.gradle.configureondemand=true" >> $HOME/.gradle/gradle.properties
68-
echo "kapt.incremental.apt=true" >> $HOME/.gradle/gradle.properties
69-
scripts/analysis/analysis-wrapper.sh ${{ steps.get-vars.outputs.branch }} ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} "$GITHUB_RUN_NUMBER" ${{ steps.get-vars.outputs.pr }}
72+
{
73+
echo "org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g"
74+
echo "org.gradle.caching=true"
75+
echo "org.gradle.parallel=true"
76+
echo "org.gradle.configureondemand=true"
77+
echo "kapt.incremental.apt=true"
78+
} > "$HOME/.gradle/gradle.properties"
79+
scripts/analysis/analysis-wrapper.sh "${{ steps.get-vars.outputs.branch }}" "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" "$GITHUB_RUN_NUMBER" "${{ steps.get-vars.outputs.pr }}"

.github/workflows/android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
check-latest: true
2828
cache: 'gradle'
2929
- name: Validate Gradle Wrapper
30-
uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
30+
uses: gradle/actions/wrapper-validation@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4.3.1
3131

3232
lint:
3333
name: Lint

.github/workflows/autoApproveSync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
name: Auto approve sync
88
on:
9-
pull_request_target:
9+
pull_request_target: # zizmor: ignore[dangerous-triggers]
1010
branches:
1111
- master
1212
- main

.github/workflows/codeql.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# SPDX-FileCopyrightText: 2023-2024 Andy Scherzinger <[email protected]>
55
# SPDX-FileCopyrightText: 2022 Tobias Kaminsky <[email protected]>
66
# SPDX-FileCopyrightText: 2022 Álvaro Brey <[email protected]>
7+
# SPDX-FileCopyrightText: 2025 Marcel Hibbe <[email protected]>
78
# SPDX-License-Identifier: GPL-3.0-or-later
89

910
name: "CodeQL"
@@ -22,7 +23,7 @@ permissions:
2223
jobs:
2324
analyze:
2425
name: Analyze
25-
runs-on: ubuntu-24.04
26+
runs-on: ubuntu-latest
2627
permissions:
2728
actions: read
2829
contents: read
@@ -34,12 +35,15 @@ jobs:
3435
steps:
3536
- name: Checkout repository
3637
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
38+
with:
39+
persist-credentials: false
3740
- name: Set Swap Space
41+
if: runner.environment == 'github-hosted'
3842
uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c # v1.0
3943
with:
4044
swap-size-gb: 10
4145
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9
46+
uses: github/codeql-action/init@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
4347
with:
4448
languages: ${{ matrix.language }}
4549
- name: Set up JDK 17
@@ -53,4 +57,4 @@ jobs:
5357
echo "org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
5458
./gradlew assembleDebug
5559
- name: Perform CodeQL Analysis
56-
uses: github/codeql-action/analyze@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9
60+
uses: github/codeql-action/analyze@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/pr-feedback.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
blocklist=$(curl https://raw.githubusercontent.com/nextcloud/.github/master/non-community-usernames.txt | paste -s -d, -)
3737
echo "blocklist=$blocklist" >> "$GITHUB_OUTPUT"
3838
39-
- uses: marcelklehr/pr-feedback-action@1883b38a033fb16f576875e0cf45f98b857655c4
39+
- uses: nextcloud/pr-feedback-action@1883b38a033fb16f576875e0cf45f98b857655c4 # main
4040
with:
4141
feedback-message: |
4242
Hello there,

.github/workflows/renovate-approve-merge.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
name: Auto approve renovate PRs
1010

1111
on:
12-
pull_request_target:
12+
pull_request_target: # zizmor: ignore[dangerous-triggers]
1313
branches:
1414
- main
1515
- master
@@ -24,7 +24,7 @@ concurrency:
2424

2525
jobs:
2626
auto-approve-merge:
27-
if: github.actor == 'renovate[bot]'
27+
if: github.event.pull_request.user.login == 'renovate[bot]'
2828
runs-on: ubuntu-latest
2929
permissions:
3030
# for hmarr/auto-approve-action to approve PRs
@@ -52,7 +52,7 @@ jobs:
5252

5353
# Enable GitHub auto merge
5454
- name: Auto merge
55-
uses: alexwilson/enable-github-automerge-action@main
55+
uses: alexwilson/enable-github-automerge-action@56e3117d1ae1540309dc8f7a9f2825bc3c5f06ff # v2.0.0
5656
if: startsWith(steps.branchname.outputs.branch, 'renovate/')
5757
with:
5858
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ jobs:
3434
persist-credentials: false
3535

3636
- name: "Run analysis"
37-
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
37+
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
3838
with:
3939
results_file: results.sarif
4040
results_format: sarif
4141
publish_results: false
4242

4343
# Upload the results to GitHub's code scanning dashboard.
4444
- name: "Upload to code-scanning"
45-
uses: github/codeql-action/upload-sarif@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9
45+
uses: github/codeql-action/upload-sarif@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
4646
with:
4747
sarif_file: results.sarif

Gemfile.lock

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,18 @@ GEM
99
public_suffix (>= 2.0.2, < 7.0)
1010
artifactory (3.0.17)
1111
atomos (0.1.3)
12-
aws-eventstream (1.3.0)
13-
aws-partitions (1.1042.0)
14-
aws-sdk-core (3.216.1)
12+
aws-eventstream (1.3.2)
13+
aws-partitions (1.1066.0)
14+
aws-sdk-core (3.220.1)
1515
aws-eventstream (~> 1, >= 1.3.0)
1616
aws-partitions (~> 1, >= 1.992.0)
1717
aws-sigv4 (~> 1.9)
18+
base64
1819
jmespath (~> 1, >= 1.6.1)
19-
aws-sdk-kms (1.97.0)
20+
aws-sdk-kms (1.99.0)
2021
aws-sdk-core (~> 3, >= 3.216.0)
2122
aws-sigv4 (~> 1.5)
22-
aws-sdk-s3 (1.178.0)
23+
aws-sdk-s3 (1.182.0)
2324
aws-sdk-core (~> 3, >= 3.216.0)
2425
aws-sdk-kms (~> 1)
2526
aws-sigv4 (~> 1.5)
@@ -33,7 +34,7 @@ GEM
3334
commander (4.6.0)
3435
highline (~> 2.0.0)
3536
declarative (0.0.20)
36-
digest-crc (0.6.5)
37+
digest-crc (0.7.0)
3738
rake (>= 12.0.0, < 14.0.0)
3839
domain_name (0.6.20240107)
3940
dotenv (2.8.1)
@@ -68,7 +69,7 @@ GEM
6869
faraday_middleware (1.2.1)
6970
faraday (~> 1.0)
7071
fastimage (2.4.0)
71-
fastlane (2.226.0)
72+
fastlane (2.227.0)
7273
CFPropertyList (>= 2.3, < 4.0.0)
7374
addressable (>= 2.8, < 3.0.0)
7475
artifactory (~> 3.0)
@@ -129,12 +130,12 @@ GEM
129130
google-apis-core (>= 0.11.0, < 2.a)
130131
google-apis-storage_v1 (0.31.0)
131132
google-apis-core (>= 0.11.0, < 2.a)
132-
google-cloud-core (1.7.1)
133+
google-cloud-core (1.8.0)
133134
google-cloud-env (>= 1.0, < 3.a)
134135
google-cloud-errors (~> 1.0)
135136
google-cloud-env (1.6.0)
136137
faraday (>= 0.17.3, < 3.0)
137-
google-cloud-errors (1.4.0)
138+
google-cloud-errors (1.5.0)
138139
google-cloud-storage (1.47.0)
139140
addressable (~> 2.8)
140141
digest-crc (~> 0.4)
@@ -152,15 +153,17 @@ GEM
152153
highline (2.0.3)
153154
http-cookie (1.0.8)
154155
domain_name (~> 0.5)
155-
httpclient (2.8.3)
156+
httpclient (2.9.0)
157+
mutex_m
156158
jmespath (1.6.2)
157-
json (2.9.1)
159+
json (2.10.2)
158160
jwt (2.10.1)
159161
base64
160162
mini_magick (4.13.2)
161163
mini_mime (1.1.5)
162164
multi_json (1.15.0)
163165
multipart-post (2.4.1)
166+
mutex_m (0.3.0)
164167
nanaimo (0.4.0)
165168
naturally (2.2.1)
166169
nkf (0.2.0)
@@ -174,7 +177,7 @@ GEM
174177
trailblazer-option (>= 0.1.1, < 0.2.0)
175178
uber (< 0.2.0)
176179
retriable (3.1.2)
177-
rexml (3.4.0)
180+
rexml (3.4.1)
178181
rouge (3.28.0)
179182
ruby2_keywords (0.0.5)
180183
rubyzip (2.4.1)

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ ext {
9393
}
9494

9595
dependencies {
96-
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4'
96+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.5'
9797

9898
implementation 'com.google.guava:guava:31.1-android'
9999
implementation ('commons-httpclient:commons-httpclient:3.1') {
@@ -105,7 +105,7 @@ dependencies {
105105
}
106106

107107
// Nextcloud SSO
108-
implementation 'com.github.nextcloud.android-common:ui:0.24.0'
108+
implementation 'com.github.nextcloud.android-common:ui:48ed8e86d9'
109109
implementation 'com.github.nextcloud:Android-SingleSignOn:1.3.2'
110110
implementation 'com.github.stefan-niedermann:android-commons:1.0.4'
111111
implementation "com.github.stefan-niedermann.nextcloud-commons:sso-glide:$commonsVersion"
@@ -149,6 +149,6 @@ dependencies {
149149
testImplementation 'androidx.test:core:1.6.1'
150150
testImplementation 'androidx.arch.core:core-testing:2.2.0'
151151
testImplementation 'junit:junit:4.13.2'
152-
testImplementation 'org.mockito:mockito-core:5.15.2'
152+
testImplementation 'org.mockito:mockito-core:5.16.1'
153153
testImplementation 'org.robolectric:robolectric:4.14.1'
154154
}

0 commit comments

Comments
 (0)