-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add: 非アクティブ issue へコメントする actions を追加 * refactor: GitHub Actions 一致表現を統一 Co-authored-by: Hiroshiba <[email protected]> * refactor: GitHub Actions 一致表現を統一 Co-authored-by: Hiroshiba <[email protected]> * fix: PR 鮮度管理を削除 * fix: `状態:バグ` の鮮度チェックを有効化 * fix: 鮮度チェック対象をファイル名に明示 * 調整 --------- Co-authored-by: Hiroshiba <[email protected]>
- Loading branch information
Showing
2 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: "非アクティブ" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters