refactor: update mypy workflow

Conflicts:
	.github/workflows/mypy.yml

Date:      Thu Nov 17 03:22:25 2022 -0300

Changes to be committed:
	new file:   .github/workflows/mypy.yml
	new file:   SECURITY.md
This commit is contained in:
Alexandre Teles 2022-11-17 03:22:25 -03:00
parent 641bf689a4
commit 5c79604fc6
2 changed files with 37 additions and 0 deletions

26
.github/workflows/mypy.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: MyPy Type Checking
on:
push:
paths:
- '*.py'
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.10.8
architecture: x64
- name: Checkout
uses: actions/checkout@v1
- name: Install mypy
run: pip install mypy
- name: Run mypy
uses: sasanquaneuf/mypy-github-action@releases/v1
with:
checkName: 'mypy'
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

11
SECURITY.md Normal file
View File

@ -0,0 +1,11 @@
# Security Policy
## Supported Tags
| Tag | ReVanced Version |
| ------- | ------------------ |
| latest | latest upstream |
## Reporting a Vulnerability
To report a vulnerability, please open an Issue in our issue tracker here on GitHub.