mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-05-23 07:07:33 +08:00
Merge pull request #398 from JohnsonRan/noway
feat: spam and nonsense go away
This commit is contained in:
33
.github/workflows/nomore-spam.yml
vendored
Normal file
33
.github/workflows/nomore-spam.yml
vendored
Normal 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
|
||||||
@@ -149,9 +149,9 @@ docker run -d --name moontv -p 3000:3000 --env PASSWORD=your_password ghcr.io/se
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
moontv:
|
moontv-core:
|
||||||
image: ghcr.io/senshinya/moontv:latest
|
image: ghcr.io/senshinya/moontv:latest
|
||||||
container_name: moontv
|
container_name: moontv-core
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- '3000:3000'
|
- '3000:3000'
|
||||||
@@ -168,7 +168,7 @@ services:
|
|||||||
services:
|
services:
|
||||||
moontv-core:
|
moontv-core:
|
||||||
image: ghcr.io/senshinya/moontv:latest
|
image: ghcr.io/senshinya/moontv:latest
|
||||||
container_name: moontv
|
container_name: moontv-core
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- '3000:3000'
|
- '3000:3000'
|
||||||
@@ -186,7 +186,7 @@ services:
|
|||||||
# volumes:
|
# volumes:
|
||||||
# - ./config.json:/app/config.json:ro
|
# - ./config.json:/app/config.json:ro
|
||||||
moontv-redis:
|
moontv-redis:
|
||||||
image: redis
|
image: redis:alpine
|
||||||
container_name: moontv-redis
|
container_name: moontv-redis
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user