Skip to content

Commit fa405ee

Browse files
committed
Add Security Scans
1 parent 38769e0 commit fa405ee

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/security.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Security
2+
3+
permissions:
4+
contents: write # Needed by both CodeQL and dependency review
5+
pull-requests: write # Needed by dependency review
6+
statuses: write # Needed by dependency review (to post checks)
7+
security-events: write # Needed by CodeQL to upload SARIF
8+
packages: read # Needed by CodeQL for private/internal packs
9+
actions: read # Needed by CodeQL to access internal actions
10+
11+
on:
12+
pull_request:
13+
branches: [ main ]
14+
push:
15+
branches: [ main ]
16+
workflow_dispatch:
17+
18+
jobs:
19+
code-scanning:
20+
uses: braintree/security-workflows/.github/workflows/codeql-ios.yml@validationInputs
21+
with:
22+
project: PopupBridge.xcodeproj
23+
workspace: PopupBridge.xcworkspace
24+
scheme: Demo
25+
26+
dependency-review:
27+
uses: braintree/security-workflows/.github/workflows/dependency-review.yml@main

0 commit comments

Comments
 (0)