diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c0fe8a5..0a0c4d8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,8 @@ jobs: - name: Run unit tests run: ./gradlew --no-configuration-cache --stacktrace :build-logic:check check -PslimTests + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: (Fail-only) Upload test report if: failure() diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0c1763c..6fb0bf6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,6 +59,7 @@ jobs: env: SENTRY_DSN: ${{ secrets.SENTRY_DSN }} SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | ./gradlew --no-configuration-cache assembleRelease collectReleaseApks collectReleaseBundle -PenableSentry diff --git a/android/build.gradle.kts b/android/build.gradle.kts index d5c70ea0..6fd88f06 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -48,6 +48,8 @@ extensions.configure { experimentalProperties["android.experimental.enableScreenshotTest"] = true } +aboutLibraries.gitHubApiToken = providers.environmentVariable("GITHUB_TOKEN").orNull + baselineProfile { mergeIntoMain = true saveInSrc = true