Skip to content

Commit

Permalink
add branch name as pull request source
Browse files Browse the repository at this point in the history
  • Loading branch information
juliamrch committed Nov 29, 2023
1 parent 0c44093 commit 27a16cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/review-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

name: Review app on pull request

env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}

on:
pull_request:
branches: [ "main" ]
branches: ${{ env.BRANCH_NAME }}
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}

Expand Down

0 comments on commit 27a16cc

Please sign in to comment.