Skip to content

Commit 2bbcbd0

Browse files
authored
Add code scans (#1367)
* Add Dep Review * Add code scanning workflows * Update security.yml * Add Dep Review * Add code scanning workflows * Add permissions to workflow * Add proper permissions * Update to stable version on main
1 parent 6b8c728 commit 2bbcbd0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/security.yml

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

0 commit comments

Comments
 (0)