forked from mandiant/capa
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ҉αkα x⠠⠵ <[email protected]>
- Loading branch information
1 parent
6cdf4e8
commit 61134c2
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
# This workflow integrates Python Static Analyzer (Pysa) with | ||
# GitHub's Code Scanning feature. | ||
# | ||
# Python Static Analyzer (Pysa) is a security-focused static | ||
# analysis tool that tracks flows of data from where they | ||
# originate to where they terminate in a dangerous location. | ||
# | ||
# See https://pyre-check.org/docs/pysa-basics/ | ||
|
||
name: Pysa | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
schedule: | ||
- cron: '24 19 * * 4' | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
pysa: | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
||
- name: Run Pysa | ||
uses: facebook/pysa-action@f46a63777e59268613bd6e2ff4e29f144ca9e88b | ||
with: | ||
# To customize these inputs: | ||
# See https://github.com/facebook/pysa-action#inputs | ||
repo-directory: './' | ||
requirements-path: 'requirements.txt' | ||
infer-types: true | ||
include-default-sapp-filters: true |