Skip to content
book-open

GitHub Action

Heroku Review Application

v1.2.3 Latest version

Heroku Review Application

book-open

Heroku Review Application

Create a Heroku review app when a PR is raised by someone with write or admin access

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Heroku Review Application

uses: mheap/github-action-pr-heroku-review-app@v1.2.3

Learn more about this action in mheap/github-action-pr-heroku-review-app

Choose a version

Heroku Review Application

Create a Heroku review app when a PR is raised by someone with write or admin access

Usage

name: Heroku Review Application
on:
  pull_request:
    types: [opened, reopened, synchronize, labeled, closed]
  pull_request_target:
    types: [opened, reopened, synchronize, labeled, closed]

jobs:
  heroku-review-application:
    name: Heroku Review Application
    runs-on: ubuntu-latest
    steps:
      - name: Heroku Review Application
        uses: mheap/github-action-pr-heroku-review-app@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Available Configuration

Environment Variables

Name Description
GITHUB_TOKEN The GitHub auth token, used to authenticate API requests. Use the value provided in ${{ secrets.GITHUB_TOKEN }}
HEROKU_API_TOKEN The API key used to communicate with Heroku
HEROKU_PIPELINE_ID The Heroku pipeline to trigger a review app in