chore(workflows): add manual trigger and adjust scheduling rules

This commit is contained in:
Quan 2025-08-04 10:00:18 +08:00
parent 9e6b819eb5
commit 348e8bd40d
3 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,7 @@ name: "自动管理过时的问题和PR"
on: on:
schedule: schedule:
- cron: "0 0 * * 6" - cron: "0 0 * * 6"
workflow_dispatch:
permissions: permissions:
issues: write issues: write
@ -34,5 +35,5 @@ jobs:
close-issue-label: "自动关闭(Close)" close-issue-label: "自动关闭(Close)"
stale-pr-label: "未跟进问题(Stale)" stale-pr-label: "未跟进问题(Stale)"
close-pr-label: "自动关闭(Close)" close-pr-label: "自动关闭(Close)"
exempt-issue-labels: "新功能(feature),功能异常(bug),文档补充(docs),功能优化(enhancement),适合新手(good first issue)," exempt-issue-labels: "功能异常(bug),文档补充(docs),功能优化(enhancement),适合新手(good first issue),"
exempt-pr-labels: "新功能(feature),功能异常(bug),文档补充(docs),功能优化(enhancement),适合新手(good first issue)," exempt-pr-labels: "功能异常(bug),文档补充(docs),功能优化(enhancement),适合新手(good first issue),"

View File

@ -1,5 +1,7 @@
name: 删除 GHCR Untagged 镜像 name: 删除 GHCR Untagged 镜像
on: on:
schedule:
- cron: "0 0 15 * *"
release: release:
types: [ published ] types: [ published ]
workflow_dispatch: workflow_dispatch:

1
.gitignore vendored
View File

@ -3,5 +3,6 @@ __pycache__/
/.venv/ /.venv/
/.ruff_cache/ /.ruff_cache/
/.idea/ /.idea/
/.run/
/Volume/ /Volume/
!/.github/ !/.github/