feat(ui): add foldable device support with auto split-screen #172
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: dependabot PR - Update dependency guard | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| branches: | |
| - main | |
| paths: | |
| - '**/*.gradle' | |
| - 'gradle/**' | |
| - 'gradlew' | |
| - '**/libs.versions.toml' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.pull_request.number || 'no-pr' }} | |
| cancel-in-progress: true | |
| jobs: | |
| update-dependency-guard: | |
| if: github.actor == 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == 'thunderbird/thunderbird-android' | |
| runs-on: ubuntu-latest | |
| environment: botmobile | |
| timeout-minutes: 90 | |
| steps: | |
| - name: App Token Generate | |
| uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1 | |
| if: ${{ vars.BOT_CLIENT_ID }} | |
| id: app-token | |
| with: | |
| app-id: ${{ vars.BOT_CLIENT_ID }} | |
| private-key: ${{ secrets.BOT_PRIVATE_KEY }} | |
| - name: Checkout the repo | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| token: ${{ steps.app-token.outputs.token || github.token }} | |
| - name: Setup Gradle environment | |
| uses: ./.github/actions/setup-gradle | |
| - name: Update dependency guard | |
| run: ./gradlew dependencyGuardBaseline | |
| - name: Commit and push changes if any | |
| env: | |
| APP_SLUG: ${{ steps.app-token.outputs.app-slug || 'github-actions'}} | |
| APP_USER_ID: ${{ vars.BOT_USER_ID || '41898282' }} | |
| run: | | |
| set -x | |
| git config --global user.name "${APP_SLUG}" | |
| git config --global user.email "${APP_USER_ID}+${APP_SLUG}[bot]@users.noreply.github.com" | |
| git add . | |
| if ! git diff --cached --quiet; then | |
| git config user.name | |
| git config user.email | |
| git status | |
| git commit -m "chore(deps): Update dependency guard files on behalf of @dependabot" | |
| git log -n 2 | |
| git push | |
| else | |
| echo "No changes to commit" | |
| fi | |
| set +x |