Update .github stuff

This commit is contained in:
2024-12-22 05:05:03 +01:00
parent d8b619e093
commit 9619167d09
4 changed files with 29 additions and 2 deletions

11
.github/SECURITY.md vendored Normal file
View File

@ -0,0 +1,11 @@
# Reporting a Vulnerability
tl;dr: [open a draft security advisory](https://github.com/TheLovinator1/anewdawn/security/advisories/new).
---
You can also email me at [tlovinator@gmail.com](mailto:tlovinator@gmail.com).
I am also available on Discord at `TheLovinator#9276`.
Thanks :-)

View File

@ -8,4 +8,4 @@
"dependencyDashboard": false,
"osvVulnerabilityAlerts": true,
"timezone": "Europe/Stockholm"
}
}

View File

@ -7,7 +7,7 @@ on:
schedule:
- cron: "0 0 * * *"
jobs:
build:
docker:
runs-on: ubuntu-latest
permissions:
contents: read

16
.github/workflows/ruff.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Ruff
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # Run every day at midnight
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- run: uv sync --all-extras --dev
- run: uv run pytest -vv