Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

追加: 非アクティブ issue へ自動的にコメント #1220

Merged
merged 7 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/test-issue-freshness.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Github Issue が停滞状態になっていないか確認する

name: "Test issue freshness"
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
inputs:
dryrun:
type: boolean
required: true
description: "ドライランする"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: <Test> Notify inactive 必要性議論 issues
uses: actions/stale@v9
with:
# on.schedule で起動した場合は `inputs.dryrun == null` であるため `debug-only: false` となる
debug-only: ${{ inputs.dryrun == 'true' }}
any-of-labels: "状態:必要性議論"
days-before-stale: 30
days-before-close: -1
stale-issue-message: "本 Issue は直近 30 日間で活動がありません。今後の方針について VOICEVOX チームによる再検討がおこなわれる予定です。"
stale-issue-label: "非アクティブ"

- name: <Test> Notify inactive 設計/実装者募集/実装 issues
uses: actions/stale@v9
with:
# on.schedule で起動した場合は `inputs.dryrun == null` であるため `debug-only: false` となる
debug-only: ${{ inputs.dryrun == 'true' }}
any-of-labels: "状態:設計,状態:実装者募集,状態:実装"
days-before-stale: 180
days-before-close: -1
stale-issue-message: "本 Issue は直近 180 日間で活動がありません。今後の方針について VOICEVOX チームによる再検討がおこなわれる予定です。"
stale-issue-label: "非アクティブ"
6 changes: 3 additions & 3 deletions .github/workflows/test-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ name: test-security

on:
schedule:
- cron: '00 04 15 * *' # 毎月15日 13:00 JST
- cron: "00 04 15 * *" # 毎月15日 13:00 JST

env:
PYTHON_VERSION: "3.11.3"

defaults:
run:
shell: bash

jobs:
test-security:
runs-on: ubuntu-20.04
steps:
- name: <Setup> Check out the repository
- name: <Setup> Check out the repository
uses: actions/checkout@v4

- name: <Setup> Set up Python
Expand Down