diff --git a/.github/workflows/github_actions.yml b/.github/workflows/github_actions.yml index 4d32f1602..7365335cc 100644 --- a/.github/workflows/github_actions.yml +++ b/.github/workflows/github_actions.yml @@ -1,7 +1,7 @@ name: 'BrowserStack Test' on: - pull_request: + pull_request_target: branches: [ master ] jobs: @@ -34,7 +34,7 @@ jobs: local-identifier: random - name: 'Checkout the repository' - uses: actions/checkout@v4 + uses: actions/checkout@v2 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 2