mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-09-30 07:27:53 +00:00
dfa091b5b1
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
# 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: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
schedule:
|
|
- cron: '34 17 * * 1'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
pysa:
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
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
|