Skip to main content
ドキュメントには� �繁に更新が� えられ、その都度公開されています。本ページの翻訳はま� 未完成な部分があることをご了承く� さい。最新の情� �については、英語のドキュメンテーションをご参照く� さい。本ページの翻訳に問題がある� �合はこちらまでご連絡く� さい。

このバージョンの GitHub Enterprise はこの日付をもって終了となりました: 2022-06-03. 重大なセキュリティの問題に対してであっても、パッチリリースは作成されません。 パフォーマンスの向上、セキュリティの改善、新機能のためには、最新バージョンのGitHub Enterpriseにアップグレードしてく� さい。 アップグレードに関する支援については、GitHub Enterprise supportに連絡してく� さい。

Customizing user messages for your enterprise

You can create custom messages that users will see on GitHub Enterprise Serverインスタンス.

About user messages

There are several types of user messages.

  • Messages that appear on the sign in or sign out page
  • Mandatory messages, which appear once in a pop-up window that must be dismissed
  • Announcement banners, which appear at the top of every page

Note: If you are using SAML for authentication, the sign in page is presented by your identity provider and is not customizable via GitHub Enterprise Server.

You can use Markdown to format your message. For more information, see "About writing and formatting on GitHub."

Creating a custom sign in message

  1. GitHub Enterprise Serverの右上で、プロフィール写真をクリックし、続いてEnterprise settings(Enterpriseの設定)をクリックしてく� さい。 GitHub Enterprise Serverのプロフィール写真のドロップダウンメニュー内の"Enterprise settings"

  2. Enterpriseアカウントのサイドバーで、 Settings(設定)をクリックしてく� さい。 Enterpriseアカウントサイドバー内の設定タブ

  3. Under Settings, click Messages. Messages tab in the enterprise settings sidebar

  4. To the right of "Sign in page", click Add message or Edit message. Add message button

  5. Under Sign in message, type the message you'd like users to see. Sign in message

  6. あるいは、 Preview(プレビュー)をクリックしてメッセージをプレビューしてく� さい。 プレビューメッセージボタン

  7. [Save changes] をクリックします。 [Edit message] ボタン

Creating a custom sign out message

  1. GitHub Enterprise Serverの右上で、プロフィール写真をクリックし、続いてEnterprise settings(Enterpriseの設定)をクリックしてく� さい。 GitHub Enterprise Serverのプロフィール写真のドロップダウンメニュー内の"Enterprise settings"

  2. Enterpriseアカウントのサイドバーで、 Settings(設定)をクリックしてく� さい。 Enterpriseアカウントサイドバー内の設定タブ

  3. Under Settings, click Messages. Messages tab in the enterprise settings sidebar

  4. To the right of "Sign out page", click Add message or Edit message. Add message button

  5. Under Sign out message, type the message you'd like users to see. Sign two_factor_auth_header message

  6. あるいは、 Preview(プレビュー)をクリックしてメッセージをプレビューしてく� さい。 プレビューメッセージボタン

  7. [Save changes] をクリックします。 [Edit message] ボタン

Creating a mandatory message

You can create a mandatory message that GitHub Enterprise Server will show to all users the first time they sign in after you save the message. The message appears in a pop-up window that the user must dismiss before the user can use GitHub Enterprise Serverインスタンス.

Mandatory messages have a variety of uses.

  • Providing onboarding information for new employees
  • Telling users how to get help with GitHub Enterprise Serverインスタンス
  • Ensuring that all users read your terms of service for using GitHub Enterprise Serverインスタンス

If you include Markdown checkboxes in the message, all checkboxes must be selected before the user can dismiss the message. For example, if you include your terms of service in the mandatory message, you can require that each user selects a checkbox to confirm the user has read the terms.

Each time a user sees a mandatory message, an audit log event is created. The event includes the version of the message that the user saw. For more information see "Audit log events for your enterprise."

Note: If you change the mandatory message for GitHub Enterprise Serverインスタンス, users who have already acknowledged the message will not see the new message.

  1. GitHub Enterprise Serverの右上で、プロフィール写真をクリックし、続いてEnterprise settings(Enterpriseの設定)をクリックしてく� さい。 GitHub Enterprise Serverのプロフィール写真のドロップダウンメニュー内の"Enterprise settings"

  2. Enterpriseアカウントのサイドバーで、 Settings(設定)をクリックしてく� さい。 Enterpriseアカウントサイドバー内の設定タブ

  3. Under Settings, click Messages. Messages tab in the enterprise settings sidebar

  4. To the right of "Mandatory message", click Add message. Add mandatory message button

  5. Under "Mandatory message", in the text box, type your message. Mandatory message text box

  6. あるいは、 Preview(プレビュー)をクリックしてメッセージをプレビューしてく� さい。 プレビューメッセージボタン

  7. [Save changes] をクリックします。 [Edit message] ボタン

Creating a global announcement banner

You can set a global announcement banner to be displayed to all users at the top of every page.

You can also set an announcement banner in the administrative shell using a command line utility or using the API. For more information, see "Command-line utilities" and "GitHub Enterprise administration."

  1. GitHub Enterprise Serverの右上で、プロフィール写真をクリックし、続いてEnterprise settings(Enterpriseの設定)をクリックしてく� さい。 GitHub Enterprise Serverのプロフィール写真のドロップダウンメニュー内の"Enterprise settings"

  2. Enterpriseアカウントのサイドバーで、 Settings(設定)をクリックしてく� さい。 Enterpriseアカウントサイドバー内の設定タブ

  3. Under Settings, click Messages. Messages tab in the enterprise settings sidebar

  4. To the right of "Announcement", click Add announcement. Add announcement button

  5. Under "Announcement", in the text field, type the announcement you want displayed in a banner. Text field to enter announcement

  6. Optionally, under "Expires on", select the calendar drop-down menu and click an expiration date. Calendar drop-down menu to choose expiration date

  7. あるいは、 Preview(プレビュー)をクリックしてメッセージをプレビューしてく� さい。 プレビューメッセージボタン

  8. [Save changes] をクリックします。 [Edit message] ボタン