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
Changes from 6 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
35 changes: 35 additions & 0 deletions .github/workflows/test-issue-freshness.yml
Hiroshiba marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'Test issue freshness'
Hiroshiba marked this conversation as resolved.
Show resolved Hide resolved
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: '非アクティブ'