Skip to content

Commit 032ab14

Browse files
authored
ci: changed pull_request_target to pull_request and removed the authorize step (#796)
# ci: changed pull_request_target to pull_request and removed the authorize step ### Checklist - [ ] All active GitHub checks for tests, formatting, and security are passing - [ ] The correct base branch is being used, if not the default branch
1 parent 4a76db3 commit 032ab14

File tree

4 files changed

+4
-37
lines changed

4 files changed

+4
-37
lines changed

.github/workflows/browserstack.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Browserstack
33
on:
44
merge_group:
55
workflow_dispatch:
6-
pull_request_target:
6+
pull_request:
77
types:
88
- opened
99
- synchronize
@@ -22,15 +22,8 @@ env:
2222
NODE_VERSION: 18
2323

2424
jobs:
25-
authorize:
26-
name: Authorize
27-
environment: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
28-
runs-on: ubuntu-latest
29-
steps:
30-
- run: true
3125

3226
browserstack:
33-
needs: authorize # Require approval before running on forked pull requests
3427

3528
name: BrowserStack Tests
3629
runs-on: ubuntu-latest

.github/workflows/integration.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Integration Tests
33
on:
44
merge_group:
55
workflow_dispatch:
6-
pull_request_target:
6+
pull_request:
77
types:
88
- opened
99
- synchronize
@@ -22,16 +22,7 @@ env:
2222
NODE_VERSION: 18
2323

2424
jobs:
25-
26-
authorize:
27-
name: Authorize
28-
environment: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
29-
runs-on: ubuntu-latest
30-
steps:
31-
- run: true
32-
3325
test-examples:
34-
needs: authorize # Require approval before running on forked pull requests
3526
name: Run example tests
3627
runs-on: ubuntu-latest
3728

.github/workflows/semgrep.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Semgrep
22

33
on:
44
merge_group:
5-
pull_request_target:
5+
pull_request:
66
types:
77
- opened
88
- synchronize
@@ -21,16 +21,7 @@ concurrency:
2121
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
2222

2323
jobs:
24-
authorize:
25-
name: Authorize
26-
environment: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
27-
runs-on: ubuntu-latest
28-
steps:
29-
- run: true
30-
3124
run:
32-
needs: authorize # Require approval before running on forked pull requests
33-
3425
name: Check for Vulnerabilities
3526
runs-on: ubuntu-latest
3627

.github/workflows/snyk.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Snyk
33
on:
44
merge_group:
55
workflow_dispatch:
6-
pull_request_target:
6+
pull_request:
77
types:
88
- opened
99
- synchronize
@@ -22,15 +22,7 @@ concurrency:
2222
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
2323

2424
jobs:
25-
authorize:
26-
name: Authorize
27-
environment: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
28-
runs-on: ubuntu-latest
29-
steps:
30-
- run: true
31-
3225
check:
33-
needs: authorize
3426

3527
name: Check for Vulnerabilities
3628
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)