diff --git a/.github/workflows/build-mobile.yml b/.github/workflows/build-mobile.yml index bfbc7bd2e2..13e6e59d71 100644 --- a/.github/workflows/build-mobile.yml +++ b/.github/workflows/build-mobile.yml @@ -159,14 +159,14 @@ jobs: - name: Comment APK download link on PR if: ${{ github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork }} - uses: mshick/add-pr-comment@8e4927817251f1ff60c001f04568532b38e0b4a0 # v3.11.0 + uses: immich-app/devtools/actions/sticky-comment@0135acd12ad9f3369b94a2aa3c0ae8c835a4e926 # sticky-comment-action-v1.0.0 env: HEAD_SHA: ${{ github.event.pull_request.head.sha }} APK_URL: ${{ steps.upload-apk.outputs.artifact-url }} with: - github-token: ${{ steps.token.outputs.token }} - message-id: 'mobile-android-apk' - message: | + id: mobile-android-apk + token: ${{ steps.token.outputs.token }} + body: | 📱 **Android release APK (universal)** — `${{ env.HEAD_SHA }}` Download: ${{ env.APK_URL }} diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index 083fa009eb..0590afffa3 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -213,12 +213,11 @@ jobs: run: 'mise run //deployment:tf apply' - name: Comment - uses: actions-cool/maintain-one-comment@909842216bc8e8658364c572ec52100f4c2cc50a # v3.3.0 + uses: immich-app/devtools/actions/sticky-comment@0135acd12ad9f3369b94a2aa3c0ae8c835a4e926 # sticky-comment-action-v1.0.0 if: ${{ steps.parameters.outputs.event == 'pr' }} with: + id: docs-pr-url token: ${{ steps.token.outputs.token }} number: ${{ fromJson(needs.checks.outputs.parameters).pr_number }} body: | 📖 Documentation deployed to [${{ steps.docs-output.outputs.subdomain }}](https://${{ steps.docs-output.outputs.subdomain }}) - emojis: 'rocket' - body-include: '' diff --git a/.github/workflows/docs-destroy.yml b/.github/workflows/docs-destroy.yml index 4186438d43..044eadaa4f 100644 --- a/.github/workflows/docs-destroy.yml +++ b/.github/workflows/docs-destroy.yml @@ -44,9 +44,8 @@ jobs: run: 'mise run //deployment:tf destroy -- -refresh=false' - name: Comment - uses: actions-cool/maintain-one-comment@909842216bc8e8658364c572ec52100f4c2cc50a # v3.3.0 + uses: immich-app/devtools/actions/sticky-comment@0135acd12ad9f3369b94a2aa3c0ae8c835a4e926 # sticky-comment-action-v1.0.0 with: + id: docs-pr-url token: ${{ steps.token.outputs.token }} - number: ${{ github.event.number }} delete: true - body-include: '' diff --git a/.github/workflows/preview-label.yaml b/.github/workflows/preview-label.yaml index f4a03c3013..94fb9f797c 100644 --- a/.github/workflows/preview-label.yaml +++ b/.github/workflows/preview-label.yaml @@ -19,11 +19,11 @@ jobs: client-id: ${{ secrets.PUSH_O_MATIC_APP_CLIENT_ID }} private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }} - - uses: mshick/add-pr-comment@8e4927817251f1ff60c001f04568532b38e0b4a0 # v3.11.0 + - uses: immich-app/devtools/actions/sticky-comment@0135acd12ad9f3369b94a2aa3c0ae8c835a4e926 # sticky-comment-action-v1.0.0 with: - github-token: ${{ steps.token.outputs.token }} - message-id: 'preview-status' - message: 'Deploying preview environment to https://pr-${{ github.event.pull_request.number }}.preview.internal.immich.build/' + id: preview-status + token: ${{ steps.token.outputs.token }} + body: 'Deploying preview environment to https://pr-${{ github.event.pull_request.number }}.preview.internal.immich.build/' remove-label: runs-on: ubuntu-latest @@ -48,16 +48,16 @@ jobs: name: 'preview' }) - - uses: mshick/add-pr-comment@8e4927817251f1ff60c001f04568532b38e0b4a0 # v3.11.0 + - uses: immich-app/devtools/actions/sticky-comment@0135acd12ad9f3369b94a2aa3c0ae8c835a4e926 # sticky-comment-action-v1.0.0 if: ${{ github.event.pull_request.head.repo.fork }} with: - github-token: ${{ steps.token.outputs.token }} - message-id: 'preview-status' - message: 'PRs from forks cannot have preview environments.' + id: preview-status + token: ${{ steps.token.outputs.token }} + body: 'PRs from forks cannot have preview environments.' - - uses: mshick/add-pr-comment@8e4927817251f1ff60c001f04568532b38e0b4a0 # v3.11.0 + - uses: immich-app/devtools/actions/sticky-comment@0135acd12ad9f3369b94a2aa3c0ae8c835a4e926 # sticky-comment-action-v1.0.0 if: ${{ !github.event.pull_request.head.repo.fork }} with: - github-token: ${{ steps.token.outputs.token }} - message-id: 'preview-status' - message: 'Preview environment has been removed.' + id: preview-status + token: ${{ steps.token.outputs.token }} + body: 'Preview environment has been removed.' diff --git a/mobile/android/app/build.gradle b/mobile/android/app/build.gradle index 7e3d67fa81..1f22eeaf52 100644 --- a/mobile/android/app/build.gradle +++ b/mobile/android/app/build.gradle @@ -89,6 +89,13 @@ flutter { } dependencies { + constraints { + implementation("androidx.glance:glance-appwidget") { + version { strictly libs.versions.glance.get() } + because 'home_widget requests 1.+ which can resolve to pre-releases incompatible with our compileSdk/AGP' + } + } + implementation libs.okhttp implementation libs.cronet.embedded implementation libs.media3.datasource.okhttp