From b32259bf9b6b122c56d3fb488deefa6823ac33f9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 31 Jan 2026 13:04:45 +0000 Subject: [PATCH 1/3] Initial plan From 6dba71268acae578543f4df71140cf0fb9c71654 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 31 Jan 2026 13:07:33 +0000 Subject: [PATCH 2/3] Add fetch-depth parameter to workflows using Danger Co-authored-by: PavelMesicek <72208496+PavelMesicek@users.noreply.github.com> --- .github/workflows/android-cloud-check.yml | 6 ++++++ .github/workflows/ios-kmp-selfhosted-test.yml | 6 ++++++ .github/workflows/ios-selfhosted-test.yml | 5 +++++ .gitignore | 1 + 4 files changed, 18 insertions(+) diff --git a/.github/workflows/android-cloud-check.yml b/.github/workflows/android-cloud-check.yml index 4425184..791ada4 100644 --- a/.github/workflows/android-cloud-check.yml +++ b/.github/workflows/android-cloud-check.yml @@ -39,6 +39,11 @@ on: required: false type: string default: "" + FETCH_DEPTH: + description: "Number of commits to fetch. 0 indicates all history for all branches and tags. Set to 0 if Danger cannot find merge base." + required: false + type: number + default: 1 secrets: GRADLE_CACHE_ENCRYPTION_KEY: @@ -60,6 +65,7 @@ jobs: uses: actions/checkout@v4 with: lfs: ${{ inputs.USE_GIT_LFS }} + fetch-depth: ${{ inputs.FETCH_DEPTH }} - name: Set up environment uses: futuredapp/.github/.github/actions/android-setup-environment@main with: diff --git a/.github/workflows/ios-kmp-selfhosted-test.yml b/.github/workflows/ios-kmp-selfhosted-test.yml index a3278da..9fc3350 100644 --- a/.github/workflows/ios-kmp-selfhosted-test.yml +++ b/.github/workflows/ios-kmp-selfhosted-test.yml @@ -46,6 +46,11 @@ on: description: "Path to directory containing Fastfile. If not specified, uses iosApp. Example: iosApp/appA" type: string required: false + fetch_depth: + description: "Number of commits to fetch. 0 indicates all history for all branches and tags. Set to 0 if Danger cannot find merge base." + type: number + required: false + default: 1 secrets: GRADLE_CACHE_ENCRYPTION_KEY: @@ -65,6 +70,7 @@ jobs: uses: actions/checkout@v4 with: lfs: ${{ inputs.use_git_lfs }} + fetch-depth: ${{ inputs.fetch_depth }} - name: Setup Java uses: actions/setup-java@v4 with: diff --git a/.github/workflows/ios-selfhosted-test.yml b/.github/workflows/ios-selfhosted-test.yml index b617f6c..5464263 100644 --- a/.github/workflows/ios-selfhosted-test.yml +++ b/.github/workflows/ios-selfhosted-test.yml @@ -19,6 +19,10 @@ on: description: 'Job timeout in minutes' type: number default: 30 + fetch_depth: + description: 'Number of commits to fetch. 0 indicates all history for all branches and tags. Set to 0 if Danger cannot find merge base.' + type: number + default: 1 secrets: GITHUB_TOKEN_DANGER: @@ -39,6 +43,7 @@ jobs: uses: actions/checkout@v4 with: lfs: ${{ inputs.use_git_lfs }} + fetch-depth: ${{ inputs.fetch_depth }} - name: Fastlane Test uses: futuredapp/.github/.github/actions/ios-fastlane-test@main diff --git a/.gitignore b/.gitignore index 4a6f485..53ed64b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .idea *.DS_Store +actionlint From c8fe0b721533eba4dd0c652f5310e1d5714f5248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20M=C4=9Bs=C3=AD=C4=8Dek?= <72208496+PavelMesicek@users.noreply.github.com> Date: Sat, 31 Jan 2026 14:11:15 +0100 Subject: [PATCH 3/3] Remove actionlint from .gitignore --- .gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitignore b/.gitignore index 53ed64b..4a6f485 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ .idea *.DS_Store -actionlint