Skip to content

Commit

Permalink
Test gh workflow without approval
Browse files Browse the repository at this point in the history
  • Loading branch information
zinduolis committed Nov 8, 2024
1 parent 4648d9a commit 5d7f637
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/github_actions.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5d7f637

Please sign in to comment.