Skip to content

Update pysa.yml

Update pysa.yml #106

Workflow file for this run

# 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: '18 12 * * 5'
permissions:
contents: read
jobs:
pysa:
permissions:
actions: read
contents: read
security-events: write
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
python-version: '3.11'
- name: Run Pysa
uses: nick2bad4u/pysa-action@

Check failure on line 44 in .github/workflows/pysa.yml

View workflow run for this annotation

GitHub Actions / Pysa

Invalid workflow file

The workflow is not valid. .github/workflows/pysa.yml (Line: 44, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'nick2bad4u/pysa-action@' Input string was not in a correct format.
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