Skip to content

Commit

Permalink
chore(build): ensure AboutLibraries tasks avoid rate limits
Browse files Browse the repository at this point in the history
  • Loading branch information
msfjarvis committed Jan 3, 2025
1 parent b20b087 commit 28720b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ extensions.configure<ApplicationExtension> {
experimentalProperties["android.experimental.enableScreenshotTest"] = true
}

aboutLibraries.gitHubApiToken = providers.environmentVariable("GITHUB_TOKEN").orNull

baselineProfile {
mergeIntoMain = true
saveInSrc = true
Expand Down

0 comments on commit 28720b0

Please sign in to comment.