Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a9e477c authored by Philipp Kewisch's avatar Philipp Kewisch
Browse files

Allow triggering uplifts from GitHub Actions

parent a91ad5af
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
---
name: Uplift Merges
on:
  workflow_dispatch:
    inputs:
      dryRun:
        type: boolean
        description: Dry run
        default: true

jobs:
  uplift:
    name: Uplift
    runs-on: ubuntu-latest
    permissions:
      pull-requests: write
      contents: write
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Run uplift script
        env:
          GH_TOKEN: ${{ github.token }}
          DRYRUN: ${{ inputs.dryRun && '' || '--no-dry-run' }}
          BRANCH: ${{ github.ref_name }}
        run: |
          bash scripts/uplift-merges.sh $DRYRUN --$BRANCH
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ fi

# Default values
dry_run=true
repo="thunderbird/thunderbird-android"
repo=${GITHUB_REPOSITORY:-thunderbird/thunderbird-android}
label="task: uplift to beta"
branch="beta"