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

Change Setting #4

Closed
223n opened this issue Oct 10, 2018 · 0 comments
Closed

Change Setting #4

223n opened this issue Oct 10, 2018 · 0 comments
Assignees
Labels
good first issue 良い最初の質問 Priority: High 優先度: 高 Type: Breaking Change 種類: 破壊的変更 Type: Feature 種類: 新機能

Comments

@223n
Copy link
Owner

223n commented Oct 10, 2018

内容

設定ファイルの構成を以下のようにしてみてはどうか?

targets:
  - name: (分かりやすい名称)
    endpoint: (調べるURL)
    threshold: (slackに通知する残日数)
  - name: (分かりやすい名称)
    endpoint: (調べるURL)
    threshold: (slackに通知する残日数)
    # Slackの通知先を上書き
    hook_url: (slackの Incomming WebHooks で発行した Webhook URL)
    channel: (チャンネル)
    username: (slackの通知で表示するユーザ名)
    icon: (アイコン)

slack:
  hook_url: (slackの Incomming WebHooks で発行した Webhook URL)
  channel: (チャンネル)
  username: (slackの通知で表示するユーザ名)
  icon: (アイコン)

理由

デフォルトのSlack通知先を1つ設定した後、必要に応じて上書きする運用が可能になる。

@223n 223n added Priority: High 優先度: 高 Status: In Progress 状況: 進行中 Type: Breaking Change 種類: 破壊的変更 Type: Feature 種類: 新機能 good first issue 良い最初の質問 labels Oct 10, 2018
@223n 223n self-assigned this Oct 10, 2018
@223n 223n removed the Status: In Progress 状況: 進行中 label Oct 10, 2018
@223n 223n closed this as completed Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue 良い最初の質問 Priority: High 優先度: 高 Type: Breaking Change 種類: 破壊的変更 Type: Feature 種類: 新機能
Projects
None yet
Development

No branches or pull requests

1 participant