Skip to content

Commit e2e099c

Browse files
authored
Changed pull_request_target to pull_request and removed the authorize… (#660)
1 parent 02b0a15 commit e2e099c

3 files changed

Lines changed: 3 additions & 19 deletions

File tree

.github/workflows/semgrep.yml

Lines changed: 1 addition & 9 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
@@ -20,16 +20,8 @@ concurrency:
2020
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
2121

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

3024
run:
31-
needs: authorize # Require approval before running on forked pull requests
32-
3325
name: Check for Vulnerabilities
3426
runs-on: ubuntu-latest
3527

.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
@@ -21,16 +21,8 @@ concurrency:
2121
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
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
3024

3125
check:
32-
needs: authorize
33-
3426
name: Check for Vulnerabilities
3527
runs-on: ubuntu-latest
3628

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ dependencies {
8585
implementation "com.squareup.okio:okio:3.5.0"
8686

8787
implementation "com.squareup.okhttp3:logging-interceptor:${okhttpVersion}"
88-
implementation "com.fasterxml.jackson.core:jackson-databind:2.14.2"
88+
implementation "com.fasterxml.jackson.core:jackson-databind:2.15.0"
8989
implementation "com.auth0:java-jwt:4.4.0"
9090
implementation "net.jodah:failsafe:2.4.4"
9191

0 commit comments

Comments
 (0)