Skip to content

Commit

Permalink
Chore: Allow create review app label to work with PR's originating fr…
Browse files Browse the repository at this point in the history
…om forks

Because:
* We have to create review apps manually for PR's originating from forks.

This commit:
* Use fork of the manage review apps action with the fork restriction removed.
  • Loading branch information
KevinMulhern committed Jul 24, 2023
1 parent c58b168 commit 69c833c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/heroku-review-app-on-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@ on:
pull_request:
types: [labeled]

permissions:
contents: read

jobs:
create-review-app:
if: ${{ github.event.label.name == 'create-review-app' }}
runs-on: ubuntu-latest

steps:
- uses: fastruby/manage-heroku-review-app@v1.2
- uses: KevinMulhern/manage-heroku-review-app@v2
with:
action: create
env:
Expand All @@ -31,7 +28,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: fastruby/manage-heroku-review-app@v1.2
- uses: KevinMulhern/manage-heroku-review-app@v2
with:
action: destroy
env:
Expand Down

0 comments on commit 69c833c

Please sign in to comment.