From e394f2e15fa2cffe719cb16d2aa4e63ed85974f1 Mon Sep 17 00:00:00 2001 From: zinduolis Date: Mon, 1 Sep 2025 21:30:58 +1000 Subject: [PATCH] Update checkout action --- .github/workflows/github_actions.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/github_actions.yml b/.github/workflows/github_actions.yml index adf29abbf..bee7787b5 100644 --- a/.github/workflows/github_actions.yml +++ b/.github/workflows/github_actions.yml @@ -1,13 +1,13 @@ name: 'BrowserStack Test' on: - pull_request: + pull_request_target: branches: [ master ] jobs: ubuntu-job: name: 'BrowserStack Test on Ubuntu' - runs-on: ubuntu-latest # Can be self-hosted runner also + runs-on: ubuntu-latest environment: name: Integrate Pull Request env: @@ -28,9 +28,6 @@ jobs: - name: 'Checkout the repository' uses: actions/checkout@v4 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 2 - name: 'Setting up Ruby' uses: ruby/setup-ruby@v1