From a5551e7047754a32260e3aeb4b963482e0569621 Mon Sep 17 00:00:00 2001 From: Marco D'Aleo Date: Sun, 21 Dec 2025 08:46:30 +0000 Subject: [PATCH] Add gitea workflow and CODEOWNERS --- .gitea/CODEOWNERS | 1 + .gitea/workflows/lint-and-security.yml | 29 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .gitea/CODEOWNERS create mode 100644 .gitea/workflows/lint-and-security.yml diff --git a/.gitea/CODEOWNERS b/.gitea/CODEOWNERS new file mode 100644 index 0000000..c40bdfb --- /dev/null +++ b/.gitea/CODEOWNERS @@ -0,0 +1 @@ +* @mdaleo404 diff --git a/.gitea/workflows/lint-and-security.yml b/.gitea/workflows/lint-and-security.yml new file mode 100644 index 0000000..b74bef1 --- /dev/null +++ b/.gitea/workflows/lint-and-security.yml @@ -0,0 +1,29 @@ +name: Lint & Security + +on: + pull_request: + +jobs: + precommit-and-security: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.13" + + - name: Install pre-commit + run: pip install pre-commit + + - name: Run pre-commit hooks + run: pre-commit run --all-files --color always + + - name: Install pip-audit + run: pip install pip-audit + + - name: Run pip-audit + run: pip-audit