mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-10-15 13:14:05 +00:00
David Lapshin
0dbd5c809c
# Description Made several improvements to workflow files and added a new Typos workflow. _We probably should squash this on merge_ ## Type of change <!-- What type of change does your pull request introduce? Put an `x` in the box that apply. --> - [ ] Bugfix (Change which fixes a issue) - [ ] New feature (Change which adds new functionality) - [x] Enhancement (Change which slightly improves existing code) - [ ] Breaking change (This change will introduce incompatibility with existing functionality) ## Changelog <!-- This is optional, but highly appreciated. --> - Beautified some workflow files - Updated text in Greetings action - Changed `pypi_deps.yml` file name to `pypi-dependencies.yml` - Added new typo checking workflow ## Testing - [x] I have tested my changes and verified that they work as expected <!-- Required, your PR won't be accepted if you don't do this step. --> ### How to test the changes <!-- Optional, it can speed up review process if you provide the information on how to test your changes. --> No information provided. Signed-off-by: tfuxu <73042332+tfuxu@users.noreply.github.com> Co-authored-by: 0xMRTT <0xMRTT@proton.me> Co-authored-by: tfuxu <73042332+tfuxu@users.noreply.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@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
|