diff --git a/.github/workflows/review-app.yml b/.github/workflows/review-app.yml index 1b0c3078..55a9d650 100644 --- a/.github/workflows/review-app.yml +++ b/.github/workflows/review-app.yml @@ -2,12 +2,13 @@ name: Review app on pull request +on: + pull_request: + branches: main + env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }} -on: - pull_request: - branches: ${{ env.BRANCH_NAME }} env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }}