AppForShare

Every pull request gets its own install link

AppForShare puts the build of each pull request into its own channel, pr-<number>, with a stable install link and QR code in the pull request comment and a GitHub Deployment, and deletes the channel when the pull request closes.

Pro and Team

Reviewing a mobile change means installing it. When every push makes a new install link, reviewers hunt for the newest one in a long comment thread, and old links pile up in the dashboard.

Turn on pr-channel in the GitHub Action and each pull request gets one channel of its own. Every push puts the new build into it, so the link in the comment never changes. When the pull request closes, the channel goes away and the builds follow your normal expiry and clean up.

Example

Pull request #128

  • Channelpr-128, "PR #128: New checkout"
  • AndroidBuild 3.4.0 (212), install link and QR
  • iOSBuild 3.4.0 (212), install link and QR
  • Store readinessReady, 1 note
  • Deploymentappforshare environment, active
Example values.

Made for

  • App teams that review every change on a phone before it merges
  • Product owners and designers who check a change from the pull request on their own phone
  • Agencies that let a client try a branch before it ships

What it ends

  • A new link in the comments on every push
  • Reviewers installing yesterday's build by mistake
  • Dozens of branch channels nobody deletes

How it works

  1. Step 1

    Add two inputs

    In the appforshare/appforshare-action step, set pr-comment: true and pr-channel: true, and give the job pull-requests: write and deployments: write.

  2. Step 2

    Run on pull requests

    Run the workflow on opened, synchronize and reopened. The build goes into the channel pr-<number>, titled "PR #N: title" on the channel page, synced from the pull request on each upload.

  3. Step 3

    Review from the comment

    The comment shows the channel link and QR code with the store readiness result, and a GitHub Deployment in the appforshare environment points at the channel.

  4. Step 4

    Close and it is gone

    Run the workflow on closed too. The Action then deletes the channel, uploads nothing and marks the deployments inactive. The builds stay.

Outside your normal channels

Pull request channels do not count toward the channels of the app. Each plan keeps a number of open pull request channels (see the pricing page); at the cap, the pull request channel with the oldest build is deleted first.

The same flow runs on Codemagic, which passes the pull request number to the CLI. Pull requests from forks get a read only token and no secrets, so nothing is uploaded there.

From the CLI and AI tools

npx appforshare upload --pr-channel does the same outside the Action. appforshare channel list shows the channels of an app with their links and current builds, and appforshare channel delete --pr <n> --yes removes a pull request's channels by hand. The MCP tool list_channels lets your AI assistant read them.

Good to know

Questions

What happens to the builds when the pull request closes?
They stay and follow your normal expiry and automatic clean up. Only the channel is deleted.
Do pull request channels use up my channels?
No. They are counted on their own, with a cap per plan shown on the pricing page.
Which plan do I need?
Pro or Team.

Read next

Try it on your own app

Free account in a minute. Pro starts with a 7 day free trial.

More features