From 348e8bd40dc95ef5c796989fb98621e3d9539b79 Mon Sep 17 00:00:00 2001 From: Quan Date: Mon, 4 Aug 2025 10:00:18 +0800 Subject: [PATCH] chore(workflows): add manual trigger and adjust scheduling rules --- .github/workflows/Close_Stale_Issues_and_PRs.yaml | 5 +++-- .github/workflows/Delete_untagged_images.yml | 2 ++ .gitignore | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Close_Stale_Issues_and_PRs.yaml b/.github/workflows/Close_Stale_Issues_and_PRs.yaml index 9d8b244..2f2105e 100644 --- a/.github/workflows/Close_Stale_Issues_and_PRs.yaml +++ b/.github/workflows/Close_Stale_Issues_and_PRs.yaml @@ -2,6 +2,7 @@ name: "自动管理过时的问题和PR" on: schedule: - cron: "0 0 * * 6" + workflow_dispatch: permissions: issues: write @@ -34,5 +35,5 @@ jobs: close-issue-label: "自动关闭(Close)" stale-pr-label: "未跟进问题(Stale)" close-pr-label: "自动关闭(Close)" - exempt-issue-labels: "新功能(feature),功能异常(bug),文档补充(docs),功能优化(enhancement),适合新手(good first issue)," - exempt-pr-labels: "新功能(feature),功能异常(bug),文档补充(docs),功能优化(enhancement),适合新手(good first issue)," + exempt-issue-labels: "功能异常(bug),文档补充(docs),功能优化(enhancement),适合新手(good first issue)," + exempt-pr-labels: "功能异常(bug),文档补充(docs),功能优化(enhancement),适合新手(good first issue)," diff --git a/.github/workflows/Delete_untagged_images.yml b/.github/workflows/Delete_untagged_images.yml index 80bf159..8a5f61d 100644 --- a/.github/workflows/Delete_untagged_images.yml +++ b/.github/workflows/Delete_untagged_images.yml @@ -1,5 +1,7 @@ name: 删除 GHCR Untagged 镜像 on: + schedule: + - cron: "0 0 15 * *" release: types: [ published ] workflow_dispatch: diff --git a/.gitignore b/.gitignore index 18f7df1..a23728d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,6 @@ __pycache__/ /.venv/ /.ruff_cache/ /.idea/ +/.run/ /Volume/ !/.github/