1
0
mirror of synced 2026-01-08 12:01:53 -05:00

Merge pull request #50943 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot
2024-05-31 17:36:10 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -175,7 +175,7 @@ header=$( echo -n "${header_json}" | b64enc )
payload_json='{
"iat":'"${iat}"',
"exp":'"${exp}"',
{% ifversion client-id-for-app %}"iss":'"${client_id}"'{% else %}"iss":'"${client_id}"'{% endif %}
{% ifversion client-id-for-app %}"iss":'"${client_id}"'{% else %}"iss":'"${app_id}"'{% endif %}
}'
# Payload encode
payload=$( echo -n "${payload_json}" | b64enc )

View File

@@ -31,7 +31,7 @@ You can register a {% data variables.product.prodname_github_app %} under your p
{% data reusables.user-settings.developer_settings %}
{% data reusables.user-settings.github_apps %}
1. Click **New GitHub App**.
1. Under "GitHub App name", enter a name for your app. You should choose a clear and short name. Your app's name (converted to lowercase, with spaces replaced by `-`, and with special characters replaced) will be shown in the user interface when your app takes an action. For example, `My APp Näme` would display as `my-app-name`.
1. Under "GitHub App name", enter a name for your app. You should choose a clear and short name. The name cannot be longer than 34 characters. Your app's name (converted to lowercase, with spaces replaced by `-`, and with special characters replaced) will be shown in the user interface when your app takes an action. For example, `My APp Näme` would display as `my-app-name`.
The name must be unique across {% data variables.product.company_short %}. You cannot use same name as an existing GitHub account, unless it is your own user or organization name.