feat: spam and nonsense go away

This commit is contained in:
旋律已经死了。
2025-08-05 16:50:46 +08:00
committed by GitHub
parent c0bba763d1
commit 8151bcd8e8

33
.github/workflows/nomore-spam.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: NoMore Spam
on:
issues:
types: [opened]
pull_request:
types: [opened]
permissions:
contents: read
issues: write
pull-requests: write
models: read
actions: write
jobs:
spam-detection:
runs-on: ubuntu-latest
name: NoMore Spam
steps:
- name: Fuck All the Shit
uses: JohnsonRan/nomore-spam@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
retain_days: 0
keep_minimum_runs: 2