diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 5a4bdfc..3d4ee5d 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -29,7 +29,7 @@ jobs: stage: runs-on: ubuntu-latest # Branches that starts with `release/` shouldn't trigger this workflow, as these are triggering the release workflow. - if: github.repository_owner == 'RHEcosystemAppEng' && github.event_name == 'pull_request' && !startsWith(github.head_ref, 'release/') + if: github.repository_owner == 'RHEcosystemAppEng' && github.event_name == 'pull_request_target' && !startsWith(github.head_ref, 'release/') environment: staging name: Stage the project steps: