Add Security Scans #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Security | |
permissions: | |
contents: write # Needed by both CodeQL and dependency review | |
pull-requests: write # Needed by dependency review | |
statuses: write # Needed by dependency review (to post checks) | |
security-events: write # Needed by CodeQL to upload SARIF | |
packages: read # Needed by CodeQL for private/internal packs | |
actions: read # Needed by CodeQL to access internal actions | |
on: | |
pull_request: | |
branches: [ main ] | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
code-scanning: | |
uses: braintree/security-workflows/.github/workflows/codeql-ios.yml@main | |
with: | |
project: PopupBridge.xcodeproj | |
workspace: PopupBridge.xcworkspace | |
scheme: Demo | |
dependency-review: | |
uses: braintree/security-workflows/.github/workflows/dependency-review.yml@main |