From 5c79604fc669d9ebf7dd8d1bcd47c1d71ebcad2f Mon Sep 17 00:00:00 2001 From: Alexandre Teles Date: Thu, 17 Nov 2022 03:22:25 -0300 Subject: [PATCH] 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 --- .github/workflows/mypy.yml | 26 ++++++++++++++++++++++++++ SECURITY.md | 11 +++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .github/workflows/mypy.yml create mode 100644 SECURITY.md diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml new file mode 100644 index 0000000..7325444 --- /dev/null +++ b/.github/workflows/mypy.yml @@ -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 }} diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..a96b0b4 --- /dev/null +++ b/SECURITY.md @@ -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.