diff --git a/.github/workflows/github_actions.yml b/.github/workflows/github_actions.yml index 7365335cc..adf29abbf 100644 --- a/.github/workflows/github_actions.yml +++ b/.github/workflows/github_actions.yml @@ -1,17 +1,10 @@ name: 'BrowserStack Test' on: - pull_request_target: + pull_request: branches: [ master ] -jobs: - approve: - runs-on: ubuntu-latest - - steps: - - name: Approve - run: echo For security reasons, all pull requests need to be approved first before running any automated CI. - +jobs: ubuntu-job: name: 'BrowserStack Test on Ubuntu' runs-on: ubuntu-latest # Can be self-hosted runner also @@ -34,7 +27,7 @@ jobs: local-identifier: random - name: 'Checkout the repository' - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 2