@@ -18,6 +18,7 @@ children:
|
||||
- /automating-dependabot-with-github-actions
|
||||
- /keeping-your-actions-up-to-date-with-dependabot
|
||||
- /managing-encrypted-secrets-for-dependabot
|
||||
- /configuring-dependabot-to-only-access-private-registries
|
||||
- /troubleshooting-the-detection-of-vulnerable-dependencies
|
||||
- /troubleshooting-dependabot-errors
|
||||
ms.openlocfilehash: efab6caf0c9384c9e72cc5ed1fe64bd500cede45
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
---
|
||||
title: Anpassen einer Ansicht
|
||||
intro: 'Zeige die benötigten Informationen an, indem du Layout, Gruppierung, Sortierung und Filter in deinem Projekt änderst.'
|
||||
intro: Zeige die benötigten Informationen an, indem du Layout, Gruppierung, Sortierung und Filter in deinem Projekt änderst.
|
||||
miniTocMaxHeadingLevel: 3
|
||||
versions:
|
||||
feature: projects-v2
|
||||
redirect_from:
|
||||
- /issues/trying-out-the-new-projects-experience/customizing-your-project-views
|
||||
- /issues/trying-out-the-new-projects-experience/customizing-your-project-views
|
||||
type: tutorial
|
||||
topics:
|
||||
- Projects
|
||||
- Projects
|
||||
ms.openlocfilehash: 0a7d1076fcf1a9d7f20b65a5e0a75b7d8029f834
|
||||
ms.sourcegitcommit: f638d569cd4f0dd6d0fb967818267992c0499110
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: de-DE
|
||||
ms.lasthandoff: 10/25/2022
|
||||
ms.locfileid: '148106773'
|
||||
ms.locfileid: "148106773"
|
||||
---
|
||||
## Ändern des Projektlayouts
|
||||
|
||||
|
||||
@@ -8,7 +8,10 @@ topics:
|
||||
- Issues
|
||||
- Projects
|
||||
children:
|
||||
- /customizing-a-view
|
||||
- /changing-the-layout-of-a-view
|
||||
- /customizing-the-table-layout
|
||||
- /customizing-the-board-layout
|
||||
- /customizing-the-roadmap-layout
|
||||
- /filtering-projects
|
||||
- /managing-your-views
|
||||
allowTitleToDifferFromFilename: true
|
||||
|
||||
@@ -20,6 +20,7 @@ children:
|
||||
- /announcement
|
||||
- /audit-log
|
||||
- /billing
|
||||
- /code-security-and-analysis
|
||||
- /global-webhooks
|
||||
- /ldap
|
||||
- /license
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Managing your subscriptions
|
||||
intro: 'To help you manage your notifications efficiently, there are several ways to unsubscribe.'
|
||||
title: Gestion de vos abonnements
|
||||
intro: 'Pour que vous puissiez gérer efficacement vos notifications, il existe plusieurs façons de se désabonner.'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -12,73 +12,79 @@ redirect_from:
|
||||
- /github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions
|
||||
- /github/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions
|
||||
shortTitle: Manage your subscriptions
|
||||
ms.openlocfilehash: 750a3a9ad87ff9aa709b84a98f548d85d53072ee
|
||||
ms.sourcegitcommit: fcf3546b7cc208155fb8acdf68b81be28afc3d2d
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/10/2022
|
||||
ms.locfileid: '145087362'
|
||||
---
|
||||
To help you understand your subscriptions and decide whether to unsubscribe, see "[Viewing your subscriptions](/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions)."
|
||||
Pour vous aider à comprendre vos abonnements et à décider s’il faut vous désabonner, consultez « [Affichage de vos abonnements](/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions) ».
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** Instead of unsubscribing, you have the option to ignore a repository. If you ignore a repository, you won't receive any notifications. We don't recommend ignoring repositories as you won't be notified if you're @mentioned. {% ifversion fpt or ghec %}If you're experiencing abuse and want to ignore a repository, please contact {% data variables.contact.contact_support %} so we can help. {% data reusables.policies.abuse %}{% endif %}
|
||||
**Remarque :** Au lieu de vous désabonner, vous avez la possibilité d’ignorer un dépôt. Si vous ignorez un dépôt, vous ne recevrez aucune notification. Nous vous déconseillons d’ignorer les dépôts, car vous ne serez pas averti si vous êtes @mentioned. {% ifversion fpt or ghec %}Si vous constatez des abus et souhaitez ignorer un dépôt, contactez {% data variables.contact.contact_support %} afin que nous puissions vous aider. {% data reusables.policies.abuse %}{% endif %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
## Choosing how to unsubscribe
|
||||
## Choix de la façon de se désabonner
|
||||
|
||||
To unwatch (or unsubscribe from) repositories quickly, navigate to [github.com/watching](https://github.com/watching) to see all the repositories you're following. For more information, see "[Unwatching repositories](#unwatching-repositories)."
|
||||
Pour annuler rapidement la surveillance (ou se désabonner) des dépôts, accédez à [github.com/watching](https://github.com/watching) pour voir tous les dépôts que vous suivez. Pour plus d’informations, consultez « [Annulation de la surveillance de dépôts](#unwatching-repositories) ».
|
||||
|
||||
To unsubscribe from multiple notifications at the same time, you can unsubscribe using your inbox or on the subscriptions page. Both of these options offer more context about your subscriptions than the "Watched repositories" page.
|
||||
Pour vous désabonner de plusieurs notifications en même temps, vous pouvez vous désabonner par le biais de votre boîte de réception ou de la page des abonnements. Ces deux options offrent davantage de contexte sur vos abonnements que la page « Dépôts surveillés ».
|
||||
|
||||
### Benefits of unsubscribing from your inbox
|
||||
### Avantages offerts par l’annulation de la surveillance à partir de votre boîte de réception
|
||||
|
||||
When you unsubscribe from notifications in your inbox, you have several other triaging options and can filter your notifications by custom filters and discussion types. For more information, see "[Managing notifications from your inbox](/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox)."
|
||||
Lorsque vous vous désabonnez des notifications dans votre boîte de réception, vous avez plusieurs autres options de triage et pouvez filtrer vos notifications par filtres personnalisés et types de discussion. Pour plus d’informations, consultez « [Gestion des notifications à partir de votre boîte de réception](/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox) ».
|
||||
|
||||
### Benefits of unsubscribing from the subscriptions page
|
||||
### Avantages offerts par l’annulation de la surveillance à partir de la page des abonnements
|
||||
|
||||
When you unsubscribe from notifications on the subscriptions page, you can see more of the notifications you're subscribed to and sort them by "Most recently subscribed" or "Least recently subscribed".
|
||||
Lorsque vous vous désabonnez des notifications dans la page des abonnements, vous pouvez voir plus de notifications auxquelles vous êtes abonné et les trier dans l’ordre « Abonnements les plus récents » ou « Abonnements les moins récents ».
|
||||
|
||||
The subscriptions page shows you all of the notifications that you're currently subscribed to, including notifications that you have marked as **Done** in your inbox.
|
||||
La page des abonnements montre toutes les notifications auxquelles vous êtes actuellement abonné, y compris les notifications que vous avez marquées comme **Terminé** dans votre boîte de réception.
|
||||
|
||||
You can only filter your subscriptions by repository and the reason you're receiving the notification.
|
||||
Vous pouvez uniquement filtrer vos abonnements par dépôt et par la raison pour laquelle vous recevez la notification.
|
||||
|
||||
## Unsubscribing from notifications in your inbox
|
||||
## Annulation de l’abonnement aux notifications dans votre boîte de réception
|
||||
|
||||
When you unsubscribe from notifications in your inbox, they will automatically disappear from your inbox.
|
||||
Lorsque vous vous désabonnez à des notifications dans votre boîte de réception, elles disparaissent automatiquement de votre boîte de réception.
|
||||
|
||||
{% data reusables.notifications.access_notifications %}
|
||||
1. From the notifications inbox, select the notifications you want to unsubscribe to.
|
||||
2. Click **Unsubscribe.**
|
||||

|
||||
1. Dans la boîte de réception des notifications, sélectionnez les notifications desquelles vous souhaitez vous désabonner.
|
||||
2. Cliquez sur **Se désabonner.**
|
||||

|
||||
|
||||
## Unsubscribing from notifications on the subscriptions page
|
||||
## Annulation de l’abonnement à des notifications dans la page des abonnements
|
||||
|
||||
{% data reusables.notifications.access_notifications %}
|
||||
1. In the left sidebar, under the list of repositories, use the "Manage notifications" drop-down to click **Subscriptions**.
|
||||

|
||||
1. Dans la barre latérale gauche, sous la liste des dépôts, utilisez la liste déroulante « Gérer les notifications » pour cliquer sur **Abonnements**.
|
||||

|
||||
|
||||
2. Select the notifications you want to unsubscribe to. In the top right, click **Unsubscribe.**
|
||||

|
||||
2. Sélectionnez les notifications desquelles vous souhaitez vous désabonner. En haut à droite, cliquez sur **Se désabonner.**
|
||||

|
||||
|
||||
## Unwatching repositories
|
||||
## Annulation de la surveillance de dépôts
|
||||
|
||||
When you unwatch a repository, you unsubscribe from future updates from that repository unless you participate in a conversation or are @mentioned.
|
||||
Lorsque vous ne surveillez plus un dépôt, vous vous désabonnez des futures mises à jour de ce dépôt, sauf si vous participez à une conversation ou si vous êtes @mentioned.
|
||||
|
||||
{% data reusables.notifications.access_notifications %}
|
||||
1. In the left sidebar, under the list of repositories, use the "Manage notifications" drop-down to click **Watched repositories**.
|
||||
1. Dans la barre latérale gauche, sous la liste des dépôts, utilisez la liste déroulante « Gérer les notifications » pour cliquer sur **Dépôts surveillés**.
|
||||
|
||||

|
||||

|
||||
|
||||
2. On the watched repositories page, after you've evaluated the repositories you're watching, choose whether to:
|
||||
2. Dans la page des dépôts surveillés, une fois que vous avez évalué les dépôts que vous surveillez, choisissez si vous souhaitez :
|
||||
|
||||
- Unwatch a repository
|
||||
- Ignore all notifications for a repository
|
||||
- If enabled, customize the types of event you receive notifications for ({% data reusables.notifications-v2.custom-notification-types %})
|
||||
- Annuler la surveillance d’un dépôt.
|
||||
- Ignorer toutes les notifications d’un dépôt.
|
||||
- Si cette option est activée, personnalisez les types d’événements pour lesquels vous recevez des notifications pour ({% data reusables.notifications-v2.custom-notification-types %})
|
||||
|
||||
{%- ifversion fpt or ghec or ghes > 3.3 or ghae > 3.3 %}
|
||||
1. Optionally, to unsubscribe from all repositories owned by a given user or organization, select the **Unwatch all** dropdown and click the organization whose repositories you'd like to unsubscribe from. The button to unwatch all repositories is only available if you are watching all activity or custom notifications on over 10 repositories.
|
||||
{%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5819 %}
|
||||
1. Si vous le souhaitez, pour vous désabonner de tous les dépôts appartenant à un utilisateur ou une organisation donné, sélectionnez la liste déroulante **Ne plus rien surveiller**, puis cliquez sur l’organisation dont vous souhaitez vous désabonner. Le bouton permettant d’annuler la surveillance de tous les dépôts n’est disponible que si vous surveillez toute l’activité ou les notifications personnalisées dans plus de 10 dépôts.
|
||||
|
||||

|
||||

|
||||
|
||||
- Click **Unwatch** to confirm that you want to unwatch the repositories owned by the selected user or organization, or click **Cancel** to cancel.
|
||||
- Cliquez sur **Ne plus surveiller** pour confirmer que vous souhaitez annuler la surveillance des dépôts appartenant à l’utilisateur ou à l’organisation sélectionné, ou cliquez sur **Annuler** pour annuler.
|
||||
|
||||

|
||||

|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Viewing your subscriptions
|
||||
intro: 'To understand where your notifications are coming from and your notifications volume, we recommend reviewing your subscriptions and watched repositories regularly.'
|
||||
title: Affichage de vos abonnements
|
||||
intro: 'Pour comprendre d’où viennent vos notifications et connaître le volume de ces dernières, nous vous recommandons de passer en revue régulièrement vos abonnements et vos dépôts surveillés.'
|
||||
redirect_from:
|
||||
- /articles/subscribing-to-conversations
|
||||
- /articles/unsubscribing-from-conversations
|
||||
@@ -24,61 +24,63 @@ versions:
|
||||
topics:
|
||||
- Notifications
|
||||
shortTitle: View subscriptions
|
||||
ms.openlocfilehash: 34faad79004d34f5beb14e8992b9aff4e6a3ab39
|
||||
ms.sourcegitcommit: fcf3546b7cc208155fb8acdf68b81be28afc3d2d
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/10/2022
|
||||
ms.locfileid: '145105214'
|
||||
---
|
||||
You receive notifications for your subscriptions of ongoing activity on {% data variables.product.product_name %}. There are many reasons you can be subscribed to a conversation. For more information, see "[About notifications](/github/managing-subscriptions-and-notifications-on-github/about-notifications#notifications-and-subscriptions)."
|
||||
Vous recevez des notifications pour vos abonnements de l’activité continue sur {% data variables.product.product_name %}. Il existe de nombreuses raisons pour lesquelles vous pouvez être abonné à une conversation. Pour plus d’informations, consultez « [À propos des notifications »](/github/managing-subscriptions-and-notifications-on-github/about-notifications#notifications-and-subscriptions).
|
||||
|
||||
We recommend auditing and unsubscribing from your subscriptions as a part of a healthy notifications workflow. For more information about your options for unsubscribing, see "[Managing subscriptions](/github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions)."
|
||||
Nous vous recommandons d’auditer et d’annuler vos abonnements dans le cadre d’un flux de travail de notifications sain. Pour plus d’informations sur les options d’annulation d’abonnement, consultez « [Gestion des abonnements](/github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions) ».
|
||||
|
||||
## Diagnosing why you receive too many notifications
|
||||
## Diagnostic de la raison pour laquelle vous recevez trop de notifications
|
||||
|
||||
When your inbox has too many notifications to manage, consider whether you have oversubscribed or how you can change your notification settings to reduce the subscriptions you have and the types of notifications you're receiving. For example, you may consider disabling the settings to automatically watch all repositories and all team discussions whenever you've joined a team or repository.
|
||||
Lorsque votre boîte de réception a trop de notifications à gérer, vérifiez si vous ne vous êtes pas surabonné ou réfléchissez à la façon dont vous pourriez modifier vos paramètres de notification de façon à réduire vos abonnements et les types de notifications que vous recevez. Par exemple, vous pourriez envisager de désactiver les paramètres de surveillance automatique de tous les dépôts et toutes les discussions d’équipe chaque fois que vous avez rejoint une équipe ou un dépôt.
|
||||
|
||||
{% ifversion update-notification-settings-22 %}
|
||||

|
||||
{% else %}
|
||||
{% endif %}
|
||||

|
||||
|
||||
For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#automatic-watching)."
|
||||
Pour plus d’informations, consultez « [Configuration des notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#automatic-watching) ».
|
||||
|
||||
To see an overview of your repository subscriptions, see "[Reviewing repositories that you're watching](#reviewing-repositories-that-youre-watching)."
|
||||
{% tip %}
|
||||
Pour voir une vue d’ensemble de vos abonnements aux dépôts, consultez « [Passage en revue des dépôts que vous surveillez](#reviewing-repositories-that-youre-watching) ». {% tip %}
|
||||
|
||||
**Tip:** You can select the types of event to be notified of by using the **Custom** option of the **Watch/Unwatch** dropdown list in your [watching page](https://github.com/watching) or on any repository page on {% data variables.product.product_name %}. For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#configuring-your-watch-settings-for-an-individual-repository)."
|
||||
**Astuce :** Vous pouvez sélectionner les types d’événements pour lesquels recevoir des notifications à l’aide de l’option **Personnalisé** de la liste déroulante **Surveiller/Ne plus surveiller** dans votre [page de surveillance](https://github.com/watching) ou dans n’importe quelle page de dépôt sur {% data variables.product.product_name %}. Pour plus d’informations, consultez « [Configuration des notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#configuring-your-watch-settings-for-an-individual-repository) ».
|
||||
|
||||
{% endtip %}
|
||||
|
||||
Many people forget about repositories that they've chosen to watch in the past. From the "Watched repositories" page you can quickly unwatch repositories. For more information on ways to unsubscribe, see "[Unwatch recommendations](https://github.blog/changelog/2020-11-10-unwatch-recommendations/)" on {% data variables.product.prodname_blog %} and "[Managing your subscriptions](/github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions)." You can also create a triage workflow to help with the notifications you receive. For guidance on triage workflows, see "[Customizing a workflow for triaging your notifications](/github/managing-subscriptions-and-notifications-on-github/customizing-a-workflow-for-triaging-your-notifications)."
|
||||
Beaucoup de gens oublient les dépôts qu’ils ont choisi de surveiller dans le passé. À partir de la page « Dépôts surveillés », vous pouvez rapidement annuler la surveillance de dépôts. Pour plus d’informations sur les façons de se désabonner, consultez « [Recommandations relatives à l’annulation de la surveillance](https://github.blog/changelog/2020-11-10-unwatch-recommendations/) » sur {% data variables.product.prodname_blog %} et « [Gestion de vos abonnements](/github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions) ». Vous pouvez également créer un flux de travail de triage pour vous aider à gérer les notifications que vous recevez. Pour obtenir des conseils sur les flux de travail de triage, consultez « [Personnalisation d’un flux de travail pour trier vos notifications](/github/managing-subscriptions-and-notifications-on-github/customizing-a-workflow-for-triaging-your-notifications) ».
|
||||
|
||||
## Reviewing all of your subscriptions
|
||||
## Passage en revue de tous vos abonnements
|
||||
|
||||
{% data reusables.notifications.access_notifications %}
|
||||
1. In the left sidebar, under the list of repositories that you have notifications from, use the "Manage notifications" drop-down to click **Subscriptions**.
|
||||

|
||||
1. Dans la barre latérale gauche, sous la liste des dépôts pour lesquels vous recevez des notifications, utilisez la liste déroulante « Gérer les notifications » pour cliquer sur **Abonnements**.
|
||||

|
||||
|
||||
2. Use the filters and sort to narrow the list of subscriptions and begin unsubscribing to conversations you no longer want to receive notifications for.
|
||||
2. Utilisez les filtres et options de tri pour affiner la liste des abonnements, et commencez à vous désabonner des conversations pour lesquelles vous ne souhaitez plus recevoir de notifications.
|
||||
|
||||

|
||||

|
||||
|
||||
{% tip %}
|
||||
|
||||
**Tips:**
|
||||
- To review subscriptions you may have forgotten about, sort by "least recently subscribed."
|
||||
**Conseils :**
|
||||
- Pour passer en revue les abonnements que vous avez peut-être oubliés, triez par « abonnements les moins récents ».
|
||||
|
||||
- To review a list of repositories that you can still receive notifications for, see the repository list in the "filter by repository" drop-down menu.
|
||||
- Pour afficher une liste des dépôts pour lesquels vous pouvez toujours recevoir des notifications, consultez la liste des dépôts dans le menu déroulant « Filtrer par dépôt ».
|
||||
|
||||
{% endtip %}
|
||||
|
||||
## Reviewing repositories that you're watching
|
||||
## Passage en revue des dépôts que vous surveillez
|
||||
|
||||
1. In the left sidebar, under the list of repositories, use the "Manage notifications" drop-down menu and click **Watched repositories**.
|
||||

|
||||
2. Evaluate the repositories that you are watching and decide if their updates are still relevant and helpful. When you watch a repository, you will be notified of all conversations for that repository.
|
||||

|
||||
1. Dans la barre latérale gauche, sous la liste des dépôts, utilisez le menu déroulant « Gérer les notifications » et cliquez sur **Dépôts surveillés**.
|
||||

|
||||
2. Évaluez les dépôts que vous surveillez et décidez si leurs mises à jour sont toujours pertinentes et utiles. Lorsque vous surveillez un dépôt, vous êtes informé de toutes les conversations pour ce dépôt.
|
||||

|
||||
|
||||
{% tip %}
|
||||
|
||||
**Tip:** Instead of watching a repository, consider only receiving notifications when there are updates to {% data reusables.notifications-v2.custom-notification-types %} (if enabled for the repository), or any combination of these options, or completely unwatching a repository.
|
||||
**Astuce :** Au lieu de surveiller un dépôt, vous pouvez recevoir uniquement des notifications lorsque des mises à jour sont apportées à des {% data reusables.notifications-v2.custom-notification-types %} (si c’est activé pour le dépôt), ou toute combinaison de ces options, ou bien annuler purement et simplement la surveillance d’un dépôt.
|
||||
|
||||
When you unwatch a repository, you can still be notified when you're @mentioned or participating in a thread. When you configure to receive notifications for certain event types, you're only notified when there are updates to these event types in the repository, you're participating in a thread, or you or a team you're on is @mentioned.
|
||||
Lorsque vous annulez la surveillance d’un dépôt, vous pouvez toujours être averti lorsque vous êtes @mentioned ou participez à un thread. Lorsque vous choisissez de recevoir des notifications pour certains types d’événements, vous n’êtes averti qu’en cas de mise à jour de ces types d’événements dans le dépôt, de participation à un thread, ou quand vous ou une équipe dont vous êtes membre est @mentioned.
|
||||
|
||||
{% endtip %}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: About notifications
|
||||
intro: 'Notifications provide updates about the activity on {% data variables.location.product_location %} that you''ve subscribed to. You can use the notifications inbox to customize, triage, and manage your updates.'
|
||||
title: À propos des notifications
|
||||
intro: 'Les notifications fournissent des mises à jour sur l’activité dans l’{% data variables.product.product_location %} à laquelle vous êtes abonné. Vous pouvez utiliser la boîte de réception de notifications pour personnaliser, trier et gérer vos mises à jour.'
|
||||
redirect_from:
|
||||
- /articles/notifications
|
||||
- /articles/about-notifications
|
||||
@@ -14,86 +14,90 @@ versions:
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Notifications
|
||||
ms.openlocfilehash: 87034df88eb94c1d880806f01cb8748ed555a284
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147432023'
|
||||
---
|
||||
## Notifications et abonnements
|
||||
|
||||
## Notifications and subscriptions
|
||||
Vous pouvez choisir de recevoir des mises à jour continues relatives à une activité spécifique sur {% data variables.product.product_location %} par le biais d’un abonnement. Les notifications sont des mises à jour que vous recevez pour une activité spécifique à laquelle vous êtes abonné.
|
||||
|
||||
You can choose to receive ongoing updates about specific activity on {% data variables.location.product_location %} through a subscription. Notifications are updates that you receive for specific activity that you are subscribed to.
|
||||
### Options d'abonnement
|
||||
|
||||
### Subscription options
|
||||
Vous pouvez choisir de vous abonner aux notifications pour :
|
||||
- Une conversation dans un problème, une demande de tirage (pull request) ou un gist spécifique.
|
||||
- Toute l’activité d’un dépôt ou d’une discussion d’équipe.
|
||||
- L’activité d’intégration continue (CI), telle que l’état des flux de travail dans les dépôts configurés avec {% data variables.product.prodname_actions %}.
|
||||
- Un dépôt {% data reusables.notifications-v2.custom-notification-types %} (si activé).
|
||||
|
||||
You can choose to subscribe to notifications for:
|
||||
- A conversation in a specific issue, pull request, or gist.
|
||||
- All activity in a repository or team discussion.
|
||||
- CI activity, such as the status of workflows in repositories set up with {% data variables.product.prodname_actions %}.
|
||||
- Repository {% data reusables.notifications-v2.custom-notification-types %} (if enabled).
|
||||
Vous pouvez également choisir de surveiller automatiquement tous les dépôts auxquels vous avez un accès Push, à l’exception des duplications (forks). Vous pouvez surveiller manuellement n’importe quel autre dépôt auquel vous avez accès en cliquant sur **Surveiller**.
|
||||
|
||||
You can also choose to automatically watch all repositories that you have push access to, except forks. You can watch any other repository you have access to manually by clicking **Watch**.
|
||||
Si vous n’êtes plus intéressé par une conversation, vous pouvez vous désabonner, annuler la surveillance ou personnaliser les types de notifications que vous recevrez à l’avenir. Par exemple, si vous ne souhaitez plus recevoir de notifications à partir d’un dépôt particulier, vous pouvez cliquer sur **Se désabonner**. Pour en savoir plus, consultez « [Gestion de vos abonnements](/github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions) ».
|
||||
|
||||
If you're no longer interested in a conversation, you can unsubscribe, unwatch, or customize the types of notifications you'll receive in the future. For example, if you no longer want to receive notifications from a particular repository, you can click **Unsubscribe**. For more information, see "[Managing your subscriptions](/github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions)."
|
||||
### Abonnements par défaut
|
||||
|
||||
### Default subscriptions
|
||||
En général, par défaut vous êtes automatiquement abonné aux conversations lorsque :
|
||||
- Vous n’avez pas désactivé la surveillance automatique pour les dépôts ou les équipes que vous avez rejoints dans vos paramètres de notification. Ce paramètre est activé par défaut.
|
||||
- Vous avez été affecté à un problème ou à une demande de tirage.
|
||||
- Vous avez ouvert une demande de tirage, un problème ou un billet de discussion d’équipe.
|
||||
- Vous avez commenté sur un thread.
|
||||
- Vous vous êtes abonné à un thread manuellement en cliquant sur **Surveiller** ou **S’abonner**.
|
||||
- Votre nom d’utilisateur a été @mentioned.
|
||||
- Vous avez modifié l’état d’un thread, par exemple en fermant un problème ou en fusionnant une demande de tirage.
|
||||
- Une équipe dont vous êtes membre a été @mentioned.
|
||||
|
||||
In general, you are automatically subscribed to conversations by default when you have:
|
||||
- Not disabled automatic watching for repositories or teams you've joined in your notification settings. This setting is enabled by default.
|
||||
- Been assigned to an issue or pull request.
|
||||
- Opened a pull request, issue, or created a team discussion post.
|
||||
- Commented on a thread.
|
||||
- Subscribed to a thread manually by clicking **Watch** or **Subscribe**.
|
||||
- Had your username @mentioned.
|
||||
- Changed the state of a thread, such as by closing an issue or merging a pull request.
|
||||
- Had a team you're a member of @mentioned.
|
||||
Par défaut, vous surveillez également automatiquement tous les dépôts que vous créez et qui appartiennent à votre compte personnel.
|
||||
|
||||
By default, you also automatically watch all repositories that you create and are owned by your personal account.
|
||||
Pour vous désabonner des conversations auxquelles vous êtes automatiquement abonné, vous pouvez modifier vos paramètres de notification, annuler directement l’abonnement ou cesser la surveillance d’une activité sur {% data variables.product.product_location %}. Pour en savoir plus, consultez « [Gestion de vos abonnements](/github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions) ».
|
||||
|
||||
To unsubscribe from conversations you're automatically subscribed to, you can change your notification settings or directly unsubscribe or unwatch activity on {% data variables.location.product_location %}. For more information, see "[Managing your subscriptions](/github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions)."
|
||||
## Personnalisation des notifications et des abonnements
|
||||
|
||||
## Customizing notifications and subscriptions
|
||||
Vous pouvez choisir d’afficher vos notifications via la boîte de réception des notifications à [https://github.com/notifications](https://github.com/notifications){% ifversion fpt or ghes or ghec %} et dans l’application {% data variables.product.prodname_mobile %}{% endif %}, via votre e-mail, ou une combinaison de ces options.
|
||||
|
||||
You can choose to view your notifications through the notifications inbox at [https://github.com/notifications](https://github.com/notifications){% ifversion fpt or ghes or ghec %} and in the {% data variables.product.prodname_mobile %} app{% endif %}, through your email, or some combination of these options.
|
||||
Pour personnaliser les types de mises à jour que vous souhaitez recevoir et où recevoir ces mises à jour, configurez vos paramètres de notification. Pour plus d’informations, consultez « [Configuration des notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications) ».
|
||||
|
||||
To customize the types of updates you'd like to receive and where to send those updates, configure your notification settings. For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications)."
|
||||
Pour que vos abonnements restent gérables, passez en revue vos abonnements et vos dépôts surveillés et désabonnez-vous en fonction des besoins. Pour plus d’informations, consultez « [Gestion des abonnements pour l’activité sur GitHub](/github/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github) ».
|
||||
|
||||
To keep your subscriptions manageable, review your subscriptions and watched repositories and unsubscribe as needed. For more information, see "[Managing subscriptions for activity on GitHub](/github/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github)."
|
||||
Pour personnaliser la façon dont vous souhaitez recevoir des mises à jour pour des demandes de tirage ou des problèmes spécifiques, vous pouvez configurer vos préférences au sein du problème ou de la demande de tirage. Pour plus d’informations, consultez « [Triage d’une notification unique](/github/managing-subscriptions-and-notifications-on-github/triaging-a-single-notification#customizing-when-to-receive-future-updates-for-an-issue-or-pull-request) ».
|
||||
|
||||
To customize how you'd like to receive updates for specific pull requests or issues, you can configure your preferences within the issue or pull request. For more information, see "[Triaging a single notification](/github/managing-subscriptions-and-notifications-on-github/triaging-a-single-notification#customizing-when-to-receive-future-updates-for-an-issue-or-pull-request)."
|
||||
|
||||
{% ifversion fpt or ghes or ghec %}
|
||||
You can customize and schedule push notifications in the {% data variables.product.prodname_mobile %} app. For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#managing-your-notification-settings-with-github-mobile)."
|
||||
{% ifversion fpt or ghes or ghec %} Vous pouvez personnaliser et planifier des notifications Push dans l’application {% data variables.product.prodname_mobile %}. Pour plus d’informations, consultez « [Configuration des notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#managing-your-notification-settings-with-github-mobile) ».
|
||||
{% endif %}
|
||||
|
||||
## Reasons for receiving notifications
|
||||
## Raisons de la réception des notifications
|
||||
|
||||
Your inbox is configured with default filters, which represent the most common reasons that people need to follow-up on their notifications. For more information about inbox filters, see "[Managing notifications from your inbox](/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox#default-notification-filters)."
|
||||
Votre boîte de réception est configurée avec des filtres par défaut, qui représentent les raisons les plus courantes pour lesquelles les utilisateurs doivent suivre leurs notifications. Pour plus d’informations sur les filtres de boîte de réception, consultez « [Gestion des notifications à partir de votre boîte de réception](/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox#default-notification-filters) ».
|
||||
|
||||
Your inbox shows the `reasons` you're receiving notifications as a label.
|
||||
Votre boîte de réception affiche les `reasons` pour lesquelles vous recevez des notifications sous forme d’étiquettes.
|
||||
|
||||

|
||||

|
||||
|
||||
You can filter your inbox by the reason you're subscribed to notifications. For example, to only see pull requests where someone requested your review, you can use the `review-requested` query filter.
|
||||
Vous pouvez filtrer votre boîte de réception en fonction de la raison pour laquelle vous êtes abonné aux notifications. Par exemple, pour voir uniquement les demandes de tirage où une personne a sollicité votre révision, vous pouvez utiliser le filtre de requête `review-requested`.
|
||||
|
||||

|
||||

|
||||
|
||||
If you've configured notifications to be sent by email and believe you're receiving notifications that don't belong to you, consider troubleshooting with email headers, which show the intended recipient. For more information, see "[Configuring notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#filtering-email-notifications)."
|
||||
Si vous avez configuré l’envoi de notifications par e-mail et que vous pensez recevoir des notifications qui ne vous appartiennent pas, examinez les en-têtes d’e-mail, qui indiquent le destinataire prévu. Pour plus d’informations, consultez « [Configuration des notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#filtering-email-notifications) ».
|
||||
|
||||
## Triaging notifications from your inbox
|
||||
## Triage des notifications à partir de votre boîte de réception
|
||||
|
||||
To effectively manage your notifications, you can triage your inbox with options to:
|
||||
- Remove a notification from the inbox with **Done**. You can review **Done** notifications all in one place by clicking **Done** in the sidebar or by using the query `is:done`.
|
||||
- Mark a notification as read or unread.
|
||||
- **Save** a notification for later review. **Saved** notifications are flagged in your inbox. You can review **Saved** notifications all in one place in the sidebar by clicking **Saved** or by using the query `is:saved`.
|
||||
- Automatically unsubscribe from this notification and future updates from this conversation. Unsubscribing also removes the notification from your inbox. If you unsubscribe from a conversation and someone mentions your username or a team you're on that you're receiving updates for, then you will start to receive notifications from this conversation again.
|
||||
Pour gérer efficacement vos notifications, vous pouvez trier votre boîte de réception avec des options pour :
|
||||
- Supprimer une notification de la boîte de réception avec **Terminé**. Vous pouvez passer en revue les notifications **Terminé** regroupées en un même endroit en cliquant sur **Terminé** dans la barre latérale ou à l’aide de la requête `is:done`.
|
||||
- Marquer une notification comme lue ou non lue.
|
||||
- **Enregistrer** une notification pour une révision ultérieure. Les notifications **Enregistré** sont indiquées dans votre boîte de réception. Vous pouvez passer en revue les notifications **Enregistré** regroupées en un même endroit dans la barre latérale en cliquant sur **Enregistré** ou à l’aide de la requête `is:saved`.
|
||||
- Vous désabonner automatiquement de cette notification et des mises à jour ultérieures de cette conversation. L’annulation de l’abonnement supprime également la notification de votre boîte de réception. Si vous vous désabonnez d’une conversation et qu’une personne mentionne votre nom d’utilisateur ou une équipe dont vous êtes membre et pour laquelle vous recevez des mises à jour, vous recommencerez à recevoir des notifications pour cette conversation.
|
||||
|
||||
From your inbox you can also triage multiple notifications at once. For more information, see "[Managing notifications from your inbox](/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox#triaging-multiple-notifications-at-the-same-time)."
|
||||
À partir de votre boîte de réception, vous pouvez également trier plusieurs notifications à la fois. Pour plus d’informations, consultez « [Gestion des notifications à partir de votre boîte de réception](/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox#triaging-multiple-notifications-at-the-same-time) ».
|
||||
|
||||
## Customizing your notifications inbox
|
||||
## Personnalisation de votre boîte de réception de notifications
|
||||
|
||||
To focus on a group of notifications in your inbox on {% data variables.location.product_location %}{% ifversion fpt or ghes or ghec %} or {% data variables.product.prodname_mobile %}{% endif %}, you can create custom filters. For example, you can create a custom filter for an open source project you contribute to and only see notifications for that repository in which you are mentioned. For more information, see "[Managing notifications from your inbox](/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox)." For more examples of how to customize your triaging workflow, see "[Customizing a workflow for triaging your notifications](/github/managing-subscriptions-and-notifications-on-github/customizing-a-workflow-for-triaging-your-notifications)."
|
||||
Pour vous concentrer sur un groupe de notifications dans votre boîte de réception sur {% data variables.product.product_location %}{% ifversion fpt or ghes or ghec %} ou {% data variables.product.prodname_mobile %}{% endif %}, vous pouvez créer des filtres personnalisés. Par exemple, vous pouvez créer un filtre personnalisé pour un projet open source auquel vous contribuez, et voir uniquement les notifications pour ce dépôt dans lequel vous êtes mentionné. Pour plus d’informations, consultez « [Gestion des notifications à partir de votre boîte de réception](/github/managing-subscriptions-and-notifications-on-github/managing-notifications-from-your-inbox) ». Pour obtenir d’autres exemples de personnalisation de votre flux de travail de triage, consultez « [Personnalisation d’un flux de travail pour trier vos notifications](/github/managing-subscriptions-and-notifications-on-github/customizing-a-workflow-for-triaging-your-notifications) ».
|
||||
|
||||
## Notification retention policy
|
||||
## Stratégie de rétention des notifications
|
||||
|
||||
Notifications that are not marked as **Saved** are kept for 5 months. Notifications marked as **Saved** are kept indefinitely. If your saved notification is older than 5 months and you unsave it, the notification will disappear from your inbox within a day.
|
||||
Les notifications qui ne sont pas marquées comme **Enregistré** sont conservées pendant cinq mois. Les notifications marquées comme **Enregistré** sont conservées indéfiniment. Si votre notification enregistrée est antérieure à cinq mois et que vous annulez son enregistrement, elle disparaîtra de votre boîte de réception dans les 24 heures qui suivent.
|
||||
|
||||
## Feedback and support
|
||||
## Commentaires et support
|
||||
|
||||
If you have feedback or feature requests for notifications, use a [{% data variables.product.prodname_github_community %} discussion](https://github.com/orgs/community/discussions/categories/general).
|
||||
Si vous avez des commentaires ou des demandes de fonctionnalités pour les notifications, utilisez une [discussion {% data variables.product.prodname_github_community %}](https://github.com/orgs/community/discussions/categories/general).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Configuring notifications
|
||||
intro: 'Choose the type of activity on {% data variables.product.prodname_dotcom %} that you want to receive notifications for and how you want these updates delivered.'
|
||||
title: Configuration des notifications
|
||||
intro: 'Choisissez le type d’activité sur {% data variables.product.prodname_dotcom %} pour lequel vous voulez recevoir des notifications et comment vous voulez que ces mises à jour soient délivrées.'
|
||||
redirect_from:
|
||||
- /articles/about-web-notifications
|
||||
- /format-of-notification-emails
|
||||
@@ -22,88 +22,78 @@ versions:
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Notifications
|
||||
ms.openlocfilehash: b7822a7db40455476c5fc5ac6f779e45d7f558a9
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147060761'
|
||||
---
|
||||
## Options de remise de notifications
|
||||
|
||||
## Notification delivery options
|
||||
Vous pouvez recevoir des notifications pour l’activité sur {% data variables.product.product_location %} aux emplacements suivants.
|
||||
|
||||
You can receive notifications for activity on {% data variables.location.product_location %} in the following locations.
|
||||
- Boîte de réception des notifications dans l’interface web {% data variables.product.product_location %} {% ifversion fpt or ghes or ghec %}
|
||||
- Boîte de réception de notifications sur {% data variables.product.prodname_mobile %}, qui se synchronise avec la boîte de réception sur {% data variables.product.product_location %}{% endif %}
|
||||
- Un client de messagerie qui utilise une adresse e-mail vérifiée, qui peut également se synchroniser avec la boîte de réception des notifications sur {% data variables.product.product_location %}{% ifversion fpt or ghes or ghec %} et {% data variables.product.prodname_mobile %}{% endif %}
|
||||
|
||||
- The notifications inbox in the {% data variables.location.product_location %} web interface{% ifversion fpt or ghes or ghec %}
|
||||
- The notifications inbox on {% data variables.product.prodname_mobile %}, which syncs with the inbox on {% data variables.location.product_location %}{% endif %}
|
||||
- An email client that uses a verified email address, which can also sync with the notifications inbox on {% data variables.location.product_location %}{% ifversion fpt or ghes or ghec %} and {% data variables.product.prodname_mobile %}{% endif %}
|
||||
|
||||
{% ifversion fpt or ghes or ghec %}
|
||||
{% data reusables.notifications-v2.notifications-inbox-required-setting %} For more information, see "[Choosing your notification settings](#choosing-your-notification-settings)."
|
||||
{% ifversion fpt or ghes or ghec %} {% data reusables.notifications-v2.notifications-inbox-required-setting %} Pour plus d’informations, consultez « [Choix de vos paramètres de notification](#choosing-your-notification-settings) ».
|
||||
{% endif %}
|
||||
|
||||
{% data reusables.notifications.shared_state %}
|
||||
|
||||
### Benefits of the notifications inbox
|
||||
### Avantages de la boîte de réception de notifications
|
||||
|
||||
The notifications inbox on {% data variables.location.product_location %}{% ifversion fpt or ghes or ghec %} and {% data variables.product.prodname_mobile %}{% endif %} includes triaging options designed specifically for your {% data variables.product.prodname_dotcom %} notifications flow, including options to:
|
||||
- Triage multiple notifications at once.
|
||||
- Mark completed notifications as **Done** and remove them from your inbox. To view all of your notifications marked as **Done**, use the `is:done` query.
|
||||
- Save a notification to review later. Saved notifications are flagged in your inbox and kept indefinitely. To view all of your saved notifications, use the `is:saved` query.
|
||||
- Unsubscribe and remove a notification from your inbox.
|
||||
- Preview the issue, pull request, or team discussion where the notification originates on {% data variables.location.product_location %} from within the notifications inbox.
|
||||
- See one of the latest reasons you're receiving a notification from your inbox with a `reasons` label.
|
||||
- Create custom filters to focus on different notifications when you want.
|
||||
- Group notifications in your inbox by repository or date to get a quick overview with less context switching
|
||||
La boîte de réception des notifications sur {% data variables.product.product_location %}{% ifversion fpt or ghes or ghec %} et {% data variables.product.prodname_mobile %}{% endif %} inclut des options de triage conçues spécifiquement pour vos flux de notifications {% data variables.product.prodname_dotcom %}, y compris des options pour :
|
||||
- Trier plusieurs notifications à la fois.
|
||||
- Marquer les notifications terminées avec la mention **Terminé** et les supprimer de votre boîte de réception. Pour visualiser toutes vos notifications marquées **Terminé**, utilisez la requête `is:done`.
|
||||
- Enregistrer une notification pour l’examiner ultérieurement. Les notifications enregistrées sont indiquées dans votre boîte de réception et sont conservées indéfiniment. Pour visualiser toutes vos notifications enregistrées, utilisez la requête `is:saved`.
|
||||
- Se désinscrire et supprimer une notification de votre boîte de réception.
|
||||
- Obtenir un aperçu du problème, de la demande de tirage ou de la discussion d’équipe d’où provient la notification sur {% data variables.product.product_location %} à partir de la boîte de réception des notifications.
|
||||
- Voir une des raisons les plus récentes pour laquelle vous recevez une notification dans votre boîte de réception avec une étiquette `reasons`.
|
||||
- Créer des filtres personnalisés pour se concentrer sur différentes notifications quand vous le souhaitez.
|
||||
- Regrouper des notifications dans votre boîte de réception en fonction du dépôt ou de la date pour obtenir une vue d’ensemble rapide avec moins de changements de contexte.
|
||||
|
||||
{% ifversion fpt or ghes or ghec %}
|
||||
In addition, you can receive and triage notifications on your mobile device with {% data variables.product.prodname_mobile %}. For more information, see "[Managing your notification settings with GitHub Mobile](#managing-your-notification-settings-with-github-mobile)" or "[GitHub Mobile](/get-started/using-github/github-mobile)."
|
||||
{% ifversion fpt or ghes or ghec %} En outre, vous pouvez recevoir et trier des notifications sur votre appareil mobile avec {% data variables.product.prodname_mobile %}. Pour plus d’informations, consultez « [Gestion de vos paramètres de notification avec GitHub Mobile](#managing-your-notification-settings-with-github-mobile) » ou « [GitHub Mobile](/get-started/using-github/github-mobile) ».
|
||||
{% endif %}
|
||||
|
||||
### Benefits of using an email client for notifications
|
||||
### Avantages de l’utilisation d’un client de messagerie pour les notifications
|
||||
|
||||
One benefit of using an email client is that all of your notifications can be kept indefinitely depending on your email client's storage capacity. Your inbox notifications are only kept for 5 months on {% data variables.product.prodname_dotcom %} unless you've marked them as **Saved**. **Saved** notifications are kept indefinitely. For more information about your inbox's retention policy, see "[About notifications](/github/managing-subscriptions-and-notifications-on-github/about-notifications#notification-retention-policy)."
|
||||
L’un des avantages offerts par l’utilisation d’un client de messagerie est que toutes vos notifications peuvent être conservées indéfiniment, en fonction de la capacité de stockage de votre client de messagerie. Vos notifications de boîte de réception ne sont conservées que pendant cinq mois sur {% data variables.product.prodname_dotcom %} sauf si vous les avez marquées comme **Enregistré**. Les notifications **Enregistré** sont conservées indéfiniment. Pour plus d’informations sur la stratégie de rétention de votre boîte de réception, consultez « [À propos des notifications](/github/managing-subscriptions-and-notifications-on-github/about-notifications#notification-retention-policy) ».
|
||||
|
||||
Sending notifications to your email client also allows you to customize your inbox according to your email client's settings, which can include custom or color-coded labels.
|
||||
L’envoi de notifications à votre client de messagerie vous permet également de personnaliser votre boîte de réception en fonction des paramètres de votre client de messagerie, qui peuvent inclure des étiquettes personnalisées ou codées en couleur.
|
||||
|
||||
Email notifications also allow flexibility with the types of notifications you receive and allow you to choose different email addresses for updates. For example, you can send certain notifications for a repository to a verified personal email address. For more information, about your email customization options, see "[Customizing your email notifications](#customizing-your-email-notifications)."
|
||||
Les notifications par e-mail offrent également une flexibilité quant aux types de notifications que vous recevez, et vous permettent de choisir différentes adresses e-mail pour les mises à jour. Par exemple, vous pouvez envoyer certaines notifications pour un dépôt à une adresse e-mail personnelle vérifiée. Pour plus d’informations sur les options de personnalisation d’e-mail, consultez « [Personnalisation de vos notifications par e-mail](#customizing-your-email-notifications) ».
|
||||
|
||||
## About participating and watching notifications
|
||||
## À propos des notifications de participation et de surveillance
|
||||
|
||||
When you watch a repository, you're subscribing to updates for activity in that repository. Similarly, when you watch a specific team's discussions, you're subscribing to all conversation updates on that team's page. For more information, see "[About team discussions](/organizations/collaborating-with-your-team/about-team-discussions)."
|
||||
Lorsque vous surveillez un dépôt, vous vous abonnez aux mises à jour relatives à l’activité dans ce dépôt. De même, lorsque vous surveillez les discussions d’une équipe spécifique, vous vous abonnez à toutes les mises à jour de conversation sur la page de cette équipe. Pour plus d’informations, consultez « [À propos des discussions d’équipe](/organizations/collaborating-with-your-team/about-team-discussions) ».
|
||||
|
||||
To see repositories that you're watching, go to your [watching page](https://github.com/watching). For more information, see "[Managing subscriptions and notifications on GitHub](/github/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github)."
|
||||
Pour voir les dépôts que vous surveillez, accédez à votre [page de surveillance](https://github.com/watching). Pour plus d’informations, consultez « [Gestion des abonnements et des notifications sur GitHub](/github/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github) ».
|
||||
|
||||
{% ifversion ghae %}
|
||||
### Configuring notifications
|
||||
{% endif %}
|
||||
You can configure notifications for a repository on the repository page, or on your watching page.
|
||||
### Configuration des notifications
|
||||
{% endif %} Vous pouvez configurer des notifications pour un dépôt dans la page du dépôt ou dans votre page de surveillance.
|
||||
|
||||
### About custom notifications
|
||||
You can customize notifications for a repository. For example, you can choose to only be notified when updates to one or more types of events ({% data reusables.notifications-v2.custom-notification-types %}) happen within a repository, or ignore all notifications for a repository. For more information, see "[Configuring your watch settings for an individual repository](#configuring-your-watch-settings-for-an-individual-repository)" below.
|
||||
### À propos des notifications personnalisées
|
||||
Vous pouvez personnaliser les notifications pour un dépôt. Par exemple, vous pouvez choisir d’être averti uniquement lorsque des mises à jour d’un ou plusieurs types d’événements ({% data reusables.notifications-v2.custom-notification-types %}) se produisent dans un dépôt, ou ignorer toutes les notifications d’un dépôt. Pour plus d’informations, consultez « [Configuration de vos paramètres de surveillance pour un dépôt spécifique](#configuring-your-watch-settings-for-an-individual-repository) » ci-dessous.
|
||||
|
||||
### Participating in conversations
|
||||
Anytime you comment in a conversation or when someone @mentions your username, you are _participating_ in a conversation. By default, you are automatically subscribed to a conversation when you participate in it. You can unsubscribe from a conversation you've participated in manually by clicking **Unsubscribe** on the issue or pull request or through the **Unsubscribe** option in the notifications inbox.
|
||||
### Participation à des conversations
|
||||
Chaque fois que vous commentez une conversation ou que quelqu’un @mentions votre nom d’utilisateur, vous _participez_ à une conversation. Par défaut, vous êtes automatiquement abonné à une conversation lorsque vous y participez. Vous pouvez vous désabonner manuellement d’une conversation à laquelle vous avez participé en cliquant sur **Se désabonner** dans le problème ou la demande de tirage, ou via l’option **Se désabonner** dans la boîte de réception des notifications.
|
||||
|
||||
{% ifversion update-notification-settings-22 %}For conversations you're watching or participating in, you can choose whether you want to receive notifications on {% data variables.product.company_short %} or by email in your notification settings. For more information, see "[Choosing your notification settings](/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#choosing-your-notification-settings)."
|
||||
Pour les conversations que vous regardez ou auxquelles vous participez, vous pouvez choisir si vous souhaitez recevoir des notifications par e-mail ou via la boîte de réception des notifications sur {% data variables.product.product_location %}{% ifversion fpt or ghes or ghec %} et {% data variables.product.prodname_mobile %}{% endif %}.
|
||||
|
||||

|
||||

|
||||
|
||||
{% else %}
|
||||
Par exemple :
|
||||
- Si vous ne souhaitez pas que les notifications soient envoyées à votre e-mail, désélectionnez **e-mail** pour les notifications de participation et de surveillance.
|
||||
- Si vous souhaitez recevoir des notifications par e-mail lorsque vous avez participé à une conversation, vous pouvez sélectionner **e-mail** sous « Participation ».
|
||||
|
||||
For conversations you're watching or participating in, you can choose whether you want to receive notifications by email or through the notifications inbox on {% data variables.location.product_location %}{% ifversion ghes %} and {% data variables.product.prodname_mobile %}{% endif %}. For more information, see "[Choosing your notification settings](/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#choosing-your-notification-settings)."
|
||||
Si vous n’activez pas les notifications de participation ou de surveillance pour le web{% ifversion fpt or ghes or ghec %} et mobile{% endif %}, votre boîte de réception de notifications n’aura aucune mise à jour.
|
||||
|
||||
{% endif %}
|
||||
## Personnalisation de vos notifications par e-mail
|
||||
|
||||
|
||||
|
||||
For example:
|
||||
- If you don't want notifications to be sent to your email, unselect **email** for participating and watching notifications.
|
||||
- If you want to receive notifications by email when you've participated in a conversation, then you can select **email** under "Participating".
|
||||
|
||||
{% ifversion update-notification-settings-22 %}If you do not enable "Notify me: On GitHub" for watching or participating notifications, then your notifications inbox will not have any updates.
|
||||
|
||||
{% else %}
|
||||
|
||||
If you do not enable watching or participating notifications for web{% ifversion ghes %} and mobile{% endif %}, then your notifications inbox will not have any updates.{% endif %}
|
||||
|
||||
## Customizing your email notifications
|
||||
|
||||
After enabling email notifications, {% data variables.location.product_location %} will send notifications to you as multipart emails that contain both HTML and plain text copies of the content. Email notification content includes any Markdown, @mentions, emojis, hash-links, and more, that appear in the original content on {% data variables.location.product_location %}. If you only want to see the text in the email, you can configure your email client to display the plain text copy only.
|
||||
Une fois que vous aurez activé les notifications par e-mail, {% data variables.product.product_location %} vous enverra des notifications sous forme d’e-mails multipart contenant à la fois des copies HTML et en texte brut du contenu. Le contenu de notification par e-mail inclut tout Markdown, @mentionsemojis, lien de hachage et autres, qui apparaissent dans le contenu d’origine sur {% data variables.product.product_location %}. Si vous souhaitez uniquement afficher le texte dans l’e-mail, vous pouvez configurer votre client de messagerie de façon à afficher uniquement la copie en texte brut.
|
||||
|
||||
{% data reusables.notifications.outbound_email_tip %}
|
||||
|
||||
@@ -111,194 +101,150 @@ After enabling email notifications, {% data variables.location.product_location
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
If you're using Gmail, you can click a button beside the notification email to visit the original issue or pull request that generated the notification.
|
||||
Si vous utilisez Gmail, vous pouvez cliquer sur un bouton en regard de l’e-mail de notification pour accéder au problème ou à la demande de tirage d’origine qui a généré la notification.
|
||||
|
||||

|
||||

|
||||
|
||||
{% endif %}
|
||||
|
||||
Choose a default email address where you want to send updates for conversations you're participating in or watching. You can also specify which activity on {% data variables.location.product_location %} you want to receive updates for using your default email address. For example, choose whether you want updates to your default email from:
|
||||
- Comments on issues and pull requests.
|
||||
- Pull request reviews.
|
||||
- Pull request pushes.
|
||||
- Your own updates, such as when you open, comment on, or close an issue or pull request.
|
||||
Choisissez une adresse e-mail par défaut à laquelle vous souhaitez envoyer des mises à jour pour les conversations que vous surveillez ou auxquelles vous participez. Vous pouvez également spécifier pour quelle activité sur {% data variables.product.product_location %} vous souhaitez recevoir des mises à jour à l’aide de votre adresse e-mail par défaut. Par exemple, choisissez si vous souhaitez recevoir des mises à jour à votre adresse e-mail par défaut pour les éléments suivants :
|
||||
- Commentaires sur les problèmes et les demandes de tirage
|
||||
- Révisions des demandes de tirage (pull requests)
|
||||
- Poussées (push) de demandes de tirage
|
||||
- Vos propres mises à jour, par exemple lorsque vous ouvrez, commentez ou fermez un problème ou une demande de tirage
|
||||
|
||||
Depending on the organization that owns the repository, you can also send notifications to different email addresses. Your organization may require the email address to be verified for a specific domain. For more information, see "[Choosing where your organization’s email notifications are sent](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#choosing-where-your-organizations-email-notifications-are-sent)."
|
||||
En fonction de l’organisation propriétaire du dépôt, vous pouvez également envoyer des notifications à différentes adresses e-mail. Votre organisation peut exiger que l’adresse e-mail soit vérifiée pour un domaine spécifique. Pour plus d’informations, consultez « [Choisir où les notifications par e-mail de votre organisation sont envoyées](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#choosing-where-your-organizations-email-notifications-are-sent) ».
|
||||
|
||||
You can also send notifications for a specific repository to an email address. For more information, see "[About email notifications for pushes to your repository](/github/administering-a-repository/about-email-notifications-for-pushes-to-your-repository)."
|
||||
Vous pouvez également envoyer des notifications pour un dépôt spécifique à une adresse e-mail. Pour plus d’informations, consultez « [À propos des notifications par e-mail pour les poussées (push) vers votre dépôt](/github/administering-a-repository/about-email-notifications-for-pushes-to-your-repository) ».
|
||||
|
||||
{% data reusables.notifications-v2.email-notification-caveats %}
|
||||
|
||||
## Filtering email notifications
|
||||
## Filtrage des notifications par e-mail
|
||||
|
||||
Each email notification that {% data variables.location.product_location %} sends contains header information. The header information in every email is consistent, so you can use it in your email client to filter or forward all {% data variables.product.prodname_dotcom %} notifications, or certain types of {% data variables.product.prodname_dotcom %} notifications.
|
||||
Chaque notification par e-mail envoyée par {% data variables.product.product_location %} contient des informations d’en-tête. Les informations d’en-tête de chaque e-mail sont cohérentes. Vous pouvez donc les utiliser dans votre client de messagerie pour filtrer ou transférer toutes les notifications {% data variables.product.prodname_dotcom %} ou certains types de notifications {% data variables.product.prodname_dotcom %}.
|
||||
|
||||
If you believe you're receiving notifications that don't belong to you, examine the `X-GitHub-Recipient` and `X-GitHub-Recipient-Address` headers. These headers show who the intended recipient is. Depending on your email setup, you may receive notifications intended for another user.
|
||||
Si vous pensez recevoir des notifications qui ne vous appartiennent pas, examinez les en-têtes `X-GitHub-Recipient` et `X-GitHub-Recipient-Address`. Ces en-têtes indiquent qui est le destinataire prévu. En fonction de votre configuration de messagerie, vous pouvez recevoir des notifications destinées à un autre utilisateur.
|
||||
|
||||
Email notifications from {% data variables.location.product_location %} contain the following header information:
|
||||
Les notifications par e-mail de {% data variables.product.product_location %} contiennent les informations d’en-tête suivantes :
|
||||
|
||||
| Header | Information |
|
||||
| En-tête | Information |
|
||||
| --- | --- |
|
||||
| `From` address | This address will always be {% ifversion fpt or ghec %}'`notifications@github.com`'{% else %}'the no-reply email address configured by your site administrator'{% endif %}. |
|
||||
| `To` field | This field connects directly to the thread.{% ifversion not ghae %} If you reply to the email, you'll add a new comment to the conversation.{% endif %} |
|
||||
| `Cc` address | {% data variables.product.product_name %} will `Cc` you if you're subscribed to a conversation. The second `Cc` email address matches the notification reason. The suffix for these notification reasons is {% data variables.notifications.cc_address %}. The possible notification reasons are: <ul><li>`assign`: You were assigned to an issue or pull request.</li><li>`author`: You created an issue or pull request.</li><li>`ci_activity`: A {% data variables.product.prodname_actions %} workflow run that you triggered was completed.</li><li>`comment`: You commented on an issue or pull request.</li><li>`manual`: There was an update to an issue or pull request you manually subscribed to.</li><li>`mention`: You were mentioned on an issue or pull request.</li><li>`push`: Someone committed to a pull request you're subscribed to.</li><li>`review_requested`: You or a team you're a member of was requested to review a pull request.</li><li>`security_alert`: {% data variables.product.prodname_dotcom %} detected a vulnerability in a repository you receive alerts for.</li><li>`state_change`: An issue or pull request you're subscribed to was either closed or opened.</li><li>`subscribed`: There was an update in a repository you're watching.</li><li>`team_mention`: A team you belong to was mentioned on an issue or pull request.</li><li>`your_activity`: You opened, commented on, or closed an issue or pull request.</li></ul> |
|
||||
| `mailing list` field | This field identifies the name of the repository and its owner. The format of this address is always `<repository name>.<repository owner>.{% data variables.command_line.backticks %}`. |
|
||||
| `X-GitHub-Severity` field | {% data reusables.repositories.security-alerts-x-github-severity %} The possible severity levels are:<ul><li>`low`</li><li>`moderate`</li><li>`high`</li><li>`critical`</li></ul>For more information, see "[About {% data variables.product.prodname_dependabot_alerts %}](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)." |
|
||||
| Adresse `From` | Cette adresse sera toujours {% ifversion fpt or ghec %}« `notifications@github.com` »{% else %}« l’adresse e-mail sans réponse configurée par votre administrateur de site »{% endif %}. |
|
||||
| Champ`To` | Ce champ se connecte directement au thread.{% ifversion not ghae %} Si vous répondez à l’e-mail, vous ajouterez un nouveau commentaire à la conversation.{% endif %} |
|
||||
| Adresse `Cc` | {% data variables.product.product_name %} vous `Cc` si vous êtes abonné à une conversation. La deuxième adresse e-mail `Cc` correspond à la raison de notification. Le suffixe de ces raisons de notification est {% data variables.notifications.cc_address %}. Les raisons de notification possibles sont les suivantes : <ul><li>`assign` : vous avez été affecté à un problème ou à une demande de tirage.</li><li>`author` : vous avez créé un problème ou une demande de tirage.</li><li>`ci_activity` : une exécution de flux de travail {% data variables.product.prodname_actions %} que vous avez déclenchée a été terminée.</li><li>`comment` : vous avez commenté un problème ou une demande de tirage.</li><li>`manual` : une mise à jour a été effectuée à un problème ou une demande de tirage auquel vous vous êtes abonné manuellement.</li><li>`mention` : vous avez été mentionné dans un problème ou une demande de tirage.</li><li>`push` : quelqu’un a commité dans une demande de tirage à laquelle vous êtes abonné.</li><li>`review_requested` : vous ou une équipe dont vous êtes membre avez été invité à réviser une demande de tirage.</li><li>`security_alert` : {% data variables.product.prodname_dotcom %} a détecté une vulnérabilité dans un dépôt pour lequel vous recevez des alertes.</li><li>`state_change` : une demande de tirage ou un problème auquel vous êtes abonné a été fermé ou ouvert.</li><li>`subscribed` : une mise à jour a eu lieu dans un dépôt que vous surveillez.</li><li>`team_mention` : une équipe dont vous êtes membre a été mentionnée dans un problème ou une demande de tirage.</li><li>`your_activity` : vous avez ouvert, commenté ou fermé un problème ou une demande de tirage.</li></ul> |
|
||||
| Champ`mailing list` | Ce champ identifie le nom du dépôt et son propriétaire. Le format de cette adresse est toujours `<repository name>.<repository owner>.{% data variables.command_line.backticks %}`. |
|
||||
| Champ`X-GitHub-Severity` | {% data reusables.repositories.security-alerts-x-github-severity %} Les niveaux de gravité possibles sont les suivants :<ul><li>`low`</li><li>`moderate`</li><li>`high`</li><li>`critical`</li></ul>Pour plus d’informations, consultez « [À propos de {% data variables.product.prodname_dependabot_alerts %}](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies) ». |
|
||||
|
||||
## Choosing your notification settings
|
||||
## Choix de vos paramètres de notification
|
||||
|
||||
{% data reusables.notifications.access_notifications %}
|
||||
{% data reusables.notifications-v2.manage-notifications %}
|
||||
3. On the notifications settings page, choose how you receive notifications when:
|
||||
- There are updates in repositories or team discussions you're watching or in a conversation you're participating in. For more information, see "[About participating and watching notifications](#about-participating-and-watching-notifications)."
|
||||
- You gain access to a new repository or you've joined a new team. For more information, see "[Automatic watching](#automatic-watching)."
|
||||
- There are new {% data variables.product.prodname_dependabot_alerts %} in your repository. For more information, see "[{% data variables.product.prodname_dependabot_alerts %} notification options](#dependabot-alerts-notification-options)." {% ifversion fpt or ghec %}
|
||||
- There are workflow runs updates on repositories set up with {% data variables.product.prodname_actions %}. For more information, see "[{% data variables.product.prodname_actions %} notification options](#github-actions-notification-options)."{% endif %}{% ifversion fpt or ghec or ghes > 3.3 or ghae > 3.3 %}
|
||||
- There are new deploy keys added to repositories that belong to organizations that you're an owner of. For more information, see "[Organization alerts notification options](#organization-alerts-notification-options)."{% endif %}
|
||||
{% data reusables.notifications.access_notifications %} {% data reusables.notifications-v2.manage-notifications %}
|
||||
3. Dans la page des paramètres de notifications, choisissez la façon dont vous recevez des notifications quand :
|
||||
- Des mises à jour ont lieu dans les dépôts ou les discussions d’équipe que vous surveillez ou dans une conversation à laquelle vous participez. Pour plus d’informations, consultez « [À propos des notifications de participation et de surveillance](#about-participating-and-watching-notifications) ».
|
||||
- Vous accédez à un nouveau dépôt ou vous avez rejoint une nouvelle équipe. Pour plus d’informations, consultez [Surveillance automatique](#automatic-watching).
|
||||
- Il existe de nouvelles {% data variables.product.prodname_dependabot_alerts %} dans votre dépôt. Pour plus d’informations, consultez « [Options de notification des {% data variables.product.prodname_dependabot_alerts %}](#dependabot-alerts-notification-options) ». {% ifversion fpt or ghec %}
|
||||
- Des mises à jour d’exécutions de flux de travail ont lieu dans des dépôts configurés avec {% data variables.product.prodname_actions %}. Pour plus d’informations, consultez « [Options de notification {% data variables.product.prodname_actions %}](#github-actions-notification-options) ».{% endif %}{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5668 %}
|
||||
- De nouvelles clés de déploiement sont ajoutées à des dépôts appartenant à des organisations dont vous êtes propriétaire. Pour plus d’informations, consultez « [Options de notification des alertes d’organisation](#organization-alerts-notification-options) ».{% endif %}
|
||||
|
||||
## Automatic watching
|
||||
## Surveillance automatique
|
||||
|
||||
By default, anytime you gain access to a new repository, you will automatically begin watching that repository. Anytime you join a new team, you will automatically be subscribed to updates and receive notifications when that team is @mentioned. If you don't want to automatically be subscribed, you can unselect the automatic watching options in your notification settings.
|
||||
Par défaut, chaque fois que l’accès à un nouveau dépôt vous est accordé, vous commencez automatiquement à surveiller ce dépôt. Chaque fois que vous rejoignez une nouvelle équipe, vous êtes automatiquement abonné aux mises à jour et vous recevez des notifications lorsque cette équipe est @mentioned. Si vous ne souhaitez pas être abonné automatiquement, vous pouvez désélectionner les options de surveillance automatique.
|
||||
|
||||
{% ifversion update-notification-settings-22 %}
|
||||

|
||||
{% else %}
|
||||
{% endif %}
|
||||

|
||||
|
||||
If "Automatically watch repositories" is disabled, then you will not automatically watch your own repositories. You must navigate to your repository page and choose the watch option.
|
||||
Si l’option « Surveiller automatiquement les dépôts » est désactivée, vous ne surveillerez pas automatiquement vos propres dépôts. Vous devez accéder à votre page de dépôt et choisir l’option de surveillance.
|
||||
|
||||
For more information, see "[Choosing your notification settings](/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#choosing-your-notification-settings)."
|
||||
## Configuration de vos paramètres de surveillance pour un dépôt spécifique
|
||||
|
||||
## Configuring your watch settings for an individual repository
|
||||
|
||||
You can choose whether to watch or unwatch an individual repository. You can also choose to only be notified of certain event types such as {% data reusables.notifications-v2.custom-notification-types %} (if enabled for the repository) , or completely ignore an individual repository.
|
||||
Vous pouvez choisir de surveiller ou non un dépôt spécifique. Vous pouvez également choisir d’être notifié uniquement de certains types d’événements tels que {% data reusables.notifications-v2.custom-notification-types %} (si c’est activé pour le dépôt) ou d’ignorer complètement un dépôt.
|
||||
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
2. In the upper-right corner, select the "Watch" drop-down menu to click a watch option.
|
||||

|
||||
2. Dans le coin supérieur droit, sélectionnez le menu déroulant « Watch » pour cliquer sur une option de surveillance.
|
||||
{% ifversion fpt or ghes or ghae-issue-4910 or ghec %} 
|
||||
|
||||
The **Custom** option allows you to further customize notifications so that you're only notified when specific events happen in the repository, in addition to participating and @mentions.
|
||||

|
||||
If you select "Issues", you will be notified about, and subscribed to, updates on every issue (including those that existed prior to you selecting this option) in the repository. If you're @mentioned in a pull request in this repository, you'll receive notifications for that too, and you'll be subscribed to updates on that specific pull request, in addition to being notified about issues.
|
||||
L’option **Personnalisé** vous permet de personnaliser davantage les notifications afin d’être averti uniquement lorsque des événements spécifiques se produisent dans le dépôt, en plus de la participation et de @mentions.
|
||||
{% else %} {% endif %} {% ifversion fpt or ghes or ghae-issue-4910 or ghec %}  Si vous sélectionnez « Problèmes », vous serez averti et abonné aux mises à jour de chaque problème (y compris ceux qui existaient avant la sélection de cette option) dans le dépôt. Si vous êtes @mentioned dans une demande de tirage dans ce dépôt, vous recevrez également des notifications pour cela, et vous serez abonné aux mises à jour de cette demande de tirage spécifique, en plus d’être averti des problèmes.
|
||||
{% endif %}
|
||||
|
||||
## Choosing where your organization’s email notifications are sent
|
||||
## Choix de l’emplacement où les notifications par e-mail de votre organisation sont envoyées
|
||||
|
||||
If you belong to an organization, you can choose the email account you want notifications for organization activity sent to. For example, if you belong to an organization for work, you may want your notifications sent to your work email address, rather than your personal address.
|
||||
Si vous appartenez à une organisation, vous pouvez choisir le compte e-mail auquel vous souhaitez envoyer les notifications pour l’activité de l’organisation. Par exemple, si vous appartenez à une organisation pour le travail, vous souhaiterez peut-être que vos notifications soient envoyées à votre adresse e-mail professionnelle plutôt qu’à votre adresse personnelle.
|
||||
|
||||
{% data reusables.notifications-v2.email-notification-caveats %}
|
||||
|
||||
{% data reusables.notifications.access_notifications %}
|
||||
{% data reusables.notifications-v2.manage-notifications %}
|
||||
{% data reusables.notifications.access_notifications %} {% data reusables.notifications-v2.manage-notifications %}
|
||||
3. Sous « E-mail de notification par défaut », sélectionnez l’adresse e-mail à laquelle vous souhaitez recevoir les notifications.
|
||||

|
||||
4. Cliquez sur **Enregistrer**.
|
||||
|
||||
3. Under "Default notification email", select the email address you'd like notifications sent to.
|
||||
{% ifversion update-notification-settings-22 %}
|
||||
### Personnalisation des routes de messagerie par organisation
|
||||
|
||||

|
||||
Si vous êtes membre de plusieurs organisations, vous pouvez configurer chacune d’elles de façon à envoyer des notifications à n’importe laquelle de{% ifversion fpt or ghec %} vos adresses e-mail vérifiées{% else %} les adresses e-mail de votre compte{% endif %}. {% ifversion fpt or ghec %} Pour plus d’informations, consultez « [Vérification de votre adresse e-mail](/articles/verifying-your-email-address) ».{% endif %}
|
||||
|
||||
{% else %}
|
||||
{% data reusables.notifications.access_notifications %} {% data reusables.notifications-v2.manage-notifications %}
|
||||
3. Sous « Routage personnalisé », recherchez le nom de votre organisation dans la liste.
|
||||

|
||||
4. Cliquez sur **Modifier** en regard de l’adresse e-mail que vous souhaitez modifier.
|
||||

|
||||
5. Sélectionnez l’une de vos adresses e-mail vérifiées, puis cliquez sur **Enregistrer**.
|
||||

|
||||
|
||||
{% endif %}
|
||||
{% ifversion ghes or ghae %}
|
||||
4. Click **Save**.{% endif %}
|
||||
## Options de notification des {% data variables.product.prodname_dependabot_alerts %}
|
||||
|
||||
### Customizing email routes per organization
|
||||
{% data reusables.notifications.vulnerable-dependency-notification-enable %} {% data reusables.notifications.vulnerable-dependency-notification-delivery-method-customization2 %} {% data reusables.notifications.vulnerable-dependency-notification-options %}
|
||||
|
||||
If you are a member of more than one organization, you can configure each one to send notifications to any of{% ifversion fpt or ghec %} your verified email addresses{% else %} the email addresses for your account{% endif %}. {% ifversion fpt or ghec %} For more information, see "[Verifying your email address](/articles/verifying-your-email-address)."{% endif %}
|
||||
Pour plus d’informations sur les méthodes de remise de notification disponibles, et pour obtenir des conseils sur l’optimisation de vos notifications pour {% data variables.product.prodname_dependabot_alerts %}, consultez « [Configuration des notifications pour {% data variables.product.prodname_dependabot_alerts %}](/code-security/dependabot/dependabot-alerts/configuring-notifications-for-dependabot-alerts) ».
|
||||
|
||||
{% data reusables.notifications.access_notifications %}
|
||||
{% data reusables.notifications-v2.manage-notifications %}
|
||||
{% ifversion update-notification-settings-22 %}
|
||||
3. Under "Default notifications email", click **Custom routing**.
|
||||
{% ifversion fpt or ghes or ghec %}
|
||||
## Options de notification {% data variables.product.prodname_actions %}
|
||||
|
||||

|
||||
Choisissez comment vous souhaitez recevoir les mises à jour d’exécution de flux de travail pour les dépôts que vous surveillez et qui sont configurés avec {% data variables.product.prodname_actions %}. Vous pouvez également choisir de recevoir des notifications uniquement pour les exécutions de flux de travail ayant échoué.
|
||||
|
||||
4. Click **Add new route**.
|
||||

|
||||
|
||||

|
||||
{% endif %}
|
||||
|
||||
5. Click **Pick organization**, then select the organization you want to customize from the dropdown.
|
||||
{% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5668 %}
|
||||
## Options de notification des alertes d’organisation
|
||||
|
||||

|
||||
|
||||
6. Select one of your verified email addresses, then click **Save**.
|
||||
|
||||

|
||||
|
||||
{% else %}
|
||||
3. Under "Custom routing," find your organization's name in the list.
|
||||
|
||||

|
||||
|
||||
4. Click **Edit** next to the email address you want to change.
|
||||
|
||||

|
||||
|
||||
5. Select one of your verified email addresses, then click **Save**.
|
||||
|
||||
{% endif %}
|
||||
|
||||
## {% data variables.product.prodname_dependabot_alerts %} notification options
|
||||
|
||||
{% data reusables.notifications.vulnerable-dependency-notification-enable %}
|
||||
{% data reusables.notifications.vulnerable-dependency-notification-delivery-method-customization2 %}
|
||||
{% data reusables.notifications.vulnerable-dependency-notification-options %}
|
||||
|
||||
For more information about the notification delivery methods available to you, and advice on optimizing your notifications for {% data variables.product.prodname_dependabot_alerts %}, see "[Configuring notifications for {% data variables.product.prodname_dependabot_alerts %}](/code-security/dependabot/dependabot-alerts/configuring-notifications-for-dependabot-alerts)."
|
||||
|
||||
{% ifversion update-notification-settings-22 or ghes %}
|
||||
## {% data variables.product.prodname_actions %} notification options
|
||||
|
||||
Choose how you want to receive workflow run updates for repositories that you are watching that are set up with {% data variables.product.prodname_actions %}. You can also choose to only receive notifications for failed workflow runs.{% endif %}
|
||||
|
||||
{% ifversion update-notification-settings-22 %}
|
||||
{% endif %}
|
||||
|
||||
{% ifversion ghes %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.3 or ghae > 3.3 %}
|
||||
## Organization alerts notification options
|
||||
|
||||
If you're an organization owner, you'll receive email notifications by default when organization members add new deploy keys to repositories within the organization. You can unsubscribe from these notifications. On the notification settings page, under "Organization alerts", unselect **Email**.
|
||||
Si vous êtes propriétaire d’une organisation, vous recevez des notifications par e-mail par défaut lorsque les membres de l’organisation ajoutent de nouvelles clés de déploiement aux dépôts au sein de l’organisation. Vous pouvez vous désabonner de ces notifications. Dans la page des paramètres de notification, sous « Alertes d’organisation », désélectionnez **E-mail**.
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% ifversion fpt or ghes or ghec %}
|
||||
## Managing your notification settings with {% data variables.product.prodname_mobile %}
|
||||
## Gestion de vos paramètres de notification avec {% data variables.product.prodname_mobile %}
|
||||
|
||||
When you install {% data variables.product.prodname_mobile %}, you will automatically be opted into web notifications. Within the app, you can enable push notifications for the following events.
|
||||
- Direct mentions
|
||||
- Assignments to issues or pull requests
|
||||
- Requests to review a pull request
|
||||
- Requests to approve a deployment
|
||||
Lorsque vous installez {% data variables.product.prodname_mobile %}, vous êtes automatiquement inscrit pour les notifications web. Dans l’application, vous pouvez activer les notifications Push pour les événements suivants.
|
||||
- Mentions directes
|
||||
- Affectations à des problèmes ou demandes de tirage
|
||||
- Demandes de révision d’une demande de tirage
|
||||
- Demandes d’approbation d’un déploiement
|
||||
|
||||
You can also schedule when {% data variables.product.prodname_mobile %} will send push notifications to your mobile device.
|
||||
Vous pouvez également planifier quand {% data variables.product.prodname_mobile %} envoie des notifications Push à votre appareil mobile.
|
||||
|
||||
{% data reusables.mobile.push-notifications-on-ghes %}
|
||||
|
||||
### Managing your notification settings with {% data variables.product.prodname_ios %}
|
||||
### Gestion de vos paramètres de notification avec {% data variables.product.prodname_ios %}
|
||||
|
||||
1. In the bottom menu, tap **Profile**.
|
||||
2. To view your settings, tap {% octicon "gear" aria-label="The Gear icon" %}.
|
||||
3. To update your notification settings, tap **Notifications** and then use the toggles to enable or disable your preferred types of push notifications.
|
||||
4. Optionally, to schedule when {% data variables.product.prodname_mobile %} will send push notifications to your mobile device, tap **Working Hours**, use the **Custom working hours** toggle, and then choose when you would like to receive push notifications.
|
||||
1. Dans le menu inférieur, appuyez sur **Profil**.
|
||||
2. Pour afficher vos paramètres, appuyez sur {% octicon "gear" aria-label="The Gear icon" %}.
|
||||
3. Pour mettre à jour vos paramètres de notification, appuyez sur **Notifications**, puis utilisez les bascules pour activer ou désactiver vos types préférés de notifications Push.
|
||||
4. Si vous le souhaitez, pour planifier quand {% data variables.product.prodname_mobile %} envoient des notifications Push à votre appareil mobile, appuyez sur **Heures de travail**, utilisez le bouton bascule **Heures de travail personnalisées**, puis choisissez quand vous souhaitez recevoir des notifications Push.
|
||||
|
||||
### Managing your notification settings with {% data variables.product.prodname_android %}
|
||||
### Gestion de vos paramètres de notification avec {% data variables.product.prodname_android %}
|
||||
|
||||
1. In the bottom menu, tap **Profile**.
|
||||
2. To view your settings, tap {% octicon "gear" aria-label="The Gear icon" %}.
|
||||
3. To update your notification settings, tap **Configure Notifications** and then use the toggles to enable or disable your preferred types of push notifications.
|
||||
4. Optionally, to schedule when {% data variables.product.prodname_mobile %} will send push notifications to your mobile device, tap **Working Hours**, use the **Custom working hours** toggle, and then choose when you would like to receive push notifications.
|
||||
1. Dans le menu inférieur, appuyez sur **Profil**.
|
||||
2. Pour afficher vos paramètres, appuyez sur {% octicon "gear" aria-label="The Gear icon" %}.
|
||||
3. Pour mettre à jour vos paramètres de notification, appuyez sur **Configurer les notifications**, puis utilisez les bascules pour activer ou désactiver vos types préférés de notifications Push.
|
||||
4. Si vous le souhaitez, pour planifier quand {% data variables.product.prodname_mobile %} envoient des notifications Push à votre appareil mobile, appuyez sur **Heures de travail**, utilisez le bouton bascule **Heures de travail personnalisées**, puis choisissez quand vous souhaitez recevoir des notifications Push.
|
||||
|
||||
## Configuring your watch settings for an individual repository with {% data variables.product.prodname_mobile %}
|
||||
## Configuration de vos paramètres de surveillance pour un dépôt spécifique avec {% data variables.product.prodname_mobile %}
|
||||
|
||||
You can choose whether to watch or unwatch an individual repository. You can also choose to only be notified of {% ifversion fpt or ghec %}certain event types such as issues, pull requests, discussions (if enabled for the repository) and {% endif %}new releases, or completely ignore an individual repository.
|
||||
Vous pouvez choisir de surveiller ou non un dépôt spécifique. Vous pouvez également choisir d’être notifié uniquement de {% ifversion fpt or ghec %}certains types d’événements tels que les problèmes, les demandes de tirage, les discussions (si c’est activé pour le dépôt) et {% endif %}des nouvelles mises en production, ou d’ignorer complètement un dépôt spécifique.
|
||||
|
||||
1. On {% data variables.product.prodname_mobile %}, navigate to the main page of the repository.
|
||||
2. Tap **Watch**.
|
||||

|
||||
3. To choose what activities you receive notifications for, tap your preferred watch settings.
|
||||

|
||||
1. Sur {% data variables.product.prodname_mobile %}, accédez à la page principale du dépôt.
|
||||
2. Appuyez sur **Watch**.
|
||||

|
||||
3. Pour choisir les activités pour lesquelles vous recevez des notifications, appuyez sur vos paramètres de surveillance préférés.
|
||||

|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Managing your profile README
|
||||
intro: 'You can add a README to your {% data variables.product.prodname_dotcom %} profile to tell other people about yourself.'
|
||||
title: Gestion de votre README de profil
|
||||
intro: 'Vous pouvez ajouter un fichier README à votre profil {% data variables.product.prodname_dotcom %} pour vous présenter auprès des autres.'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -11,67 +11,71 @@ redirect_from:
|
||||
- /github/setting-up-and-managing-your-github-profile/managing-your-profile-readme
|
||||
- /github/setting-up-and-managing-your-github-profile/customizing-your-profile/managing-your-profile-readme
|
||||
shortTitle: Your profile README
|
||||
ms.openlocfilehash: 587bcea1e1a0f96aad8882b41196afcc6e433363
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147578899'
|
||||
---
|
||||
## About your profile README
|
||||
## À propos de votre README de profil
|
||||
|
||||
You can share information about yourself with the community on {% data variables.location.product_location %} by creating a profile README. {% data variables.product.prodname_dotcom %} shows your profile README at the top of your profile page.
|
||||
Vous pouvez partager des informations sur vous-même avec la communauté sur {% data variables.product.product_location %} en créant un README de profil. {% data variables.product.prodname_dotcom %} affiche votre README de profil en haut de votre page de profil.
|
||||
|
||||
You decide what information to include in your profile README, so you have full control over how you present yourself on {% data variables.product.prodname_dotcom %}. Here are some examples of information that visitors may find interesting, fun, or useful in your profile README.
|
||||
C’est vous qui décidez des informations à inclure dans votre README de profil ; vous disposez ainsi d’un contrôle total sur la façon dont vous vous présentez sur {% data variables.product.prodname_dotcom %}. Voici quelques exemples d’informations que les visiteurs peuvent trouver intéressantes, amusantes ou utiles dans votre README de profil.
|
||||
|
||||
- An "About me" section that describes your work and interests
|
||||
- Contributions you're proud of, and context about those contributions
|
||||
- Guidance for getting help in communities where you're involved
|
||||
- Une section « À propos de moi » qui décrit votre travail et vos intérêts
|
||||
- Les contributions dont vous êtes fier et le contexte de ces contributions
|
||||
- Des conseils pour obtenir de l’aide dans les communautés où vous êtes impliqué
|
||||
|
||||

|
||||

|
||||
|
||||
You can format text and include emoji, images, and GIFs in your profile README by using {% data variables.product.company_short %} Flavored Markdown. For more information, see "[Getting started with writing and formatting on {% data variables.product.prodname_dotcom %}](/github/writing-on-github/getting-started-with-writing-and-formatting-on-github)." For a hands-on guide to customizing your profile README, see "[Quickstart for writing on {% data variables.product.prodname_dotcom %}](/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/quickstart-for-writing-on-github)."
|
||||
Vous pouvez mettre en forme le texte et inclure des emojis, des images et des fichiers GIF dans votre README de profil à l’aide de {% data variables.product.company_short %} Flavored Markdown. Pour plus d’informations, consultez « [Bien démarrer avec l’écriture et la mise en forme sur {% data variables.product.prodname_dotcom %}](/github/writing-on-github/getting-started-with-writing-and-formatting-on-github) ».
|
||||
|
||||
## Prerequisites
|
||||
## Prérequis
|
||||
|
||||
GitHub will display your profile README on your profile page if all of the following are true.
|
||||
GitHub affiche votre README de profil sur votre page de profil si toutes les conditions suivantes sont remplies.
|
||||
|
||||
- You've created a repository with a name that matches your {% data variables.product.prodname_dotcom %} username.
|
||||
- The repository is public.
|
||||
- The repository contains a file named README.md in its root.
|
||||
- The README.md file contains any content.
|
||||
- Vous avez créé un dépôt avec un nom qui correspond à votre nom d’utilisateur {% data variables.product.prodname_dotcom %}
|
||||
- Le dépôt est public
|
||||
- Le dépôt contient un fichier nommé README.md à sa racine
|
||||
- Le fichier README.md a tout contenu
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: If you created a public repository with the same name as your username before July 2020, {% data variables.product.prodname_dotcom %} won't automatically show the repository's README on your profile. You can manually share the repository's README to your profile by going to the repository on {% data variables.product.prodname_dotcom_the_website %} and clicking **Share to profile**.
|
||||
**Remarque** : Si vous avez créé un dépôt public portant le même nom que votre nom d’utilisateur avant juillet 2020, {% data variables.product.prodname_dotcom %} n’affichera pas automatiquement le fichier README du dépôt sur votre profil. Vous pouvez partager manuellement le fichier README du dépôt sur votre profil en accédant au dépôt sur {% data variables.product.prodname_dotcom_the_website %} et en cliquant sur **Partager sur le profil**.
|
||||
|
||||

|
||||

|
||||
|
||||
{% endnote %}
|
||||
|
||||
## Adding a profile README
|
||||
## Ajout d’un README de profil
|
||||
|
||||
{% data reusables.repositories.create_new %}
|
||||
2. Under "Repository name", type a repository name that matches your {% data variables.product.prodname_dotcom %} username. For example, if your username is "octocat", the repository name must be "octocat".
|
||||

|
||||
3. Optionally, add a description of your repository. For example, "My personal repository."
|
||||

|
||||
4. Select **Public**.
|
||||

|
||||
{% data reusables.repositories.initialize-with-readme %}
|
||||
{% data reusables.repositories.create-repo %}
|
||||
7. Above the right sidebar, click **Edit README**.
|
||||

|
||||
2. Sous « Nom du dépôt », tapez un nom de dépôt qui correspond à votre nom d’utilisateur {% data variables.product.prodname_dotcom %}. Par exemple, si votre nom d’utilisateur est « octocat », le nom du dépôt doit être « octocat ».
|
||||

|
||||
3. Ajoutez éventuellement une description pour votre dépôt. Par exemple, « Mon dépôt personnel ».
|
||||

|
||||
4. Sélectionnez **Public**.
|
||||
 {% data reusables.repositories.initialize-with-readme %} {% data reusables.repositories.create-repo %}
|
||||
7. Au-dessus de la barre latérale droite, cliquez sur **Modifier le README**.
|
||||

|
||||
|
||||
The generated README file is pre-populated with a template to give you some inspiration for your profile README.
|
||||

|
||||
Le fichier README généré est prérempli avec un modèle afin de vous donner une inspiration pour votre README de profil.
|
||||

|
||||
|
||||
For a summary of all the available emojis and their codes, see "[Emoji cheat sheet](https://www.webfx.com/tools/emoji-cheat-sheet/)."
|
||||
Pour obtenir une synthèse de tous les emojis disponibles et de leurs codes, consultez « [Emoji Cheat Sheet](https://www.webfx.com/tools/emoji-cheat-sheet/) ».
|
||||
|
||||
## Removing a profile README
|
||||
## Suppression d’un README de profil
|
||||
|
||||
The profile README is removed from your {% data variables.product.prodname_dotcom %} profile if any of the following apply:
|
||||
Le README de profil est supprimé de votre profil {% data variables.product.prodname_dotcom %} si l’une des conditions suivantes est remplie :
|
||||
|
||||
- The README file is empty or doesn't exist.
|
||||
- The repository is private.
|
||||
- The repository name no longer matches your username.
|
||||
- Le fichier README est vide ou n’existe pas
|
||||
- Le dépôt est privé
|
||||
- Le nom du dépôt ne correspond plus à votre nom d’utilisateur
|
||||
|
||||
The method you choose depends upon your needs, but if you're unsure, we recommend making your repository private. For steps on how to make your repository private, see "[Changing a repository's visibility](/github/administering-a-repository/setting-repository-visibility#changing-a-repositorys-visibility)."
|
||||
La méthode que vous choisissez dépend de vos besoins, mais si vous n’êtes pas sûr, nous vous recommandons de rendre votre dépôt privé. Pour savoir comment rendre votre référentiel privé, consultez « [Modification de la visibilité d’un référentiel](/github/administering-a-repository/setting-repository-visibility#changing-a-repositorys-visibility) ».
|
||||
|
||||
## Further reading
|
||||
## Pour aller plus loin
|
||||
|
||||
- [About READMEs](/github/creating-cloning-and-archiving-repositories/about-readmes)
|
||||
- [À propos des README](/github/creating-cloning-and-archiving-repositories/about-readmes)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Personalizing your profile
|
||||
intro: 'You can share information about yourself with other {% data variables.product.product_name %} users by setting a profile picture and adding a bio to your profile.'
|
||||
title: Personnalisation de votre profil
|
||||
intro: 'Vous pouvez partager des informations sur vous-même avec d’autres utilisateurs {% data variables.product.product_name %} en définissant une image de profil et en ajoutant une bio à votre profil.'
|
||||
redirect_from:
|
||||
- /articles/adding-a-bio-to-your-profile
|
||||
- /articles/setting-your-profile-picture
|
||||
@@ -18,188 +18,158 @@ versions:
|
||||
topics:
|
||||
- Profiles
|
||||
shortTitle: Personalize
|
||||
ms.openlocfilehash: c12fccd91144428fe9aad2f01d2c0b0941fdd4d4
|
||||
ms.sourcegitcommit: 1309b46201604c190c63bfee47dce559003899bf
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/10/2022
|
||||
ms.locfileid: '146681052'
|
||||
---
|
||||
## Changing your profile picture
|
||||
## Changement de votre image de profil
|
||||
|
||||
Your profile picture helps identify you across {% data variables.product.product_name %} in pull requests, comments, contributions pages, and graphs.
|
||||
Votre image de profil vous permet de vous identifier dans {% data variables.product.product_name %} dans les demandes de tirage (pull requests), les commentaires, les pages de contributions et les graphes.
|
||||
|
||||
When you sign up for an account, {% data variables.product.product_name %} provides you with a randomly generated "identicon". [Your identicon](https://github.com/blog/1586-identicons) generates from a hash of your user ID, so there's no way to control its color or pattern. You can replace your identicon with an image that represents you.
|
||||
Lorsque vous ouvrez un compte, {% data variables.product.product_name %} vous fournit un « identicon » généré de manière aléatoire. [Votre identicon](https://github.com/blog/1586-identicons) est généré à partir d’un hachage de votre ID d’utilisateur ; il n’existe aucun moyen de contrôler sa couleur ou son modèle. Vous pouvez remplacer votre identicon par une image qui vous représente.
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note{% ifversion ghec %}s{% endif %}**: {% ifversion ghec %}
|
||||
**Remarque{% ifversion ghec %}s{% endif %}** : {% ifversion ghec %}
|
||||
|
||||
* {% endif %}Your profile picture should be a PNG, JPG, or GIF file, and it must be less than 1 MB in size and smaller than 3000 by 3000 pixels. For the best quality rendering, we recommend keeping the image at about 500 by 500 pixels.
|
||||
{% ifversion ghec %}* Gravatar profile pictures are not supported with {% data variables.product.prodname_emus %}.{% endif %}
|
||||
* {% endif %}Votre image de profil doit être un fichier PNG, JPG ou GIF, et elle doit être inférieure à 1 Mo de taille et inférieure à 3 000 x 3 000 pixels. Pour un rendu de qualité optimale, nous vous recommandons de choisir une image d’environ 500 x 500 pixels.
|
||||
{% ifversion ghec %}* Les images de profil Gravatar ne sont pas prises en charge avec {% data variables.product.prodname_emus %}.{% endif %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
### Setting a profile picture
|
||||
### Définition d’une image de profil
|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
2. Under **Profile Picture**, click {% octicon "pencil" aria-label="The edit icon" %} **Edit**.
|
||||

|
||||
3. Click **Upload a photo...**.{% ifversion not ghae %}
|
||||
{% endif %}
|
||||
3. Crop your picture. When you're done, click **Set new profile picture**.
|
||||

|
||||
2. Sous **Image de profil**, cliquez sur {% octicon "pencil" aria-label="The edit icon" %} **Modifier**.
|
||||

|
||||
3. Cliquez sur **Charger une photo...** .{% ifversion not ghae %}{% endif %}
|
||||
3. Rognez votre image. Lorsque vous avez terminé, cliquez sur **Définir une nouvelle image de profil**.
|
||||

|
||||
|
||||
### Resetting your profile picture to the identicon
|
||||
### Réinitialisation de votre image de profil à l’identicon
|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
2. Under **Profile Picture**, click {% octicon "pencil" aria-label="The edit icon" %} **Edit**.
|
||||

|
||||
3. To revert to your identicon, click **Remove photo**. {% ifversion not ghae %}If your email address is associated with a [Gravatar](https://en.gravatar.com/), you cannot revert to your identicon. Click **Revert to Gravatar** instead.
|
||||
{% endif %}
|
||||
2. Sous **Image de profil**, cliquez sur {% octicon "pencil" aria-label="The edit icon" %} **Modifier**.
|
||||

|
||||
3. Pour revenir à votre identicon, cliquez sur **Supprimer la photo**. {% ifversion not ghae %}Si votre adresse e-mail est associée à un [Gravatar](https://en.gravatar.com/), vous ne pouvez pas revenir à votre identicon. Cliquez sur **Restaurer Gravatar** à la place.
|
||||
{% endif %}
|
||||
|
||||
## Changing your profile name
|
||||
## Modification du nom de votre profil
|
||||
|
||||
You can change the name that is displayed on your profile. This name may also be displayed next to comments you make on private repositories owned by an organization. For more information, see "[Managing the display of member names in your organization](/articles/managing-the-display-of-member-names-in-your-organization)."
|
||||
Vous pouvez modifier le nom affiché sur votre profil. Ce nom peut également être affiché en regard des commentaires que vous apportez dans les dépôts privés appartenant à une organisation. Pour plus d’informations, consultez « [Gestion de l’affichage des noms de membres dans votre organisation](/articles/managing-the-display-of-member-names-in-your-organization) ».
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
{% note %}
|
||||
{% ifversion fpt or ghec %} {% note %}
|
||||
|
||||
**Note:** If you're a member of an {% data variables.enterprise.prodname_emu_enterprise %}, any changes to your profile name must be made through your identity provider instead of {% data variables.product.prodname_dotcom_the_website %}. {% data reusables.enterprise-accounts.emu-more-info-account %}
|
||||
**Remarque :** Si vous êtes membre d’une {% data variables.product.prodname_emu_enterprise %}, toutes les modifications apportées à votre nom de profil doivent être apportées via votre fournisseur d’identité plutôt que par le biais de {% data variables.product.prodname_dotcom_the_website %}. {% data reusables.enterprise-accounts.emu-more-info-account %}
|
||||
|
||||
{% endnote %}
|
||||
{% endif %}
|
||||
{% endnote %} {% endif %}
|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
2. Under "Name", type the name you want to be displayed on your profile.
|
||||

|
||||
2. Sous « Nom », tapez le nom que vous souhaitez afficher sur votre profil.
|
||||

|
||||
|
||||
## Adding a bio to your profile
|
||||
## Ajout d’une bio à votre profil
|
||||
|
||||
Add a bio to your profile to share information about yourself with other {% data variables.product.product_name %} users. With the help of [@mentions](/articles/basic-writing-and-formatting-syntax) and emoji, you can include information about where you currently or have previously worked, what type of work you do, or even what kind of coffee you drink.
|
||||
Ajoutez une bio à votre profil pour partager des informations sur vous-même avec d’autres utilisateurs de {% data variables.product.product_name %}. Avec l’aide de [@mentions](/articles/basic-writing-and-formatting-syntax) et d’emojis, vous pouvez inclure des informations sur les endroits où vous avez déjà travaillé, quel type de travail vous faites, ou même quel type de café vous buvez.
|
||||
|
||||
{% ifversion fpt or ghes or ghec %}
|
||||
|
||||
For a longer-form and more prominent way of displaying customized information about yourself, you can also use a profile README. For more information, see "[Managing your profile README](/github/setting-up-and-managing-your-github-profile/managing-your-profile-readme)."
|
||||
Pour avoir un formulaire plus long et présenter davantage d’informations personnalisées sur vous-même, vous pouvez également utiliser un README de profil. Pour plus d’informations, consultez « [Gestion de votre README de profil »](/github/setting-up-and-managing-your-github-profile/managing-your-profile-readme).
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:**
|
||||
If you have the activity overview section enabled for your profile and you @mention an organization you're a member of in your profile bio, then that organization will be featured first in your activity overview. For more information, see "[Showing an overview of your activity on your profile](/articles/showing-an-overview-of-your-activity-on-your-profile)."
|
||||
**Remarque :** Si la section de vue d’ensemble de l’activité est activée pour votre profil et que vous @mention une organisation dont êtes membre dans votre bio de profil, cette organisation sera proposée en premier dans votre vue d’ensemble de l’activité. Pour plus d’informations, consultez « [Affichage d’une vue d’ensemble de votre activité sur votre profil](/articles/showing-an-overview-of-your-activity-on-your-profile) ».
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
2. Under **Bio**, add the content that you want displayed on your profile. The bio field is limited to 160 characters.
|
||||

|
||||
2. Sous **Bio**, ajoutez le contenu que vous souhaitez afficher sur votre profil. Le champ bio est limité à 160 caractères.
|
||||

|
||||
|
||||
{% tip %}
|
||||
|
||||
**Tip:** When you @mention an organization, only those that you're a member of will autocomplete. You can still @mention organizations that you're not a member of, like a previous employer, but the organization name won't autocomplete for you.
|
||||
**Astuce :** Quand vous @mention une organisation, l’autocomplétion est effectuée uniquement pour celles dont vous êtes membre. Vous pouvez toujours @mention des organisations dont vous n’êtes pas membre, comme un employeur précédent, mais le nom de l’organisation ne sera pas automatiquement renseigné pour vous.
|
||||
|
||||
{% endtip %}
|
||||
|
||||
{% data reusables.profile.update-profile %}
|
||||
3. Cliquez sur **Mettre à jour le profil**.
|
||||

|
||||
|
||||
{% ifversion profile-time-zone %}
|
||||
## Définition d’un état
|
||||
|
||||
## Setting your location and time zone
|
||||
Vous pouvez définir un état pour afficher des informations sur votre disponibilité actuelle sur {% data variables.product.product_name %}. Votre état s’affiche :
|
||||
- Sur votre page de profil {% data variables.product.product_name %}.
|
||||
- Lorsque les utilisateurs pointent sur votre nom d’utilisateur ou votre avatar sur {% data variables.product.product_name %}.
|
||||
- Sur la page d’une équipe dont vous êtes membre. Pour plus d’informations, consultez « [À propos des équipes](/articles/about-teams/#team-pages) ».
|
||||
- Dans le tableau de bord d’une organisation dont vous êtes membre. Pour plus d’informations, consultez « [À propos du tableau de bord de votre organisation](/articles/about-your-organization-dashboard/) ».
|
||||
|
||||
You can set a location and time zone on your profile to show other people your local time. Your location and time zone will be visible:
|
||||
- on your {% data variables.product.product_name %} profile page.
|
||||
- when people hover over your username or avatar on {% data variables.product.product_name %}.
|
||||
Lorsque vous définissez votre état, vous pouvez également préciser que vous avez une disponibilité limitée sur {% data variables.product.product_name %}.
|
||||
|
||||
When you view your profile, you will see your location, local time, and your time zone in relation to Universal Time Coordinated.
|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
When others view your profile, they will see your location, local time, and the time difference in hours from their own local time.
|
||||
Si vous sélectionnez l’option « Occupé », lorsque les utilisateurs @mention votre nom d’utilisateur, vous attribuent un problème ou une demande de tirage, ou vous demandent une révision de demande de tirage, une note en regard de votre nom d’utilisateur indique que vous êtes occupé. Vous serez également exclu de l’attribution de révision automatique pour les demandes de tirage attribuées à toutes les équipes dont vous êtes membre. Pour plus d’informations, consultez « [Gestion des paramètres de révision du code pour votre équipe](/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team) ».
|
||||
|
||||

|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
1. Under **Location**, type the location you want to be displayed on your profile.
|
||||
|
||||

|
||||
|
||||
1. Optionally, to display the current local time on your profile, select **Display current local time**.
|
||||
|
||||

|
||||
|
||||
- Select the **Time zone** dropdown menu, then click your local time zone.
|
||||
|
||||

|
||||
|
||||
{% data reusables.profile.update-profile %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Setting a status
|
||||
|
||||
You can set a status to display information about your current availability on {% data variables.product.product_name %}. Your status will show:
|
||||
- on your {% data variables.product.product_name %} profile page.
|
||||
- when people hover over your username or avatar on {% data variables.product.product_name %}.
|
||||
- on a team page for a team where you're a team member. For more information, see "[About teams](/articles/about-teams/#team-pages)."
|
||||
- on the organization dashboard in an organization where you're a member. For more information, see "[About your organization dashboard](/articles/about-your-organization-dashboard/)."
|
||||
|
||||
When you set your status, you can also let people know that you have limited availability on {% data variables.product.product_name %}.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
If you select the "Busy" option, when people @mention your username, assign you an issue or pull request, or request a pull request review from you, a note next to your username will show that you're busy. You will also be excluded from automatic review assignment for pull requests assigned to any teams you belong to. For more information, see "[Managing code review settings for your team](/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team)."
|
||||
|
||||
1. In the top right corner of {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom_the_website %}{% else %}{% data variables.product.product_name %}{% endif %}, click your profile photo, then click **Set status** or, if you already have a status set, click your current status.
|
||||

|
||||
2. To add custom text to your status, click in the text field and type a status message.
|
||||

|
||||
3. Optionally, to set an emoji status, click the smiley icon and select an emoji from the list.
|
||||

|
||||
4. Optionally, if you'd like to share that you have limited availability, select "Busy."
|
||||

|
||||
5. Use the **Clear status** drop-down menu, and select when you want your status to expire. If you don't select a status expiration, you will keep your status until you clear or edit your status.
|
||||

|
||||
6. Use the drop-down menu and click the organization you want your status visible to. If you don't select an organization, your status will be public.
|
||||

|
||||
7. Click **Set status**.
|
||||

|
||||
1. Dans le coin supérieur droit de {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom_the_website %}{% else %}{% data variables.product.product_name %}{% endif %}, cliquez sur votre photo de profil, puis cliquez sur **Définir votre statut** ou, si vous avez déjà un état défini, cliquez sur votre état actuel.
|
||||

|
||||
2. Pour ajouter du texte personnalisé à votre état, cliquez dans le champ de texte et tapez un message d’état.
|
||||

|
||||
3. Si vous le souhaitez, pour définir un emoji d’état, cliquez sur l’icône de sourire et sélectionnez un emoji dans la liste.
|
||||

|
||||
4. Si vous souhaitez préciser que votre disponibilité est limitée, sélectionnez « Occupé ».
|
||||

|
||||
5. Utilisez le menu déroulant **Effacer le statut**, puis sélectionnez quand vous souhaitez que votre état expire. Si vous ne sélectionnez pas d’expiration d’état, votre état est maintenu jusqu’à ce que vous l’effaciez ou le modifiiez.
|
||||

|
||||
6. Utilisez le menu déroulant et cliquez sur l’organisation pour laquelle vous souhaitez que votre état soit visible. Si vous ne sélectionnez pas d’organisation, votre statut sera public.
|
||||

|
||||
7. Cliquez sur **Définir le statut**.
|
||||

|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
## Displaying badges on your profile
|
||||
## Affichage de badges sur votre profil
|
||||
|
||||
When you participate in certain programs, {% data variables.product.prodname_dotcom %} automatically displays a badge on your profile.
|
||||
Lorsque vous participez à certains programmes, {% data variables.product.prodname_dotcom %} affiche automatiquement un badge sur votre profil.
|
||||
|
||||
| Badge | Program | Description |
|
||||
| Badge | Programme | Description |
|
||||
| --- | --- | --- |
|
||||
| {% octicon "cpu" aria-label="The Developer Program icon" %} | **Developer Program Member** | If you're a registered member of the {% data variables.product.prodname_dotcom %} Developer Program, building an app with the {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom %}{% else %}{% data variables.product.product_name %}{% endif %} API, you'll get a Developer Program Member badge on your profile. For more information on the {% data variables.product.prodname_dotcom %} Developer Program, see [GitHub Developer](/program/). |
|
||||
| {% octicon "star-fill" aria-label="The star icon" %} | **Pro** | If you use {% data variables.product.prodname_pro %} you'll get a PRO badge on your profile. For more information about {% data variables.product.prodname_pro %}, see "[{% data variables.product.prodname_dotcom %}'s products](/github/getting-started-with-github/githubs-products#github-pro)." |
|
||||
| {% octicon "lock" aria-label="The lock icon" %} | **Security Bug Bounty Hunter** | If you helped out hunting down security vulnerabilities, you'll get a Security Bug Bounty Hunter badge on your profile. For more information about the {% data variables.product.prodname_dotcom %} Security program, see [{% data variables.product.prodname_dotcom %} Security](https://bounty.github.com/). |
|
||||
| {% octicon "mortar-board" aria-label="The mortar-board icon" %} | **{% data variables.product.prodname_dotcom %} Campus Expert** | If you participate in the {% data variables.product.prodname_campus_program %}, you will get a {% data variables.product.prodname_dotcom %} Campus Expert badge on your profile. For more information about the Campus Experts program, see [Campus Experts](https://education.github.com/experts). |
|
||||
| {% octicon "shield" aria-label="The shield icon" %} | **Security advisory credit** | If a security advisory you submit to the [{% data variables.product.prodname_dotcom %} Advisory Database](https://github.com/advisories) is accepted, you'll get a Security advisory credit badge on your profile. For more information about {% data variables.product.prodname_dotcom %} Security Advisories, see [{% data variables.product.prodname_dotcom %} Security Advisories](/code-security/repository-security-advisories/about-github-security-advisories-for-repositories). |
|
||||
| {% octicon "check" aria-label="The check icon" %} | **Discussion answered** | If your reply to a discussion is marked as the answer, you'll get a Discussion answered badge on your profile. For more information about {% data variables.product.prodname_dotcom %} Discussions, see [About discussions](/discussions/collaborating-with-your-community-using-discussions/about-discussions). |
|
||||
| {% octicon "cpu" aria-label="The Developer Program icon" %} | **Developer Program Member** | Si vous êtes inscrit au {% data variables.product.prodname_dotcom %} Developer Program et que vous créez une application avec l’API {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom %}{% else %}{% data variables.product.product_name %}{% endif %}, vous recevrez un badge Developer Program Member sur votre profil. Pour plus d’informations sur le programme de développement {% data variables.product.prodname_dotcom %}, consultez [Développeur GitHub](/program/). |
|
||||
| {% octicon "star-fill" aria-label="The star icon" %} | **Pro** | Si vous utilisez {% data variables.product.prodname_pro %}, vous recevrez un badge PRO sur votre profil. Pour plus d’informations sur {% data variables.product.prodname_pro %}, consultez « [Produits de {% data variables.product.prodname_dotcom %}](/github/getting-started-with-github/githubs-products#github-pro) ». |
|
||||
| {% octicon "lock" aria-label="The lock icon" %} | **Security Bug Bounty Hunter** | Si vous avez aidé à détecter des vulnérabilités de sécurité, vous recevrez un badge Security Bug Bounty Hunter sur votre profil. Pour plus d’informations sur le programme de sécurité {% data variables.product.prodname_dotcom %}, consultez [Sécurité {% data variables.product.prodname_dotcom %}](https://bounty.github.com/). |
|
||||
| {% octicon "mortar-board" aria-label="The mortar-board icon" %} | **{% data variables.product.prodname_dotcom %} Campus Expert** | Si vous participez au {% data variables.product.prodname_campus_program %}, vous recevrez un badge {% data variables.product.prodname_dotcom %} Campus Expert sur votre profil. Pour plus d’informations sur le Campus Experts program, consultez [Campus Experts](https://education.github.com/experts). |
|
||||
| {% octicon "shield" aria-label="The shield icon" %} | **Crédit d’avis de sécurité** | Si un avis de sécurité que vous soumettez à la [base de données des avis {% data variables.product.prodname_dotcom %}](https://github.com/advisories) est accepté, vous obtiendrez un badge de crédit d’avis de sécurité sur votre profil. Pour plus d’informations sur les avis de sécurité {% data variables.product.prodname_dotcom %}, consultez[Avis de sécurité {% data variables.product.prodname_dotcom %}](/code-security/repository-security-advisories/about-github-security-advisories-for-repositories). |
|
||||
| {% octicon "check" aria-label="The check icon" %} | **Réponse à la discussion** | Si votre réponse à une discussion est marquée comme réponse, vous obtiendrez un badge de réponse à la discussion sur votre profil. Pour plus d’informations sur les discussions {% data variables.product.prodname_dotcom %}, consultez [À propos des discussions](/discussions/collaborating-with-your-community-using-discussions/about-discussions). |
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
## Earning Achievements
|
||||
## Gagner des succès digitaux
|
||||
|
||||
Achievements celebrate specific events and actions that happen on {% data variables.product.prodname_dotcom %}. They will appear as small badges listed in the sidebar of your profile. Clicking or hovering on an achievement will show a detailed view that hints at how the achievement was earned, with a short description and links to the contributing events. The event links will only be visible to users that have access to the repository or organization that the event took place in. Event links will appear inaccessible to all users without access.
|
||||
Les succès digitaux célèbrent des événements et des actions spécifiques qui se produisent sur {% data variables.product.prodname_dotcom %}. Ils apparaissent sous forme de petits badges répertoriés dans la barre latérale de votre profil. Le fait de cliquer ou de pointer la souris sur un succès digital affiche une vue détaillée qui indique comment le succès digital a été acquis, avec une brève description et des liens vers les événements contributeurs. Les liens d’événement ne seront visibles que par les utilisateurs qui ont accès au référentiel ou à l’organisation dans lequel l’événement a eu lieu. Les liens d’événements apparaissent inaccessibles à tous les utilisateurs sans accès.
|
||||
|
||||
To stop private contributions from counting toward your Achievements, or to turn off Achievements entirely, see "[Showing your private contributions and Achievements on your profile](/articles/publicizing-or-hiding-your-private-contributions-on-your-profile)."
|
||||
Pour empêcher les contributions privées de compter vers vos succès digitaux ou de désactiver entièrement les succès digitaux, consultez « [Afficher vos contributions privées et vos succès digitaux sur votre profil](/articles/publicizing-or-hiding-your-private-contributions-on-your-profile) ».
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** This feature is currently in beta and subject to change.
|
||||
**Remarque :** cette fonctionnalité est actuellement en version bêta et est sujette à modification.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## List of qualifying repositories for Mars 2020 Helicopter Contributor achievement
|
||||
## Liste des référentiels éligibles pour le succès digital Mars 2020 Helicopter Contributor
|
||||
|
||||
If you authored any commit(s) present in the commit history for the listed tag of one or more of the repositories below, you'll receive the Mars 2020 Helicopter Contributor achievement on your profile. The authored commit must be with a verified email address, associated with your account at the time {% data variables.product.prodname_dotcom %} determined the eligible contributions, in order to be attributed to you. You can be the original author or [one of the co-authors](/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors) of the commit. Future changes to verified emails will not have an effect on the badge. We built the list based on information received from NASA's Jet Propulsion Laboratory.
|
||||
Si vous avez créé une ou plusieurs validations présentes dans l’historique des validations pour l’étiquette répertoriée d’un ou plusieurs des référentiels ci-dessous, vous recevrez le succès digital Mars 2020 Helicopter Contributor sur votre profil. Le commit doit avoir été créé avec une adresse e-mail vérifiée et associée à votre compte au moment où {% data variables.product.prodname_dotcom %} a déterminé les contributions éligibles, afin de vous être attribuée. Vous pouvez être l’auteur original ou [l’un des co-auteurs](/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors) du commit. Les modifications ultérieures apportées aux adresses e-mails vérifiées n’auront pas d’effet sur le badge. Nous avons généré la liste sur la base des informations communiquées par le Jet Propulsion Laboratory de la NASA.
|
||||
|
||||
| {% data variables.product.prodname_dotcom %} Repository | Version | Tag |
|
||||
| Dépôt {% data variables.product.prodname_dotcom %} | Version | Tag |
|
||||
|---|---|---|
|
||||
| [torvalds/linux](https://github.com/torvalds/linux) | 3.4 | [v3.4](https://github.com/torvalds/linux/releases/tag/v3.4) |
|
||||
| [torvalds/linux](https://github.com/torvalds/linux) | 3.4 | [version 3.4](https://github.com/torvalds/linux/releases/tag/v3.4) |
|
||||
| [python/cpython](https://github.com/python/cpython) | 3.9.2 | [v3.9.2](https://github.com/python/cpython/releases/tag/v3.9.2) |
|
||||
| [boto/boto3](https://github.com/boto/boto3) | 1.17.17 | [1.17.17](https://github.com/boto/boto3/releases/tag/1.17.17) |
|
||||
| [boto/botocore](https://github.com/boto/botocore) | 1.20.11 | [1.20.11](https://github.com/boto/botocore/releases/tag/1.20.11) |
|
||||
@@ -208,7 +178,7 @@ If you authored any commit(s) present in the commit history for the listed tag o
|
||||
| [matplotlib/cycler](https://github.com/matplotlib/cycler) | 0.10.0 | [v0.10.0](https://github.com/matplotlib/cycler/releases/tag/v0.10.0) |
|
||||
| [elastic/elasticsearch-py](https://github.com/elastic/elasticsearch-py) | 6.8.1 | [6.8.1](https://github.com/elastic/elasticsearch-py/releases/tag/6.8.1) |
|
||||
| [ianare/exif-py](https://github.com/ianare/exif-py) | 2.3.2 | [2.3.2](https://github.com/ianare/exif-py/releases/tag/2.3.2) |
|
||||
| [kjd/idna](https://github.com/kjd/idna) | 2.10 | [v2.10](https://github.com/kjd/idna/releases/tag/v2.10) |
|
||||
| [kjd/idna](https://github.com/kjd/idna) | 2,10 | [v2.10](https://github.com/kjd/idna/releases/tag/v2.10) |
|
||||
| [jmespath/jmespath.py](https://github.com/jmespath/jmespath.py) | 0.10.0 | [0.10.0](https://github.com/jmespath/jmespath.py/releases/tag/0.10.0) |
|
||||
| [nucleic/kiwi](https://github.com/nucleic/kiwi) | 1.3.1 | [1.3.1](https://github.com/nucleic/kiwi/releases/tag/1.3.1) |
|
||||
| [matplotlib/matplotlib](https://github.com/matplotlib/matplotlib) | 3.3.4 | [v3.3.4](https://github.com/matplotlib/matplotlib/releases/tag/v3.3.4) |
|
||||
@@ -217,7 +187,7 @@ If you authored any commit(s) present in the commit history for the listed tag o
|
||||
| [python-pillow/Pillow](https://github.com/python-pillow/Pillow) | 8.1.0 | [8.1.0](https://github.com/python-pillow/Pillow/releases/tag/8.1.0) |
|
||||
| [pycurl/pycurl](https://github.com/pycurl/pycurl) | 7.43.0.6 | [REL_7_43_0_6](https://github.com/pycurl/pycurl/releases/tag/REL_7_43_0_6) |
|
||||
| [pyparsing/pyparsing](https://github.com/pyparsing/pyparsing) | 2.4.7 | [pyparsing_2.4.7](https://github.com/pyparsing/pyparsing/releases/tag/pyparsing_2.4.7) |
|
||||
| [pyserial/pyserial](https://github.com/pyserial/pyserial) | 3.5 | [v3.5](https://github.com/pyserial/pyserial/releases/tag/v3.5) |
|
||||
| [pyserial/pyserial](https://github.com/pyserial/pyserial) | 3,5 | [v3.5](https://github.com/pyserial/pyserial/releases/tag/v3.5) |
|
||||
| [dateutil/dateutil](https://github.com/dateutil/dateutil) | 2.8.1 | [2.8.1](https://github.com/dateutil/dateutil/releases/tag/2.8.1) |
|
||||
| [yaml/pyyaml ](https://github.com/yaml/pyyaml) | 5.4.1 | [5.4.1](https://github.com/yaml/pyyaml/releases/tag/5.4.1) |
|
||||
| [psf/requests](https://github.com/psf/requests) | 2.25.1 | [v2.25.1](https://github.com/psf/requests/releases/tag/v2.25.1) |
|
||||
@@ -264,10 +234,10 @@ If you authored any commit(s) present in the commit history for the listed tag o
|
||||
| [JodaOrg/joda-time](https://github.com/JodaOrg/joda-time) | 2.10.1 | [v2.10.1](https://github.com/JodaOrg/joda-time/releases/tag/v2.10.1) |
|
||||
| [tdunning/t-digest](https://github.com/tdunning/t-digest) | 3.2 | [t-digest-3.2](https://github.com/tdunning/t-digest/releases/tag/t-digest-3.2) |
|
||||
| [HdrHistogram/HdrHistogram](https://github.com/HdrHistogram/HdrHistogram) | 2.1.9 | [HdrHistogram-2.1.9](https://github.com/HdrHistogram/HdrHistogram/releases/tag/HdrHistogram-2.1.9) |
|
||||
| [locationtech/spatial4j](https://github.com/locationtech/spatial4j) | 0.7 | [spatial4j-0.7](https://github.com/locationtech/spatial4j/releases/tag/spatial4j-0.7) |
|
||||
| [locationtech/spatial4j](https://github.com/locationtech/spatial4j) | 0,7 | [spatial4j-0.7](https://github.com/locationtech/spatial4j/releases/tag/spatial4j-0.7) |
|
||||
| [locationtech/jts](https://github.com/locationtech/jts) | 1.15.0 | [jts-1.15.0](https://github.com/locationtech/jts/releases/tag/jts-1.15.0) |
|
||||
| [apache/logging-log4j2](https://github.com/apache/logging-log4j2) | 2.11 | [log4j-2.11.0](https://github.com/apache/logging-log4j2/releases/tag/log4j-2.11.0) |
|
||||
| [apache/logging-log4j2](https://github.com/apache/logging-log4j2) | 2,11 | [log4j-2.11.0](https://github.com/apache/logging-log4j2/releases/tag/log4j-2.11.0) |
|
||||
|
||||
## Further reading
|
||||
## Pour aller plus loin
|
||||
|
||||
- "[About your profile](/articles/about-your-profile)"
|
||||
- « [À propos de votre profil](/articles/about-your-profile) »
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
---
|
||||
title: Gestion des graphes des contributions sur votre profil
|
||||
intro: Your contributions, including commits, proposed pull requests, and opened issues, are displayed on your profile so people can easily see the work you've done.
|
||||
redirect_from:
|
||||
- /articles/managing-contribution-graphs-on-your-profile
|
||||
- /github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Profiles
|
||||
children:
|
||||
- /viewing-contributions-on-your-profile
|
||||
- /showing-an-overview-of-your-activity-on-your-profile
|
||||
- /publicizing-or-hiding-your-private-contributions-on-your-profile
|
||||
- /sending-enterprise-contributions-to-your-githubcom-profile
|
||||
- /why-are-my-contributions-not-showing-up-on-my-profile
|
||||
- /troubleshooting-commits-on-your-timeline
|
||||
shortTitle: Manage contribution graph
|
||||
ms.openlocfilehash: 87780d97656aa27b4d60fb06a5550f042a0f8f96
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145066985"
|
||||
---
|
||||
@@ -0,0 +1,43 @@
|
||||
---
|
||||
title: Publicisation ou masquage de vos contributions privées sur votre profil
|
||||
intro: Your {% data variables.product.product_name %} profile shows a graph of your repository contributions over the past year. You can choose to show anonymized activity from {% ifversion fpt or ghes or ghec %}private and internal{% else %}private{% endif %} repositories{% ifversion fpt or ghes or ghec %} in addition to the activity from public repositories{% endif %}.
|
||||
redirect_from:
|
||||
- /articles/publicizing-or-hiding-your-private-contributions-on-your-profile
|
||||
- /github/setting-up-and-managing-your-github-profile/publicizing-or-hiding-your-private-contributions-on-your-profile
|
||||
- /github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/publicizing-or-hiding-your-private-contributions-on-your-profile
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Profiles
|
||||
shortTitle: Private contributions
|
||||
ms.openlocfilehash: d3ca9c3bef9324baa73b96eb6dc26bdd75960b37
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145066984"
|
||||
---
|
||||
Si vous publicisez vos contributions privées, les personnes sans accès aux dépôts privés dans lesquels vous travaillez ne pourront pas voir les détails de vos contributions privées. Au lieu de cela, ils verront le nombre de contributions privées que vous avez effectuées pour un jour donné. Vos contributions publiques incluront des informations détaillées. Pour plus d’informations, consultez « [Affichage des contributions sur votre page de profil](/articles/viewing-contributions-on-your-profile-page) ».
|
||||
|
||||
{% note %}
|
||||
|
||||
**Remarque :** {% ifversion fpt or ghes or ghec %}%Sur {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}{% data variables.product.product_name %}{% endif %}, les contributions publiques sur votre profil sont visibles {% ifversion fpt or ghec %}à quiconque peut accéder à {% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}uniquement aux autres utilisateurs de {% data variables.product.product_location%}{% endif %}.{% elsif ghae %}Sur {% data variables.product.prodname_ghe_managed %}, seuls les autres membres de votre entreprise peuvent voir les contributions sur votre profil.{% endif %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
## <a name="changing-the-visibility-of-your-private-contributions"></a>Modification de la visibilité de vos contributions privées
|
||||
|
||||
{% data reusables.profile.access_profile %}
|
||||
1. Publiciser ou masquer vos contributions privées sur votre profil :
|
||||
- Pour publiciser vos contributions privées, au-dessus de votre graphe des contributions, utilisez le menu déroulant **Paramètres de contribution**, puis sélectionnez **Contributions privées**. Les visiteurs verront combien de contributions privées vous avez effectuées, sans plus de détails.
|
||||

|
||||
- Pour masquer vos contributions privées, au-dessus de votre graphe des contributions, utilisez le menu déroulant **Paramètres de contribution**, puis désélectionnez **Contributions privées**. Les visiteurs verront uniquement vos contributions publiques.
|
||||

|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Affichage des contributions sur votre page de profil](/articles/viewing-contributions-on-your-profile-page) »
|
||||
- « [Pourquoi mes contributions ne s’affichent-elles pas sur mon profil ?](/articles/why-are-my-contributions-not-showing-up-on-my-profile) »
|
||||
@@ -0,0 +1,63 @@
|
||||
---
|
||||
title: Envoi de contributions d’entreprise à votre profil GitHub.com
|
||||
intro: You can highlight your work on {% data variables.product.prodname_enterprise %} by sending the contribution counts to your {% data variables.product.prodname_dotcom_the_website %} profile.
|
||||
redirect_from:
|
||||
- /articles/sending-your-github-enterprise-contributions-to-your-github-com-profile
|
||||
- /articles/sending-your-github-enterprise-server-contributions-to-your-github-com-profile
|
||||
- /articles/sending-your-github-enterprise-server-contributions-to-your-githubcom-profile
|
||||
- /github/setting-up-and-managing-your-github-profile/sending-your-github-enterprise-server-contributions-to-your-githubcom-profile
|
||||
- /github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/sending-your-github-enterprise-server-contributions-to-your-githubcom-profile
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Profiles
|
||||
shortTitle: Send enterprise contributions
|
||||
ms.openlocfilehash: 19b26c9e274b66df16434727e42c5c291bacfea7
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086456"
|
||||
---
|
||||
## <a name="about-enterprise-contributions-on-your--data-variablesproductprodname_dotcom_the_website--profile"></a>À propos des contributions d’entreprise sur votre profil {% data variables.product.prodname_dotcom_the_website %}
|
||||
|
||||
Votre profil {% data variables.product.prodname_dotcom_the_website %} indique le nombre de contributions {% ifversion fpt or ghec %}{% data variables.product.prodname_enterprise %}{% else %}{% data variables.product.product_name %}{% endif %} au cours des 90 derniers jours. {% data reusables.github-connect.sync-frequency %} Les contributions de {% ifversion fpt or ghec %}{% data variables.product.prodname_enterprise %}{% else %}{% data variables.product.product_name %}{% endif %} sont considérées comme des contributions privées. Les détails des commits affichent uniquement le nombre de contributions et le fait que ces contributions ont été effectuées dans un environnement {% data variables.product.prodname_enterprise %} en dehors de {% data variables.product.prodname_dotcom_the_website %}.
|
||||
|
||||
Vous pouvez décider d’afficher ou non le nombre de contributions privées sur votre profil. Pour plus d’informations, consultez « [Publicisation ou masquage de vos contributions privées sur votre profil](/articles/publicizing-or-hiding-your-private-contributions-on-your-profile/) ».
|
||||
|
||||
Pour plus d’informations sur la façon dont les contributions sont calculées, consultez « [Gestion des graphes de contribution sur votre profil](/articles/managing-contribution-graphs-on-your-profile/) ».
|
||||
|
||||
{% note %}
|
||||
|
||||
**Remarques :**
|
||||
- La connexion entre vos comptes est régie par la [déclaration de confidentialité de GitHub](/free-pro-team@latest/github/site-policy/github-privacy-statement/), et les utilisateurs qui autorisent la connexion acceptent les [conditions d’utilisation du service GitHub](/free-pro-team@latest/github/site-policy/github-terms-of-service).
|
||||
|
||||
- Pour que vous puissiez connecter votre profil {% ifversion fpt or ghec %}{% data variables.product.prodname_enterprise %}{% else %}{% data variables.product.product_name %}{% endif %} à votre profil {% data variables.product.prodname_dotcom_the_website %}, il faut que votre propriétaire d’entreprise ait activé {% data variables.product.prodname_github_connect %} et activé le partage de contributions entre les environnements. Pour plus d’informations, contactez votre administrateur d’entreprise.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
## <a name="sending-your-enterprise-contributions-to-your--data-variablesproductprodname_dotcom_the_website--profile"></a>Envoi de vos contributions d’entreprise à votre profil {% data variables.product.prodname_dotcom_the_website %}
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
- Pour envoyer des contributions d’entreprise de {% data variables.product.prodname_ghe_server %} vers votre profil {% data variables.product.prodname_dotcom_the_website %}, consultez « [Envoi de contributions d’entreprise à votre profil {% data variables.product.prodname_dotcom_the_website %}](/enterprise-server/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/sending-enterprise-contributions-to-your-githubcom-profile) » dans la documentation {% data variables.product.prodname_ghe_server %}.
|
||||
- Pour envoyer des contributions d’entreprise de {% data variables.product.prodname_ghe_managed %} vers votre profil {% data variables.product.prodname_dotcom_the_website %}, consultez « [Envoi de contributions d’entreprise à votre profil {% data variables.product.prodname_dotcom_the_website %}](/github-ae@latest/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/sending-enterprise-contributions-to-your-githubcom-profile) » dans la documentation {% data variables.product.prodname_ghe_managed %}.
|
||||
|
||||
{% elsif ghes %}
|
||||
|
||||
1. Connectez-vous à {% data variables.product.prodname_ghe_server %} et {% data variables.product.prodname_dotcom_the_website %}.
|
||||
1. Sur {% data variables.product.prodname_ghe_server %}, dans le coin supérieur droit de n’importe quelle page, cliquez sur votre photo de profil, puis sur **Paramètres**.
|
||||
 {% data reusables.github-connect.github-connect-tab-user-settings %} {% data reusables.github-connect.connect-dotcom-and-enterprise %}
|
||||
1. Passez en revue les ressources auxquelles {% data variables.product.prodname_ghe_server %} accédera à partir de votre compte {% data variables.product.prodname_dotcom_the_website %}, puis cliquez sur **Authorize**.
|
||||
 {% data reusables.github-connect.send-contribution-counts-to-githubcom %}
|
||||
|
||||
{% elsif ghae %}
|
||||
|
||||
1. Connectez-vous à {% data variables.product.prodname_ghe_managed %} et {% data variables.product.prodname_dotcom_the_website %}.
|
||||
1. Sur {% data variables.product.prodname_ghe_managed %}, dans le coin supérieur droit de n’importe quelle page, cliquez sur votre photo de profil, puis sur **Settings**.
|
||||
 {% data reusables.github-connect.github-connect-tab-user-settings %} {% data reusables.github-connect.connect-dotcom-and-enterprise %} {% data reusables.github-connect.authorize-connection %} {% data reusables.github-connect.send-contribution-counts-to-githubcom %}
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,29 @@
|
||||
---
|
||||
title: Affichage d’une vue d’ensemble de votre activité sur votre profil
|
||||
intro: You can enable the activity overview section on your profile to give viewers more context about the types of contributions you make.
|
||||
redirect_from:
|
||||
- /articles/showing-an-overview-of-your-activity-on-your-profile
|
||||
- /github/setting-up-and-managing-your-github-profile/showing-an-overview-of-your-activity-on-your-profile
|
||||
- /github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/showing-an-overview-of-your-activity-on-your-profile
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Profiles
|
||||
shortTitle: Show an overview
|
||||
ms.openlocfilehash: a87650ceff7e49269f117a1dd9d8ab3c7b53dcce
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086455"
|
||||
---
|
||||
{% data reusables.profile.activity-overview-summary %} Pour plus d’informations, consultez « [Affichage des contributions sur votre profil](/articles/viewing-contributions-on-your-profile) ».
|
||||
|
||||

|
||||
|
||||
{% data reusables.profile.access_profile %}
|
||||
2. Au-dessus de votre graphe des contributions, utilisez le menu déroulant **Paramètres de contribution**, puis sélectionnez ou désélectionnez **Vue d’ensemble de l’activité**.
|
||||

|
||||
@@ -0,0 +1,74 @@
|
||||
---
|
||||
title: Résolution des problèmes liés aux commits sur votre chronologie
|
||||
intro: You can view details for commits from your profile's timeline. If you don't see commits you expect on your profile or can't find commit details from your profile page, the commit date and the commit author date may be different.
|
||||
redirect_from:
|
||||
- /articles/troubleshooting-commits-on-your-timeline
|
||||
- /github/setting-up-and-managing-your-github-profile/troubleshooting-commits-on-your-timeline
|
||||
- /github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/troubleshooting-commits-on-your-timeline
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Profiles
|
||||
shortTitle: Troubleshoot commits
|
||||
ms.openlocfilehash: 78adf6a92412c89180adeb49f7a5f446f7ce7f17
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086453"
|
||||
---
|
||||
## <a name="expected-behavior-to-view-commit-details"></a>Comportement attendu pour afficher les détails de commits
|
||||
|
||||
Dans la chronologie de votre page de profil, vous pouvez cliquer sur le nombre de commits en regard d’un dépôt spécifique pour afficher plus de détails sur vos commits durant cette période, y compris un diff des modifications spécifiques apportées dans un dépôt.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## <a name="missing-commit-details-from-commits-in-your-timeline"></a>Détails de commits manquants dans votre chronologie
|
||||
|
||||
Si vous cliquez sur un lien de commit à partir de votre page de profil et ne voyez pas tous les commits attendus sur la page des commits du dépôt, il est possible que l’historique des commits dans Git ait été réécrit et que la date de création de commit et la date de commit soient différentes.
|
||||
|
||||

|
||||
|
||||
## <a name="how-github-uses-the-git-author-date-and-commit-date"></a>Comment GitHub utilise-t-il la date de création Git et la date de commit ?
|
||||
|
||||
Dans Git, la date de création est le moment où quelqu’un crée initialement un commit avec `git commit`. La date de commit est identique à la date de création, sauf si quelqu’un modifie la date de commit à l’aide de `git commit --amend`, d’une poussée forcée, d’une rebase ou d’autres commandes Git.
|
||||
|
||||
Dans votre page de profil, la date de création est utilisée pour calculer quand un commit a été effectué. Dans un dépôt, en revanche, la date de commit est utilisée pour calculer quand un commit a été effectué dans le dépôt.
|
||||
|
||||
La plupart du temps, la date de création et la date de commit sont identiques, mais il se peut que vous remarquiez que votre séquence de commit est incorrecte si l’historique des commits est modifié. Pour plus d’informations, consultez « [Pourquoi mes contributions ne s’affichent-elles pas sur mon profil ?](/articles/why-are-my-contributions-not-showing-up-on-my-profile) ».
|
||||
|
||||
## <a name="viewing-missing-commit-details-from-commits-in-your-timeline"></a>Affichage des détails de commits manquants dans votre chronologie
|
||||
|
||||
Vous pouvez utiliser la commande `git show` avec l’indicateur `--pretty=fuller` pour vérifier si la date de création de commit et la date de commit sont différentes.
|
||||
|
||||
```shell
|
||||
$ git show <em>Your commit SHA number</em> --pretty=fuller
|
||||
commit <em>Your commit SHA number</em>
|
||||
Author: octocat <em>user email</em>
|
||||
AuthorDate: Tue Apr 03 02:02:30 2018 +0900
|
||||
Commit: Sally Johnson <em>user email</em>
|
||||
CommitDate: Tue Apr 10 06:25:08 2018 +0900
|
||||
```
|
||||
|
||||
Si les dates de création et de commit sont différentes, vous pouvez modifier manuellement la date de commit dans l’URL pour afficher les détails du commit.
|
||||
|
||||
Par exemple :
|
||||
- Cette URL utilise la date de création `2018-04-03` :
|
||||
|
||||
`https://github.com/your-organization-or-personal-account/your-repository/commits?author=octocat&since=2018-04-03T00:00:00Z&until=2018-04-03T23:59:59Z`
|
||||
- Cette URL utilise la date de commit `2018-04-10` :
|
||||
|
||||
`https://github.com/your-organization-or-personal-account/your-repository/commits?author=octocat&since=2018-04-10T00:00:00Z&until=2018-04-10T23:59:59Z`
|
||||
|
||||
Lorsque vous ouvrez l’URL avec la date de commit modifiée, vous pouvez voir les détails du commit.
|
||||
|
||||

|
||||
|
||||
## <a name="expected-commits-missing-in-your-timeline"></a>Commits attendus manquants dans votre chronologie
|
||||
|
||||
Si vous ne voyez pas des commits attendus sur votre chronologie, il est possible que l’historique des commits dans Git ait été réécrit et que la date de création de commit et la date de commit soient différentes. Pour d’autres possibilités, consultez « [Pourquoi mes contributions ne s’affichent-elles pas sur mon profil ?](/articles/why-are-my-contributions-not-showing-up-on-my-profile) »
|
||||
@@ -0,0 +1,103 @@
|
||||
---
|
||||
title: Affichage des contributions sur votre profil
|
||||
intro: Your {% data variables.product.product_name %} profile shows off {% ifversion fpt or ghes or ghec %}your pinned repositories as well as{% endif %} a graph of your repository contributions over the past year.
|
||||
redirect_from:
|
||||
- /articles/viewing-contributions
|
||||
- /articles/viewing-contributions-on-your-profile-page
|
||||
- /articles/viewing-contributions-on-your-profile
|
||||
- /github/setting-up-and-managing-your-github-profile/viewing-contributions-on-your-profile
|
||||
- /github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/viewing-contributions-on-your-profile
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Profiles
|
||||
shortTitle: View contributions
|
||||
ms.openlocfilehash: fccf691bc2fa865dd6ebcdebd112cbe6da02e0b5
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145104233"
|
||||
---
|
||||
{% ifversion fpt or ghes or ghec %}Votre graphe de contributions affiche l’activité des dépôts publics. {% endif %}Vous pouvez choisir d’afficher l’activité des dépôts{% ifversion fpt or ghes or ghec %}publics et {% endif %}privés, avec les détails spécifiques concernant votre activité dans des dépôts privés anonymisés. Pour plus d’informations, consultez « [Publicisation ou masquage de vos contributions privées sur votre profil](/articles/publicizing-or-hiding-your-private-contributions-on-your-profile) ».
|
||||
|
||||
{% note %}
|
||||
|
||||
**Remarque :** Les commits apparaissent sur votre graphe de contributions uniquement si l’adresse e-mail que vous avez utilisée pour les créer est connectée à votre compte sur {% data variables.product.product_name %}. Pour plus d’informations, consultez « [Pourquoi mes contributions ne s’affichent-elles pas sur mon profil ?](/articles/why-are-my-contributions-not-showing-up-on-my-profile#your-local-git-commit-email-isnt-connected-to-your-account) ».
|
||||
|
||||
{% endnote %}
|
||||
|
||||
## <a name="what-counts-as-a-contribution"></a>Ce qui compte comme contribution
|
||||
|
||||
Sur votre page de profil, certaines actions comptent comme des contributions :
|
||||
|
||||
- Commit dans la branche `gh-pages` ou la branche par défaut d’un dépôt
|
||||
- Le signalement d’un problème
|
||||
- Ouverture d’une discussion
|
||||
- Réponse à une discussion
|
||||
- Proposition d’une demande de tirage (pull request)
|
||||
- Envoi d’une révision de demande de tirage{% ifversion ghes or ghae %}
|
||||
- Co-création de commits dans la branche `gh-pages` ou la branche par défaut d’un dépôt{% endif %}
|
||||
|
||||
{% data reusables.pull_requests.pull_request_merges_and_contributions %}
|
||||
|
||||
## <a name="popular-repositories"></a>Dépôts populaires
|
||||
|
||||
Cette section affiche vos dépôts qui sont surveillés par le plus de gens. {% ifversion fpt or ghes or ghec %}Une fois que vous avez [épinglé des dépôts à votre profil](/articles/pinning-repositories-to-your-profile), cette section indique « Pinned repositories ».{% endif %}
|
||||
|
||||

|
||||
|
||||
{% ifversion fpt or ghes or ghec %}
|
||||
|
||||
## <a name="pinned-repositories"></a>Dépôts épinglés
|
||||
|
||||
Cette section affiche jusqu’à six dépôts publics, et peut inclure vos dépôts ainsi que ceux auxquels vous avez contribué. Pour afficher facilement des détails importants sur les dépôts que vous avez choisis de mettre en avant, chaque dépôt de cette section inclut un résumé du travail effectué, le nombre d’[étoiles](/articles/saving-repositories-with-stars/) reçues par le dépôt, et le langage de programmation principal utilisé dans le dépôt. Pour plus d’informations, consultez « [Épinglage de dépôts à votre profil](/articles/pinning-repositories-to-your-profile) ».
|
||||
|
||||

|
||||
|
||||
{% endif %}
|
||||
|
||||
## <a name="contributions-calendar"></a>Calendrier des contributions
|
||||
|
||||
Votre calendrier des contributions montre votre activité de contribution.
|
||||
|
||||
### <a name="viewing-contributions-from-specific-times"></a>Affichage des contributions de périodes spécifiques
|
||||
|
||||
- Cliquez sur le carré d’une journée pour afficher les contributions effectuées pendant cette période de 24 heures.
|
||||
- Appuyez sur *Maj* et cliquez sur le carré d’une autre journée pour afficher les contributions effectuées entre ces deux dates.
|
||||
|
||||
{% note %}
|
||||
|
||||
**Remarque :** Vous pouvez sélectionner une plage d’un mois maximum sur votre calendrier des contributions. Si vous sélectionnez un intervalle de temps plus long, un seul mois de contributions est affiché.
|
||||
|
||||
{% endnote %}
|
||||
|
||||

|
||||
|
||||
### <a name="how-contribution-event-times-are-calculated"></a>Comment sont calculés les horaires des événements de contribution
|
||||
|
||||
Les horodatages sont calculés différemment pour les commits et les demandes de tirage :
|
||||
- Les **commits** utilisent les informations du fuseau horaire dans l’horodatage de validation. Pour plus d’informations, consultez « [Résolution des problèmes liés aux commits sur votre chronologie](/articles/troubleshooting-commits-on-your-timeline) ».
|
||||
- Les **demandes de tirage** et les **problèmes** ouverts sur {% data variables.product.product_name %} utilisent le fuseau horaire de votre navigateur. Ceux ouverts via l’API utilisent l’horodatage ou le fuseau horaire [spécifié dans l’appel d’API](https://developer.github.com/changes/2014-03-04-timezone-handling-changes).
|
||||
|
||||
## <a name="activity-overview"></a>Vue d’ensemble de l’activité
|
||||
|
||||
{% data reusables.profile.activity-overview-summary %} Pour plus d’informations, consultez « [Affichage d’une vue d’ensemble de votre activité sur votre profil](/articles/showing-an-overview-of-your-activity-on-your-profile) ».
|
||||
|
||||

|
||||
|
||||
Les organisations figurant dans la vue d’ensemble de l’activité sont hiérarchisées en fonction de votre degré d’activité dans l’organisation. Si vous @mention une organisation dans votre bio de profil et que vous êtes membre de l’organisation, cette organisation figure en premier dans la vue d’ensemble de l’activité. Pour plus d’informations, consultez « [Mention de personnes et d’équipes](/articles/basic-writing-and-formatting-syntax/#mentioning-people-and-teams) » ou « [Ajout d’une bio à votre profil](/articles/adding-a-bio-to-your-profile/) ».
|
||||
|
||||
## <a name="contribution-activity"></a>Activité de contribution
|
||||
|
||||
La section sur l’activité de contribution inclut une chronologie détaillée de votre travail, y compris les commits que vous avez effectués ou co-créés, les demandes de tirage que vous avez proposées et les problèmes que vous avez ouverts. Vous pouvez voir vos contributions au fil du temps en cliquant sur **Afficher plus d’activité** en bas de votre activité de contribution ou en cliquant sur l’année que vous souhaitez afficher sur le côté droit de la page. Les moments importants, comme la date à laquelle vous avez rejoint une organisation, proposé votre première demande de tirage ou ouvert un problème important, sont mis en surbrillance dans votre activité de contribution. Si vous ne pouvez pas voir certains événements dans votre chronologie, vérifiez que vous avez toujours accès à l’organisation ou au dépôt où l’événement s’est produit.
|
||||
|
||||

|
||||
|
||||
## <a name="viewing-contributions-from--data-variablesproductprodname_enterprise--on--data-variablesproductprodname_dotcom_the_website-"></a>Affichage des contributions à partir de {% data variables.product.prodname_enterprise %} sur {% data variables.product.prodname_dotcom_the_website %}
|
||||
|
||||
Si vous utilisez {% ifversion fpt or ghec %}{% data variables.product.prodname_ghe_server %}{% ifversion ghae %} ou {% data variables.product.prodname_ghe_managed %}{% endif %}{% else %}{% data variables.product.product_name %}{% endif %} et que le propriétaire de votre entreprise active {% data variables.product.prodname_unified_contributions %}, vous pouvez envoyer des décomptes de contributions d’entreprise à votre profil {% data variables.product.prodname_dotcom_the_website %}. Pour plus d’informations, consultez « [Envoi de contributions d’entreprise à votre profil {% data variables.product.prodname_dotcom_the_website %}](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/sending-enterprise-contributions-to-your-githubcom-profile) ».
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
---
|
||||
title: Pourquoi mes contributions ne s’affichent-elles pas sur mon profil ?
|
||||
intro: Learn common reasons that contributions may be missing from your contributions graph.
|
||||
redirect_from:
|
||||
- /articles/why-are-my-contributions-not-showing-up-on-my-profile
|
||||
- /github/setting-up-and-managing-your-github-profile/why-are-my-contributions-not-showing-up-on-my-profile
|
||||
- /github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Profiles
|
||||
shortTitle: Missing contributions
|
||||
ms.openlocfilehash: c3921897284e16c979542c5f7629690ded2b841e
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145106297"
|
||||
---
|
||||
## <a name="about-your-contribution-graph"></a>À propos de votre graphe de contribution
|
||||
|
||||
Votre graphe de contributions de profil est un enregistrement des contributions que vous avez apportées aux dépôts {% ifversion ghae %}appartenant à{% else %}sur{% endif %} {% data variables.product.product_location %}. Les contributions sont horodatées d’après le temps universel coordonné (UTC) plutôt que votre fuseau horaire local. Les contributions ne sont comptabilisées que si elles remplissent certains critères. Dans certains cas, nous devrons peut-être reconstruire votre graphe afin que les contributions apparaissent.
|
||||
|
||||
Si vous faites partie d’une organisation qui utilise l’authentification unique SAML, vous ne pourrez pas voir l’activité de contribution de l’organisation sur votre profil si vous n’avez pas de session d’authentification unique active. Les personnes qui affichent votre profil à partir de l’extérieur de votre organisation verront une version anonymisée de votre activité de contribution pour votre organisation.
|
||||
|
||||
## <a name="contributions-that-are-counted"></a>Contributions comptabilisées
|
||||
|
||||
### <a name="issues-pull-requests-and-discussions"></a>Problèmes, demandes de tirage (pull requests) et discussions
|
||||
|
||||
Les problèmes, les demandes de tirage et les discussions apparaissent sur votre graphe de contribution s’ils ont été ouverts dans un dépôt autonome, et non une duplication (fork).
|
||||
|
||||
### <a name="commits"></a>Commits
|
||||
Les commits apparaissent sur votre graphe de contributions s’ils remplissent **toutes** les conditions suivantes :
|
||||
- L’adresse e-mail utilisée pour les commits est associée à votre compte sur {% data variables.product.product_location %}.
|
||||
- Les commits ont été effectués dans un dépôt autonome, et non une duplication.
|
||||
- Les commits ont été effectués :
|
||||
- Dans la branche par défaut du dépôt.
|
||||
- Dans la branche `gh-pages` (pour les dépôts avec des sites de projet).
|
||||
|
||||
Pour plus d’informations sur les sites de projet, consultez « [À propos de {% data variables.product.prodname_pages %}](/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites) ».
|
||||
|
||||
De plus, **au moins un** des énoncés suivants doit être vrai :
|
||||
- Vous êtes collaborateur sur le dépôt ou membre de l’organisation propriétaire du dépôt.
|
||||
- Vous avez dupliqué le dépôt.
|
||||
- Vous avez ouvert une demande de tirage ou un problème dans le dépôt.
|
||||
- Vous avez mis en vedette le dépôt.
|
||||
|
||||
## <a name="common-reasons-that-contributions-are-not-counted"></a>Raisons courantes pour lesquelles les contributions ne sont pas comptabilisées
|
||||
|
||||
{% data reusables.pull_requests.pull_request_merges_and_contributions %}
|
||||
|
||||
### <a name="commit-was-made-less-than-24-hours-ago"></a>Le commit a été effectué il y a moins de 24 heures
|
||||
|
||||
Après avoir effectué un commit qui répond aux exigences de contribution, vous devrez peut-être attendre jusqu’à 24 heures pour voir la contribution apparaître sur votre graphe.
|
||||
|
||||
### <a name="your-local-git-commit-email-isnt-connected-to-your-account"></a>Votre e-mail de commit Git local n’est pas connecté à votre compte
|
||||
|
||||
Les commits doivent être effectués avec une adresse e-mail connectée à votre compte sur {% data variables.product.product_location %}{% ifversion fpt or ghec %}, ou avec l’adresse e-mail `noreply` fournie par {% data variables.product.prodname_dotcom %} dans vos paramètres de messagerie,{% endif %} afin d’apparaître sur votre graphe de contributions.{% ifversion fpt or ghec %} Pour plus d’informations sur les adresses `noreply`, consultez « [Définition de votre adresse e-mail de commit](/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address#about-commit-email-addresses) ».{% endif %}
|
||||
|
||||
Vous pouvez vérifier l’adresse e-mail utilisée pour un commit en ajoutant `.patch` à la fin d’une URL de commit, par exemple <a href="https://github.com/octocat/octocat.github.io/commit/67c0afc1da354d8571f51b6f0af8f2794117fd10.patch" data-proofer-ignore>https://github.com/octocat/octocat.github.io/commit/67c0afc1da354d8571f51b6f0af8f2794117fd10.patch</a> :
|
||||
|
||||
```
|
||||
From 67c0afc1da354d8571f51b6f0af8f2794117fd10 Mon Sep 17 00:00:00 2001
|
||||
From: The Octocat <octocat@nowhere.com>
|
||||
Date: Sun, 27 Apr 2014 15:36:39 +0530
|
||||
Subject: [PATCH] updated index for better welcome message
|
||||
```
|
||||
|
||||
L’adresse e-mail mentionnée dans le champ `From:` est l’adresse qui a été définie dans les [paramètres de configuration git locaux](/articles/set-up-git). Dans cet exemple, l’adresse e-mail utilisée pour le commit est `octocat@nowhere.com`.
|
||||
|
||||
Si l’adresse e-mail utilisée pour le commit n’est pas connectée à votre compte sur {% data variables.product.product_location %}, {% ifversion ghae %}modifiez l’adresse e-mail utilisée pour créer des commits dans Git. Pour plus d’informations, consultez « [Définition de votre adresse e-mail de commit](/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address#setting-your-commit-email-address-in-git) ».{% else %}vous devez [ajouter l’adresse e-mail](/articles/adding-an-email-address-to-your-github-account) à votre compte sur {% data variables.product.product_location %}. Votre graphe de contributions sera reconstruit automatiquement lorsque vous ajouterez la nouvelle adresse.{% endif %}
|
||||
|
||||
{% warning %}
|
||||
|
||||
**Avertissement** : Les adresses e-mail génériques, telles que `jane@computer.local`, ne peuvent pas être ajoutées aux comptes {% data variables.product.prodname_dotcom %}. Si vous utilisez une adresse e-mail de ce type pour vos commits, ils ne seront pas liés à votre profil {% data variables.product.prodname_dotcom %} et n’apparaîtront pas dans votre graphe de contributions.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
### <a name="commit-was-not-made-in-the-default-or-gh-pages-branch"></a>Le commit n’a pas été effectué dans la branche `gh-pages` ou par défaut
|
||||
|
||||
Les commits sont comptabilisés uniquement s’ils sont effectués dans la branche par défaut ou la branche `gh-pages` (pour les dépôts avec des sites de projet). Pour plus d’informations, consultez « [À propos de {% data variables.product.prodname_pages %}](/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites) ».
|
||||
|
||||
Si vos commit se trouvent dans une branche autre que `gh-pages` ou par défaut et que vous souhaitez qu’ils soient comptabilisés dans vos contributions, vous devez effectuer l’une des opérations suivantes :
|
||||
- [Ouvrir une demande de tirage](/articles/creating-a-pull-request) pour que vos modifications soient fusionnées dans la branche par défaut ou la branche `gh-pages`.
|
||||
- [Changer la branche par défaut](/github/administering-a-repository/changing-the-default-branch) du dépôt.
|
||||
|
||||
{% warning %}
|
||||
|
||||
**Avertissement** : Le changement de branche par défaut du dépôt entraîne son changement pour tous les collaborateurs du dépôt. Faites-le uniquement si vous souhaitez que la nouvelle branche devienne la base par rapport à laquelle toutes les futures demandes de tirage et commits seront effectuées.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
### <a name="commit-was-made-in-a-fork"></a>Le commit a été effectué dans une duplication
|
||||
|
||||
Les commits effectués dans une duplication ne comptent pas pour vos contributions. Pour qu’elles comptent, vous devez effectuer l’une des opérations suivantes :
|
||||
- [Ouvrir une demande de tirage](/articles/creating-a-pull-request) pour que vos modifications soient fusionnées dans le dépôt parent.
|
||||
- Pour détacher la duplication et la transformer en dépôt autonome sur {% data variables.product.product_location %}, contactez {% data variables.contact.contact_support %}. Si la duplication a ses propres duplications, indiquez à {% data variables.contact.contact_support %} si les duplications doivent être déplacées avec votre dépôt dans un nouveau réseau ou rester dans le réseau actuel. Pour plus d’informations, consultez [À propos des duplications (forks)](/articles/about-forks/) ».
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Publicisation ou masquage de vos contributions privées sur votre profil](/articles/publicizing-or-hiding-your-private-contributions-on-your-profile) »
|
||||
- « [Affichage des contributions sur votre page de profil](/articles/viewing-contributions-on-your-profile-page) »
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Showing your private contributions and achievements on your profile
|
||||
intro: 'Your {% data variables.product.product_name %} profile shows a graph of your repository contributions over the past year. You can choose to show anonymized activity from {% ifversion fpt or ghes or ghec %}private and internal{% else %}private{% endif %} repositories{% ifversion fpt or ghes or ghec %} in addition to the activity from public repositories{% endif %}.'
|
||||
title: Affichage de vos contributions et de vos réalisations privées sur votre profil
|
||||
intro: 'Votre profil {% data variables.product.product_name %} affiche un graphique de vos contributions aux référentiels au cours de la dernière année. Vous pouvez choisir d’afficher l’activité anonyme de référentiels {% ifversion fpt or ghes or ghec %}privés et internes{% else %}privés{% endif %}{% ifversion fpt or ghes or ghec %} en plus de l’activité des référentiels publics{% endif %}.'
|
||||
redirect_from:
|
||||
- /articles/publicizing-or-hiding-your-private-contributions-on-your-profile
|
||||
- /github/setting-up-and-managing-your-github-profile/publicizing-or-hiding-your-private-contributions-on-your-profile
|
||||
@@ -14,42 +14,40 @@ versions:
|
||||
topics:
|
||||
- Profiles
|
||||
shortTitle: Private contributions and achievements
|
||||
ms.openlocfilehash: b40e3835bf1548ff4ced75d1207de9a5b493dc90
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147079662'
|
||||
---
|
||||
|
||||
If you publicize your private contributions, people without access to the private repositories you work in won't be able to see the details of your private contributions. Instead, they'll see the number of private contributions you made on any given day. Your public contributions will include detailed information. For more information, see "[Viewing contributions on your profile page](/articles/viewing-contributions-on-your-profile-page)."
|
||||
Si vous publicisez vos contributions privées, les personnes sans accès aux dépôts privés dans lesquels vous travaillez ne pourront pas voir les détails de vos contributions privées. Au lieu de cela, ils verront le nombre de contributions privées que vous avez effectuées pour un jour donné. Vos contributions publiques incluront des informations détaillées. Pour plus d’informations, consultez « [Affichage des contributions sur votre page de profil](/articles/viewing-contributions-on-your-profile-page) ».
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** {% ifversion fpt or ghes or ghec %}On {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}{% data variables.product.product_name %}{% endif %}, public contributions on your profile are visible {% ifversion fpt or ghec %}to anyone in the world who can access {% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}only to other users of {% data variables.location.product_location%}{% endif %}.{% elsif ghae %}On {% data variables.product.prodname_ghe_managed %}, only other members of your enterprise can see the contributions on your profile.{% endif %}
|
||||
**Remarque :** {% ifversion fpt or ghes or ghec %}%Sur {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}{% data variables.product.product_name %}{% endif %}, les contributions publiques sur votre profil sont visibles {% ifversion fpt or ghec %}à quiconque peut accéder à {% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}uniquement aux autres utilisateurs de {% data variables.product.product_location%}{% endif %}.{% elsif ghae %}Sur {% data variables.product.prodname_ghe_managed %}, seuls les autres membres de votre entreprise peuvent voir les contributions sur votre profil.{% endif %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
## Changing the visibility of your private contributions
|
||||
## Modification de la visibilité de vos contributions privées
|
||||
|
||||
{% data reusables.profile.access_profile %}
|
||||
1. Publicize or hide your private contributions on your profile:
|
||||
- To publicize your private contributions, above your contributions graph, use the **Contribution settings** drop-down menu, and select **Private contributions**. Visitors will see your private contribution counts without further details.
|
||||

|
||||
- To hide your private contributions, above your contributions graph, use the **Contribution settings** drop-down menu, and unselect **Private contributions.** Visitors will only see your public contributions.
|
||||

|
||||
1. Publiciser ou masquer vos contributions privées sur votre profil :
|
||||
- Pour publiciser vos contributions privées, au-dessus de votre graphe des contributions, utilisez le menu déroulant **Paramètres de contribution**, puis sélectionnez **Contributions privées**. Les visiteurs verront combien de contributions privées vous avez effectuées, sans plus de détails.
|
||||

|
||||
- Pour masquer vos contributions privées, au-dessus de votre graphe des contributions, utilisez le menu déroulant **Paramètres de contribution**, puis désélectionnez **Contributions privées**. Les visiteurs verront uniquement vos contributions publiques.
|
||||

|
||||
|
||||
## Changing the visibility of Achievements
|
||||
## Modification de la visibilité des réalisations
|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
1. Show or hide Achievements on your profile:
|
||||
- To show Achievements on your profile, navigate to **Profile settings**, and select the checkbox next to **Show Achievements on my profile.**
|
||||

|
||||
- To hide Achievements from your profile, navigate to **Profile settings**, and unselect the checkbox next to **Show Achievements on my profile.**
|
||||

|
||||
{% ifversion hide-individual-achievements %}
|
||||
1. Optionally, to hide individual Achievements from your profile:
|
||||
{% data reusables.profile.access_profile %}
|
||||
1. Navigate to the Achievements section on the left sidebar of your profile and select the Achievements header. 
|
||||
2. Open the detail view of the achievement you'd like to hide by clicking on the achievement.
|
||||
3. Once in the detail view, click the {% octicon "eye" aria-label="The eye icon" %} icon to hide the achievement.  When hidden, badges will be marked by the {% octicon "eye-closed" aria-label="The eye closed icon" %} icon and are only visible to you. 
|
||||
1. Afficher ou masquer les réalisations sur votre profil :
|
||||
- Pour afficher les réalisations sur votre profil, accédez aux **Paramètres du profil** et cochez la case à côté de **Afficher les réalisations sur mon profil.**
|
||||

|
||||
- Pour masquer les réalisations à partir de votre profil, accédez aux **Paramètres du profil** et décochez la case à côté de **Afficher les réalisations sur mon profil.**
|
||||

|
||||
|
||||
{% endif %}
|
||||
## Further reading
|
||||
## Pour aller plus loin
|
||||
|
||||
- "[Viewing contributions on your profile page](/articles/viewing-contributions-on-your-profile-page)"
|
||||
- "[Why are my contributions not showing up on my profile?](/articles/why-are-my-contributions-not-showing-up-on-my-profile)"
|
||||
- « [Affichage des contributions sur votre page de profil](/articles/viewing-contributions-on-your-profile-page) »
|
||||
- « [Pourquoi mes contributions ne s’affichent-elles pas sur mon profil ?](/articles/why-are-my-contributions-not-showing-up-on-my-profile) »
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Viewing contributions on your profile
|
||||
intro: 'Your {% data variables.product.product_name %} profile shows off {% ifversion fpt or ghes or ghec %}your pinned repositories, Achievements, and{% endif %} a graph of your repository contributions over the past year.'
|
||||
title: Affichage des contributions sur votre profil
|
||||
intro: 'Votre profil {% data variables.product.product_name %} montre {% ifversion fpt or ghes or ghec %}vos dépôts épinglés, vos succès et{% endif %} un graphe de vos contributions au dépôt au cours de l’année écoulée.'
|
||||
redirect_from:
|
||||
- /articles/viewing-contributions
|
||||
- /articles/viewing-contributions-on-your-profile-page
|
||||
@@ -15,83 +15,89 @@ versions:
|
||||
topics:
|
||||
- Profiles
|
||||
shortTitle: View contributions
|
||||
ms.openlocfilehash: 81b2242e0c7a07d8941375d044cacc65ca8dd56d
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147079651'
|
||||
---
|
||||
{% ifversion fpt or ghes or ghec %}Your contribution graph and Achievements show activity from public repositories. {% endif %}You can choose to show activity from {% ifversion fpt or ghes or ghec %}both public and {% endif %}private repositories, with specific details of your activity in private repositories anonymized. For more information, see "[Publicizing or hiding your private contributions on your profile](/articles/publicizing-or-hiding-your-private-contributions-on-your-profile)."
|
||||
{% ifversion fpt or ghes or ghec %}Votre graphe de contributions et vos succès montrent l’activité liée aux dépôts publics. {% endif %}Vous pouvez choisir d’afficher l’activité des dépôts{% ifversion fpt or ghes or ghec %}publics et {% endif %}privés, avec les détails spécifiques concernant votre activité dans des dépôts privés anonymisés. Pour plus d’informations, consultez « [Publicisation ou masquage de vos contributions privées sur votre profil](/articles/publicizing-or-hiding-your-private-contributions-on-your-profile) ».
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** Commits will only appear on your contributions graph if the email address you used to author the commits is connected to your account on {% data variables.product.product_name %}. For more information, see "[Why are my contributions not showing up on my profile?](/articles/why-are-my-contributions-not-showing-up-on-my-profile#your-local-git-commit-email-isnt-connected-to-your-account)"
|
||||
**Remarque :** Les commits apparaissent sur votre graphe de contributions uniquement si l’adresse e-mail que vous avez utilisée pour les créer est connectée à votre compte sur {% data variables.product.product_name %}. Pour plus d’informations, consultez « [Pourquoi mes contributions ne s’affichent-elles pas sur mon profil ?](/articles/why-are-my-contributions-not-showing-up-on-my-profile#your-local-git-commit-email-isnt-connected-to-your-account) ».
|
||||
|
||||
{% endnote %}
|
||||
|
||||
## What counts as a contribution
|
||||
## Ce qui compte comme contribution
|
||||
|
||||
On your profile page, certain actions count as contributions:
|
||||
Sur votre page de profil, certaines actions comptent comme des contributions :
|
||||
|
||||
- Committing to a repository's default branch or `gh-pages` branch
|
||||
- Opening an issue
|
||||
- Opening a discussion
|
||||
- Answering a discussion
|
||||
- Proposing a pull request
|
||||
- Submitting a pull request review{% ifversion ghes or ghae %}
|
||||
- Co-authoring commits in a repository's default branch or `gh-pages` branch{% endif %}
|
||||
- Commit dans la branche `gh-pages` ou la branche par défaut d’un dépôt
|
||||
- Le signalement d’un problème
|
||||
- Ouverture d’une discussion
|
||||
- Réponse à une discussion
|
||||
- Proposition d’une demande de tirage (pull request)
|
||||
- Envoi d’une révision de demande de tirage{% ifversion ghes or ghae %}
|
||||
- Co-création de commits dans la branche `gh-pages` ou la branche par défaut d’un dépôt{% endif %}
|
||||
|
||||
{% data reusables.pull_requests.pull_request_merges_and_contributions %}
|
||||
|
||||
## Popular repositories
|
||||
## Dépôts populaires
|
||||
|
||||
This section displays your repositories with the most watchers. {% ifversion fpt or ghes or ghec %}Once you [pin repositories to your profile](/articles/pinning-repositories-to-your-profile), this section will change to "Pinned repositories."{% endif %}
|
||||
Cette section affiche vos dépôts qui sont surveillés par le plus de gens. {% ifversion fpt or ghes or ghec %}Une fois que vous avez [épinglé des dépôts à votre profil](/articles/pinning-repositories-to-your-profile), cette section indique « Pinned repositories ».{% endif %}
|
||||
|
||||

|
||||

|
||||
|
||||
{% ifversion fpt or ghes or ghec %}
|
||||
|
||||
## Pinned repositories
|
||||
## Dépôts épinglés
|
||||
|
||||
This section displays up to six public repositories and can include your repositories as well as repositories you've contributed to. To easily see important details about the repositories you've chosen to feature, each repository in this section includes a summary of the work being done, the number of [stars](/articles/saving-repositories-with-stars/) the repository has received, and the main programming language used in the repository. For more information, see "[Pinning repositories to your profile](/articles/pinning-repositories-to-your-profile)."
|
||||
Cette section affiche jusqu’à six dépôts publics, et peut inclure vos dépôts ainsi que ceux auxquels vous avez contribué. Pour afficher facilement des détails importants sur les dépôts que vous avez choisis de mettre en avant, chaque dépôt de cette section inclut un résumé du travail effectué, le nombre d’[étoiles](/articles/saving-repositories-with-stars/) reçues par le dépôt, et le langage de programmation principal utilisé dans le dépôt. Pour plus d’informations, consultez « [Épinglage de dépôts à votre profil](/articles/pinning-repositories-to-your-profile) ».
|
||||
|
||||

|
||||

|
||||
|
||||
{% endif %}
|
||||
|
||||
## Contributions calendar
|
||||
## Calendrier des contributions
|
||||
|
||||
Your contributions calendar shows your contribution activity.
|
||||
Votre calendrier des contributions montre votre activité de contribution.
|
||||
|
||||
### Viewing contributions from specific times
|
||||
### Affichage des contributions de périodes spécifiques
|
||||
|
||||
- Click on a day's square to show the contributions made during that 24-hour period.
|
||||
- Press *Shift* and click on another day's square to show contributions made during that time span.
|
||||
- Cliquez sur le carré d’une journée pour afficher les contributions effectuées pendant cette période de 24 heures.
|
||||
- Appuyez sur *Maj* et cliquez sur le carré d’une autre journée pour afficher les contributions effectuées entre ces deux dates.
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** You can select up to a one-month range on your contributions calendar. If you select a larger time span, we will only display one month of contributions.
|
||||
**Remarque :** Vous pouvez sélectionner une plage d’un mois maximum sur votre calendrier des contributions. Si vous sélectionnez un intervalle de temps plus long, un seul mois de contributions est affiché.
|
||||
|
||||
{% endnote %}
|
||||
|
||||

|
||||

|
||||
|
||||
### How contribution event times are calculated
|
||||
### Comment sont calculés les horaires des événements de contribution
|
||||
|
||||
Timestamps are calculated differently for commits and pull requests:
|
||||
- **Commits** use the time zone information in the commit timestamp. For more information, see "[Troubleshooting commits on your timeline](/articles/troubleshooting-commits-on-your-timeline)."
|
||||
- **Pull requests** and **issues** opened on {% data variables.product.product_name %} use your browser's time zone. Those opened via the API use the timestamp or time zone [specified in the API call](https://developer.github.com/changes/2014-03-04-timezone-handling-changes).
|
||||
Les horodatages sont calculés différemment pour les commits et les demandes de tirage :
|
||||
- Les **commits** utilisent les informations du fuseau horaire dans l’horodatage de validation. Pour plus d’informations, consultez « [Résolution des problèmes liés aux commits sur votre chronologie](/articles/troubleshooting-commits-on-your-timeline) ».
|
||||
- Les **demandes de tirage** et les **problèmes** ouverts sur {% data variables.product.product_name %} utilisent le fuseau horaire de votre navigateur. Ceux ouverts via l’API utilisent l’horodatage ou le fuseau horaire [spécifié dans l’appel d’API](https://developer.github.com/changes/2014-03-04-timezone-handling-changes).
|
||||
|
||||
## Activity overview
|
||||
## Vue d’ensemble de l’activité
|
||||
|
||||
{% data reusables.profile.activity-overview-summary %} For more information, see "[Showing an overview of your activity on your profile](/articles/showing-an-overview-of-your-activity-on-your-profile)."
|
||||
{% data reusables.profile.activity-overview-summary %} Pour plus d’informations, consultez « [Affichage d’une vue d’ensemble de votre activité sur votre profil](/articles/showing-an-overview-of-your-activity-on-your-profile) ».
|
||||
|
||||

|
||||

|
||||
|
||||
The organizations featured in the activity overview are prioritized according to how active you are in the organization. If you @mention an organization in your profile bio, and you’re an organization member, then that organization is prioritized first in the activity overview. For more information, see "[Mentioning people and teams](/articles/basic-writing-and-formatting-syntax/#mentioning-people-and-teams)" or "[Adding a bio to your profile](/articles/adding-a-bio-to-your-profile/)."
|
||||
Les organisations figurant dans la vue d’ensemble de l’activité sont hiérarchisées en fonction de votre degré d’activité dans l’organisation. Si vous @mention une organisation dans votre bio de profil et que vous êtes membre de l’organisation, cette organisation figure en premier dans la vue d’ensemble de l’activité. Pour plus d’informations, consultez « [Mention de personnes et d’équipes](/articles/basic-writing-and-formatting-syntax/#mentioning-people-and-teams) » ou « [Ajout d’une bio à votre profil](/articles/adding-a-bio-to-your-profile/) ».
|
||||
|
||||
## Contribution activity
|
||||
## Activité de contribution
|
||||
|
||||
The contribution activity section includes a detailed timeline of your work, including commits you've made or co-authored, pull requests you've proposed, and issues you've opened. You can see your contributions over time by either clicking **Show more activity** at the bottom of your contribution activity or by clicking the year you're interested in viewing on the right side of the page. Important moments, like the date you joined an organization, proposed your first pull request, or opened a high-profile issue, are highlighted in your contribution activity. If you can't see certain events in your timeline, check to make sure you still have access to the organization or repository where the event happened.
|
||||
La section sur l’activité de contribution inclut une chronologie détaillée de votre travail, y compris les commits que vous avez effectués ou co-créés, les demandes de tirage que vous avez proposées et les problèmes que vous avez ouverts. Vous pouvez voir vos contributions au fil du temps en cliquant sur **Afficher plus d’activité** en bas de votre activité de contribution ou en cliquant sur l’année que vous souhaitez afficher sur le côté droit de la page. Les moments importants, comme la date à laquelle vous avez rejoint une organisation, proposé votre première demande de tirage ou ouvert un problème important, sont mis en surbrillance dans votre activité de contribution. Si vous ne pouvez pas voir certains événements dans votre chronologie, vérifiez que vous avez toujours accès à l’organisation ou au dépôt où l’événement s’est produit.
|
||||
|
||||

|
||||

|
||||
|
||||
## Viewing contributions from {% data variables.product.prodname_enterprise %} on {% data variables.product.prodname_dotcom_the_website %}
|
||||
## Affichage des contributions à partir de {% data variables.product.prodname_enterprise %} sur {% data variables.product.prodname_dotcom_the_website %}
|
||||
|
||||
If you use {% ifversion fpt or ghec %}{% data variables.product.prodname_ghe_server %}{% ifversion ghae %} or {% data variables.product.prodname_ghe_managed %}{% endif %}{% else %}{% data variables.product.product_name %}{% endif %} and your enterprise owner enables {% data variables.enterprise.prodname_unified_contributions %}, you can send enterprise contribution counts from to your {% data variables.product.prodname_dotcom_the_website %} profile. For more information, see "[Sending enterprise contributions to your {% data variables.product.prodname_dotcom_the_website %} profile](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/sending-enterprise-contributions-to-your-githubcom-profile)."
|
||||
Si vous utilisez {% ifversion fpt or ghec %}{% data variables.product.prodname_ghe_server %}{% ifversion ghae %} ou {% data variables.product.prodname_ghe_managed %}{% endif %}{% else %}{% data variables.product.product_name %}{% endif %} et que le propriétaire de votre entreprise active {% data variables.product.prodname_unified_contributions %}, vous pouvez envoyer des décomptes de contributions d’entreprise à votre profil {% data variables.product.prodname_dotcom_the_website %}. Pour plus d’informations, consultez « [Envoi de contributions d’entreprise à votre profil {% data variables.product.prodname_dotcom_the_website %}](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/sending-enterprise-contributions-to-your-githubcom-profile) ».
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
title: Configuration et gestion de votre compte d’utilisateur GitHub
|
||||
intro: You can manage settings in your GitHub personal account including email preferences, collaborator access for personal repositories, and organization memberships.
|
||||
shortTitle: Personal accounts
|
||||
redirect_from:
|
||||
- /categories/setting-up-and-managing-your-github-user-account
|
||||
- /github/setting-up-and-managing-your-github-user-account
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
children:
|
||||
- /managing-user-account-settings
|
||||
- /managing-email-preferences
|
||||
- /managing-access-to-your-personal-repositories
|
||||
- /managing-your-membership-in-organizations
|
||||
ms.openlocfilehash: 36e4d1280fdc48a7165199e40830417904ae1790
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086478"
|
||||
---
|
||||
@@ -0,0 +1,30 @@
|
||||
---
|
||||
title: Gestion de l’accès à vos dépôts personnels
|
||||
intro: You can give people collaborator access to repositories owned by your personal account.
|
||||
redirect_from:
|
||||
- /categories/101/articles
|
||||
- /categories/managing-repository-collaborators
|
||||
- /articles/managing-access-to-your-personal-repositories
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories
|
||||
product: '{% data reusables.gated-features.user-repo-collaborators %}'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
- Repositories
|
||||
children:
|
||||
- /inviting-collaborators-to-a-personal-repository
|
||||
- /removing-a-collaborator-from-a-personal-repository
|
||||
- /removing-yourself-from-a-collaborators-repository
|
||||
- /maintaining-ownership-continuity-of-your-user-accounts-repositories
|
||||
shortTitle: Access to your repositories
|
||||
ms.openlocfilehash: fd4ab3f5e29b35c1a222287471a2b310d0240322
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145087338"
|
||||
---
|
||||
@@ -0,0 +1,65 @@
|
||||
---
|
||||
title: Invitation de collaborateurs à un dépôt personnel
|
||||
intro: You can {% ifversion fpt or ghec %}invite users to become{% else %}add users as{% endif %} collaborators to your personal repository.
|
||||
redirect_from:
|
||||
- /articles/how-do-i-add-a-collaborator
|
||||
- /articles/adding-collaborators-to-a-personal-repository
|
||||
- /articles/inviting-collaborators-to-a-personal-repository
|
||||
- /github/setting-up-and-managing-your-github-user-account/inviting-collaborators-to-a-personal-repository
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories/inviting-collaborators-to-a-personal-repository
|
||||
product: '{% data reusables.gated-features.user-repo-collaborators %}'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
- Repositories
|
||||
shortTitle: Invite collaborators
|
||||
ms.openlocfilehash: 6db661abfc48b87ae7eae2c515be2e14e3717ec4
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086477"
|
||||
---
|
||||
Les dépôts appartenant à une organisation peuvent accorder un accès plus précis. Pour plus d’informations, consultez « [Autorisations d’accès sur {% data variables.product.prodname_dotcom %}](/articles/access-permissions-on-github) ».
|
||||
|
||||
{% data reusables.organizations.org-invite-expiration %}
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
Si vous êtes membre d’une {% data variables.product.prodname_emu_enterprise %}, vous pouvez uniquement inviter d’autres membres de votre entreprise à collaborer avec vous. {% data reusables.enterprise-accounts.emu-more-info-account %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Remarque :** {% data variables.product.company_short %} limite le nombre de personnes qui peuvent être invitées à un dépôt durant une période de 24 heures. Si vous dépassez cette limite, attendez 24 heures ou créez une organisation pour collaborer avec plus de personnes.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
1. Demandez le nom d’utilisateur de la personne que vous invitez en tant que collaborateur.{% ifversion fpt or ghec %} Si elle n’a pas encore de nom d’utilisateur, elle peut s’inscrire à {% data variables.product.prodname_dotcom %} Pour plus d’informations, consultez « [Ouverture d’un nouveau compte {% data variables.product.prodname_dotcom %}](/articles/signing-up-for-a-new-github-account) ».{% endif %} {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5658%} {% data reusables.repositories.click-collaborators-teams %}
|
||||
1. Cliquez sur **Invite a collaborator**.
|
||||

|
||||
2. Dans le champ de recherche, commencez à taper le nom de la personne que vous souhaitez inviter, puis cliquez sur un nom dans la liste des correspondances.
|
||||

|
||||
3. Cliquez sur **Add NOM to DÉPÔT**.
|
||||
 {% else %}
|
||||
5. Dans la barre latérale gauche, cliquez sur **Collaborateurs**.
|
||||

|
||||
6. Sous « Collaborateurs », commencez à taper le nom d’utilisateur du collaborateur.
|
||||
7. Sélectionnez le nom d’utilisateur du collaborateur dans le menu déroulant.
|
||||

|
||||
8. Cliquez sur **Ajouter un collaborateur**.
|
||||
 {% endif %} {% ifversion fpt or ghec %}
|
||||
9. L’utilisateur recevra un e-mail l’invitant au dépôt. Une fois l’invitation acceptée, il aura accès à votre dépôt.
|
||||
{% endif %}
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Niveaux d’autorisation pour un dépôt de compte personnel](/articles/permission-levels-for-a-user-account-repository/#collaborator-access-for-a-repository-owned-by-a-personal-account) »
|
||||
- « [Suppression d’un collaborateur d’un dépôt personnel](/articles/removing-a-collaborator-from-a-personal-repository) »
|
||||
- « [Vous supprimer en tant que collaborateur d’un dépôt](/articles/removing-yourself-from-a-collaborator-s-repository) »
|
||||
- « [Organisation de membres en équipes](/organizations/organizing-members-into-teams) »
|
||||
@@ -0,0 +1,44 @@
|
||||
---
|
||||
title: Maintien de la continuité de propriété des dépôts de votre compte d’utilisateur
|
||||
intro: You can invite someone to manage your user owned repositories if you are not able to.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
- Repositories
|
||||
redirect_from:
|
||||
- /github/setting-up-and-managing-your-github-user-account/maintaining-ownership-continuity-of-your-user-accounts-repositories
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories/maintaining-ownership-continuity-of-your-user-accounts-repositories
|
||||
shortTitle: Ownership continuity
|
||||
ms.openlocfilehash: f958e3ca640a1180db03361457ec7c185e4ce7ba
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086476"
|
||||
---
|
||||
## <a name="about-successors"></a>À propos des successeurs
|
||||
|
||||
Nous vous recommandons d’inviter un autre utilisateur {% data variables.product.company_short %} à être votre successeur, afin de gérer vos dépôts appartenant à l’utilisateur si vous ne pouvez pas le faire. En tant que successeur, il sera autorisé à :
|
||||
|
||||
- Archiver vos dépôts publics.
|
||||
- Transférer vos dépôts publics vers son propre compte d’utilisateur.
|
||||
- Transférer vos dépôts publics vers une organisation où il peut créer des dépôts.
|
||||
|
||||
Les successeurs ne peuvent pas se connecter à votre compte.
|
||||
|
||||
Un successeur désigné peut gérer vos dépôts publics après avoir présenté un certificat de décès et attendu sept jours, ou après avoir présenté une nécrologie et attendu 21 jours. Pour plus d’informations, consultez « [Politique relative aux utilisateurs {% data variables.product.company_short %} décédés](/free-pro-team@latest/github/site-policy/github-deceased-user-policy) ».
|
||||
|
||||
Pour demander l’accès à la gestion de dépôts en tant que successeur, contactez le [support technique de GitHub](https://support.github.com/contact?tags=docs-accounts).
|
||||
|
||||
## <a name="inviting-a-successor"></a>Invitation d’un successeur
|
||||
La personne que vous invitez à être votre successeur doit avoir un compte {% data variables.product.company_short %}.
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.account_settings %}
|
||||
3. Sous « Paramètres de successeur », pour inviter un successeur, commencez à taper un nom d’utilisateur, un nom complet ou une adresse e-mail, puis cliquez sur son nom lorsqu’il s’affiche.
|
||||

|
||||
4. Cliquez sur **Ajouter un successeur**.
|
||||
{% data reusables.user-settings.sudo-mode-popup %}
|
||||
5. L’utilisateur que vous avez invité sera listé comme « En attente » jusqu’à ce qu’il accepte de devenir votre successeur.
|
||||

|
||||
@@ -0,0 +1,47 @@
|
||||
---
|
||||
title: Suppression d’un collaborateur d’un dépôt personnel
|
||||
intro: When you remove a collaborator from your project, they lose read/write access to your repository. If the repository is private and the person has created a fork, then that fork is also deleted.
|
||||
redirect_from:
|
||||
- /articles/how-do-i-remove-a-collaborator
|
||||
- /articles/what-happens-when-i-remove-a-collaborator-from-my-private-repository
|
||||
- /articles/removing-a-collaborator-from-a-private-repository
|
||||
- /articles/deleting-a-private-fork-of-a-private-user-repository
|
||||
- /articles/how-do-i-delete-a-fork-of-my-private-repository
|
||||
- /articles/removing-a-collaborator-from-a-personal-repository
|
||||
- /github/setting-up-and-managing-your-github-user-account/removing-a-collaborator-from-a-personal-repository
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories/removing-a-collaborator-from-a-personal-repository
|
||||
product: '{% data reusables.gated-features.user-repo-collaborators %}'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
- Repositories
|
||||
shortTitle: Remove a collaborator
|
||||
ms.openlocfilehash: eafe4f8bb1cea085910179a95f17c0b4a1358ad2
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145087341"
|
||||
---
|
||||
## <a name="deleting-forks-of-private-repositories"></a>Suppression de duplications (forks) de dépôts privés
|
||||
|
||||
Bien que les duplications de dépôts privés soient supprimées lorsqu’un collaborateur est supprimé, la personne conserve toujours tous les clones locaux de votre dépôt.
|
||||
|
||||
## <a name="removing-collaborator-permissions-from-a-person-contributing-to-a-repository"></a>Suppression des autorisations de collaborateur d’une personne contribuant à un dépôt
|
||||
|
||||
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5658 %} {% data reusables.repositories.click-collaborators-teams %}
|
||||
4. À droite du collaborateur que vous souhaitez supprimer, cliquez sur {% octicon "trash" aria-label="The trash icon" %}.
|
||||
 {% else %}
|
||||
3. Dans la barre latérale gauche, cliquez sur **Collaborateurs & équipes**.
|
||||

|
||||
4. En regard du collaborateur que vous souhaitez supprimer, cliquez sur l’icône **X**.
|
||||
 {% endif %}
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Suppression de membres d’organisation d’une équipe](/articles/removing-organization-members-from-a-team) »
|
||||
- « [Suppression d’un collaborateur externe d’un dépôt d’organisation](/articles/removing-an-outside-collaborator-from-an-organization-repository) »
|
||||
@@ -0,0 +1,36 @@
|
||||
---
|
||||
title: Vous supprimer en tant que collaborateur d’un dépôt
|
||||
intro: If you no longer want to be a collaborator on someone else's repository, you can remove yourself.
|
||||
redirect_from:
|
||||
- /leave-a-collaborative-repo
|
||||
- /leave-a-repo
|
||||
- /articles/removing-yourself-from-a-collaborator-s-repo
|
||||
- /articles/removing-yourself-from-a-collaborator-s-repository
|
||||
- /articles/removing-yourself-from-a-collaborators-repository
|
||||
- /github/setting-up-and-managing-your-github-user-account/removing-yourself-from-a-collaborators-repository
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories/removing-yourself-from-a-collaborators-repository
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
- Repositories
|
||||
shortTitle: Remove yourself
|
||||
ms.openlocfilehash: dc9739d84d1794e3111f3b61e0dfd9a7c4bec11b
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086473"
|
||||
---
|
||||
{% data reusables.user-settings.access_settings %} {% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5658 %}
|
||||
2. Dans la section « Code, planning, and automation » de la barre latérale, cliquez sur **{% octicon "repo" aria-label="The repo icon" %} Dépôts**.
|
||||
{% else %}
|
||||
2. Dans la barre latérale gauche, cliquez sur **Dépôts**.
|
||||
 {% endif %}
|
||||
3. En regard du dépôt que vous souhaitez quitter, cliquez sur **Quitter**.
|
||||

|
||||
4. Lisez attentivement l’avertissement, puis cliquez sur « Je comprends. Quitter ce dépôt ».
|
||||

|
||||
@@ -0,0 +1,39 @@
|
||||
---
|
||||
title: Ajout d’une adresse e-mail à votre compte GitHub
|
||||
intro: '{% data variables.product.product_name %} allows you to add as many email addresses to your account as you like. If you set an email address in your local Git configuration, you will need to add it to your account settings in order to connect your commits to your account. For more information about your email address and commits, see "[Setting your commit email address](/articles/setting-your-commit-email-address/)."'
|
||||
redirect_from:
|
||||
- /articles/adding-an-email-address-to-your-github-account
|
||||
- /github/setting-up-and-managing-your-github-user-account/adding-an-email-address-to-your-github-account
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-email-preferences/adding-an-email-address-to-your-github-account
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
- Notifications
|
||||
shortTitle: Add an email address
|
||||
ms.openlocfilehash: 3d7efd2e72ed1ab23ccf2e686f4a1c1c7653cc1f
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145087334"
|
||||
---
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Remarques**:
|
||||
- {% data reusables.user-settings.no-verification-disposable-emails %}
|
||||
- Si vous êtes membre d’une {% data variables.product.prodname_emu_enterprise %}, vous ne pouvez pas modifier votre adresse e-mail sur {% data variables.product.prodname_dotcom_the_website %}. {% data reusables.enterprise-accounts.emu-more-info-account %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.emails %} {% data reusables.user-settings.add_and_verify_email %} {% data reusables.user-settings.select_primary_email %}
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Gestion des préférences de messagerie](/articles/managing-email-preferences/) »
|
||||
@@ -0,0 +1,32 @@
|
||||
---
|
||||
title: Blocage des poussées de ligne de commande qui exposent votre adresse e-mail personnelle
|
||||
intro: If you've chosen to keep your email address private when performing web-based operations, you can also choose to block command line pushes that may expose your personal email address.
|
||||
redirect_from:
|
||||
- /articles/blocking-command-line-pushes-that-expose-your-personal-email-address
|
||||
- /github/setting-up-and-managing-your-github-user-account/blocking-command-line-pushes-that-expose-your-personal-email-address
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-email-preferences/blocking-command-line-pushes-that-expose-your-personal-email-address
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
- Notifications
|
||||
shortTitle: Block push with personal email
|
||||
ms.openlocfilehash: e085c19339cc530537626d9bf987125aebfd3427
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086472"
|
||||
---
|
||||
Lorsque vous poussez (push) des commits à partir de la ligne de commande, l’adresse e-mail que vous avez [définie dans Git](/articles/setting-your-commit-email-address) est associée à vos commits. Si vous activez ce paramètre, chaque fois que vous effectuez une poussée dans GitHub, nous vérifierons le commit le plus récent. Si l’e-mail de l’auteur sur ce commit est un e-mail privé sur votre compte GitHub, nous bloquerons la poussée et vous avertirons concernant l’exposition de votre e-mail privé.
|
||||
|
||||
{% data reusables.user-settings.about-commit-email-addresses %}
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.emails %} {% data reusables.user-settings.keeping_your_email_address_private %}
|
||||
4. Pour que votre adresse e-mail reste privée dans les commits que vous poussez à partir de la ligne de commande, sélectionnez **Bloquer les poussées de ligne de commande qui exposent mon e-mail**.
|
||||

|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Définition de votre adresse e-mail de commit](/articles/setting-your-commit-email-address) »
|
||||
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: Modification de votre adresse e-mail principale
|
||||
intro: You can change the email address associated with your personal account at any time.
|
||||
redirect_from:
|
||||
- /articles/changing-your-primary-email-address
|
||||
- /github/setting-up-and-managing-your-github-user-account/changing-your-primary-email-address
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-email-preferences/changing-your-primary-email-address
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
- Notifications
|
||||
shortTitle: Primary email address
|
||||
ms.openlocfilehash: af1443f1f23b8038d2cf1f4e42a1ab0a83214edb
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145087333"
|
||||
---
|
||||
{% note %}
|
||||
|
||||
**Remarque :** Vous ne pouvez pas remplacer votre adresse e-mail principale par une adresse qui est déjà définie comme votre adresse e-mail de secours.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.emails %}
|
||||
3. Si vous souhaitez ajouter une nouvelle adresse e-mail à définir comme adresse e-mail principale, sous « Ajouter une adresse e-mail », tapez une nouvelle adresse e-mail, puis cliquez sur **Ajouter**.
|
||||

|
||||
4. Sous « Adresse e-mail principale », utilisez le menu déroulant pour cliquer sur l’adresse e-mail que vous souhaitez définir comme adresse e-mail principale, puis cliquez sur **Enregistrer**.
|
||||

|
||||
5. Pour supprimer l’ancienne adresse e-mail de votre compte, en regard de l’ancien e-mail, cliquez sur {% octicon "trash" aria-label="The trash symbol" %}.
|
||||
{% ifversion fpt or ghec %}
|
||||
6. Vérifiez votre nouvelle adresse e-mail principale. Sans adresse e-mail vérifiée, vous ne pourrez pas utiliser toutes les fonctionnalités de {% data variables.product.product_name %}. Pour plus d’informations, consultez « [Vérification de votre adresse e-mail](/articles/verifying-your-email-address) ».
|
||||
{% endif %}
|
||||
@@ -0,0 +1,32 @@
|
||||
---
|
||||
title: Gestion des préférences de messagerie
|
||||
intro: You can add or change the email addresses associated with your account on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.product.product_location %}{% endif %}. You can also manage emails you receive from {% data variables.product.product_name %}.
|
||||
redirect_from:
|
||||
- /categories/managing-email-preferences
|
||||
- /articles/managing-email-preferences
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-email-preferences
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
- Notifications
|
||||
children:
|
||||
- /adding-an-email-address-to-your-github-account
|
||||
- /changing-your-primary-email-address
|
||||
- /setting-a-backup-email-address
|
||||
- /setting-your-commit-email-address
|
||||
- /blocking-command-line-pushes-that-expose-your-personal-email-address
|
||||
- /remembering-your-github-username-or-email
|
||||
- /types-of-emails-github-sends
|
||||
- /managing-marketing-emails-from-github
|
||||
shortTitle: Manage email preferences
|
||||
ms.openlocfilehash: ec9c71468c235b07a3e4588c33d791f25e50d7d8
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086471"
|
||||
---
|
||||
@@ -0,0 +1,39 @@
|
||||
---
|
||||
title: Gestion des e-mails à but marketing de GitHub
|
||||
intro: In addition to notifications and account emails, {% data variables.product.prodname_dotcom %} occasionally sends marketing emails with news and information about our products. If you unsubscribe from existing marketing emails, you won't be included in future campaigns unless you change your {% data variables.product.prodname_dotcom %} email settings.
|
||||
redirect_from:
|
||||
- /articles/managing-marketing-emails-from-github
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-marketing-emails-from-github
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-email-preferences/managing-marketing-emails-from-github
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
- Notifications
|
||||
shortTitle: Marketing emails
|
||||
ms.openlocfilehash: e7563a5c35ea60b63fb4b8aa1393e7cec8635781
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145087330"
|
||||
---
|
||||
## <a name="unsubscribing-from--data-variablesproductprodname_dotcom--marketing-emails"></a>Annulation de l’abonnement aux e-mails à but marketing de {% data variables.product.prodname_dotcom %}
|
||||
|
||||
{% tip %}
|
||||
|
||||
**Astuce :** Si vous vous désabonnez de tous les e-mails marketing, puis que vous vous abonnez au bulletin Explore, vous recevrez uniquement le bulletin Explore et ne recevrez pas d’autres e-mails marketing.
|
||||
|
||||
{% endtip %}
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.emails %}
|
||||
3. Sous *Préférences d’e-mail*, sélectionnez **Uniquement recevoir les e-mails liés au compte, et ceux auxquels je m’abonne**.
|
||||

|
||||
4. Cliquez sur **Enregistrer les préférences d’e-mail**.
|
||||

|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Types d’e-mails envoyés par GitHub](/articles/types-of-emails-github-sends) »
|
||||
- « [Configuration des notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications) »
|
||||
@@ -0,0 +1,80 @@
|
||||
---
|
||||
title: Mémoriser votre nom d’utilisateur ou votre e-mail GitHub
|
||||
intro: Are you signing in to {% data variables.product.product_location %} for the first time in a while? If so, welcome back! If you can't remember the username for your personal account on {% data variables.product.product_name %}, you can try these methods for remembering it.
|
||||
redirect_from:
|
||||
- /articles/oh-noes-i-ve-forgotten-my-username-email
|
||||
- /articles/oh-noes-i-ve-forgotten-my-username-or-email
|
||||
- /articles/remembering-your-github-username-or-email
|
||||
- /github/setting-up-and-managing-your-github-user-account/remembering-your-github-username-or-email
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-email-preferences/remembering-your-github-username-or-email
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
- Notifications
|
||||
shortTitle: Find your username or email
|
||||
ms.openlocfilehash: 79cb3ba65390e384272540bd32a1ec9e598517f4
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086470"
|
||||
---
|
||||
{% mac %}
|
||||
|
||||
## <a name="-data-variablesproductprodname_desktop--users"></a>Utilisateurs {% data variables.product.prodname_desktop %}
|
||||
|
||||
1. Dans le menu **Bureau GitHub**, cliquez sur **Préférences**.
|
||||
2. Dans la fenêtre Préférences, vérifiez ce qui suit :
|
||||
- Pour afficher votre nom d’utilisateur {% data variables.product.product_name %}, cliquez sur **Comptes**.
|
||||
- Pour afficher votre e-mail Git, cliquez sur **Git**. Notez qu’il n’est pas garanti que cet e-mail soit [votre e-mail {% data variables.product.product_name %} principal](/articles/changing-your-primary-email-address).
|
||||
|
||||
{% endmac %}
|
||||
|
||||
{% windows %}
|
||||
|
||||
## <a name="-data-variablesproductprodname_desktop--users"></a>Utilisateurs {% data variables.product.prodname_desktop %}
|
||||
|
||||
1. Dans le menu **Fichier**, cliquez sur **Options**.
|
||||
2. Dans la fenêtre Options, vérifiez ce qui suit :
|
||||
- Pour afficher votre nom d’utilisateur {% data variables.product.product_name %}, cliquez sur **Comptes**.
|
||||
- Pour afficher votre e-mail Git, cliquez sur **Git**. Notez qu’il n’est pas garanti que cet e-mail soit [votre e-mail {% data variables.product.product_name %} principal](/articles/changing-your-primary-email-address).
|
||||
|
||||
{% endwindows %}
|
||||
|
||||
## <a name="finding-your-username-in-your-username-configuration"></a>Recherche de votre nom d’utilisateur dans votre configuration `user.name`
|
||||
|
||||
Pendant la configuration, vous avez peut-être [configuré votre nom d’utilisateur dans Git](/github/getting-started-with-github/setting-your-username-in-git). Si tel est le cas, vous pouvez consulter la valeur de ce paramètre de configuration :
|
||||
|
||||
```shell
|
||||
$ git config user.name
|
||||
# View the setting
|
||||
<em>YOUR_USERNAME</em>
|
||||
```
|
||||
|
||||
## <a name="finding-your-username-in-the-url-of-remote-repositories"></a>Recherche de votre nom d’utilisateur dans l’URL de dépôts distants
|
||||
|
||||
Si vous avez des copies locales de dépôts personnels que vous avez créés ou dupliqués, vous pouvez vérifier l’URL du dépôt distant.
|
||||
|
||||
{% tip %}
|
||||
|
||||
**Astuce** : Cette méthode fonctionne uniquement si vous disposez d’un dépôt d’origine ou de votre propre duplication (fork) du dépôt d’une autre personne. Si vous clonez le dépôt d’une autre personne, son nom d’utilisateur s’affiche à la place du vôtre. De même, les dépôts d’organisation affichent le nom de l’organisation plutôt que celui d’un utilisateur particulier dans l’URL distante.
|
||||
|
||||
{% endtip %}
|
||||
|
||||
```shell
|
||||
$ cd <em>YOUR_REPOSITORY</em>
|
||||
# Change directories to the initialized Git repository
|
||||
$ git remote -v
|
||||
origin https://{% data variables.command_line.codeblock %}/<em>YOUR_USERNAME</em>/<em>YOUR_REPOSITORY</em>.git (fetch)
|
||||
origin https://{% data variables.command_line.codeblock %}/<em>YOUR_USERNAME</em>/<em>YOUR_REPOSITORY</em>.git (push)
|
||||
```
|
||||
|
||||
Votre nom d’utilisateur est ce qui suit immédiatement le `https://{% data variables.command_line.backticks %}/`.
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Vérification de votre adresse e-mail](/articles/verifying-your-email-address) » {% endif %}
|
||||
@@ -0,0 +1,32 @@
|
||||
---
|
||||
title: Définition d’une adresse e-mail de secours
|
||||
intro: Use a backup email address as an additional destination for security-relevant account notifications{% ifversion not ghae %} and to securely reset your password if you can no longer access your primary email address{% endif %}.
|
||||
redirect_from:
|
||||
- /articles/setting-a-backup-email-address
|
||||
- /github/setting-up-and-managing-your-github-user-account/setting-a-backup-email-address
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-email-preferences/setting-a-backup-email-address
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
- Notifications
|
||||
shortTitle: Set backup email address
|
||||
ms.openlocfilehash: 735e78c8f9e58dd6f6fea0f7c81334d8d8206d5a
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145087329"
|
||||
---
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.emails %}
|
||||
3. Sous « Adresse e-mail de secours », sélectionnez l’adresse que vous souhaitez définir comme adresse e-mail de secours à l’aide du menu déroulant.
|
||||

|
||||
4. Cliquez sur **Enregistrer**.
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Gestion des préférences de messagerie](/articles/managing-email-preferences/) »
|
||||
- « [Mise à jour de vos informations d’identification d’accès à GitHub](/articles/updating-your-github-access-credentials/) »
|
||||
@@ -0,0 +1,106 @@
|
||||
---
|
||||
title: Définition de votre adresse e-mail de commit
|
||||
intro: You can set the email address that is used to author commits on {% data variables.product.product_location %} and on your computer.
|
||||
redirect_from:
|
||||
- /articles/keeping-your-email-address-private
|
||||
- /articles/setting-your-commit-email-address-on-github
|
||||
- /articles/about-commit-email-addresses
|
||||
- /articles/git-email-settings
|
||||
- /articles/setting-your-email-in-git
|
||||
- /articles/set-your-user-name-email-and-github-token
|
||||
- /articles/setting-your-commit-email-address-in-git
|
||||
- /articles/setting-your-commit-email-address
|
||||
- /github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-email-preferences/setting-your-commit-email-address
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
- Notifications
|
||||
shortTitle: Set commit email address
|
||||
ms.openlocfilehash: da47c240cc53e18d5f5537f20dd8c1eb2f4127bf
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086468"
|
||||
---
|
||||
## <a name="about-commit-email-addresses"></a>À propos des adresses e-mail de commit
|
||||
|
||||
{% data variables.product.prodname_dotcom %} utilise votre adresse e-mail de commit pour associer des commits à votre compte sur {% data variables.product.product_location %}. Vous pouvez choisir l’adresse e-mail qui sera associée aux commits que vous poussez (push) à partir de la ligne de commande, ainsi qu’aux opérations Git basées sur le web que vous effectuez.
|
||||
|
||||
Pour les opérations Git basées sur le web, vous pouvez définir votre adresse e-mail de commit sur {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.product.product_location %}{% endif %}. Pour les commits que vous poussez à partir de la ligne de commande, vous pouvez définir votre adresse e-mail de commit dans Git.
|
||||
|
||||
{% ifversion fpt or ghec %}Les commits que vous avez effectués avant de changer votre adresse e-mail de commit sont toujours associés à votre adresse e-mail précédente.{% else %}Une fois votre adresse e-mail de commit changée sur {% data variables.product.product_name %}, la nouvelle adresse e-mail sera visible dans toutes vos futures opérations Git basées sur le web par défaut. Les commits que vous avez effectués avant de changer votre adresse e-mail de commit sont toujours associés à votre adresse e-mail précédente.{% endif %}
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Remarque** : {% data reusables.user-settings.no-verification-disposable-emails %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% ifversion fpt or ghec %}Si vous souhaitez que votre adresse e-mail personnelle reste privée, vous pouvez utiliser une adresse e-mail `no-reply` fournie par {% data variables.product.product_name %} comme adresse e-mail de commit. Pour utiliser votre adresse e-mail `noreply` pour les commits que vous poussez à partir de la ligne de commande, utilisez cette adresse e-mail lorsque vous définissez votre adresse e-mail de commit dans Git. Pour utiliser votre adresse `noreply` pour les opérations Git basées sur le web, définissez votre adresse e-mail de commit sur GitHub et choisissez l’option **Laisser mon adresse e-mail privée**.
|
||||
|
||||
Vous pouvez également choisir de bloquer les commits poussés à partir de la ligne de commande qui exposent votre adresse e-mail personnelle. Pour plus d’informations, consultez « [Blocage des poussées à partir de la ligne de commande qui exposent votre adresse e-mail personnelle](/articles/blocking-command-line-pushes-that-expose-your-personal-email-address) ».{% endif %}
|
||||
|
||||
Pour être sûr que les commits vous sont attribués et qu’ils apparaissent dans votre graphe de contributions, utilisez une adresse e-mail connectée à votre compte sur {% data variables.product.product_location %}{% ifversion fpt or ghec %}, ou l’adresse e-mail `noreply` fournie dans vos paramètres de messagerie{% endif %}. {% ifversion not ghae %}Pour plus d’informations, consultez « [Ajout d’une adresse e-mail à votre compte {% data variables.product.prodname_dotcom %}](/github/setting-up-and-managing-your-github-user-account/adding-an-email-address-to-your-github-account) ».{% endif %}
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Remarque :** Si vous avez créé votre compte sur {% data variables.product.product_location %} _après_ le 18 juillet 2017, votre adresse e-mail `no-reply` pour {% data variables.product.product_name %} est un numéro d’ID à sept chiffres et votre nom d’utilisateur au format <code><em>ID+username</em>@users.noreply.github.com</code>. Si vous avez créé votre compte sur {% data variables.product.product_location %} _avant_ le 18 juillet 2017, votre adresse e-mail `no-reply` fournie par {% data variables.product.product_name %} est <code><em>username</em>@users.noreply.github.com</code>. Vous pouvez obtenir une adresse e-mail `no-reply` basée sur l’ID pour {% data variables.product.product_name %} en sélectionnant (ou en désélectionnant puis resélectionnant) **Laisser mon adresse e-mail privée** dans vos paramètres de messagerie.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
Si vous utilisez votre adresse e-mail `noreply` pour {% data variables.product.product_name %} pour effectuer des commits, et qu’ensuite vous [modifiez votre nom d’utilisateur](/articles/changing-your-github-username), ces commits ne seront pas associés à votre compte sur {% data variables.product.product_location %}. Cela ne s’applique pas si vous utilisez l’adresse `noreply` basée sur l’ID fournie par {% data variables.product.product_name %}. Pour plus d’informations, consultez « [Modification de votre nom d’utilisateur {% data variables.product.prodname_dotcom %}](/articles/changing-your-github-username) ».{% endif %}
|
||||
|
||||
## <a name="setting-your-commit-email-address-on--data-variablesproductprodname_dotcom-"></a>Définition de votre adresse e-mail de commit sur {% data variables.product.prodname_dotcom %}
|
||||
|
||||
{% data reusables.files.commit-author-email-options %}
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.emails %} {% data reusables.user-settings.add_and_verify_email %} {% data reusables.user-settings.select_primary_email %}{% ifversion fpt or ghec %} {% data reusables.user-settings.keeping_your_email_address_private %}{% endif %}
|
||||
|
||||
## <a name="setting-your-commit-email-address-in-git"></a>Définition de votre adresse e-mail de commit dans Git
|
||||
|
||||
Vous pouvez utiliser la commande `git config` pour changer l’adresse e-mail que vous associez à vos commits Git. La nouvelle adresse e-mail que vous définissez sera visible dans les commits ultérieurs que vous pousserez à {% data variables.product.product_location %} à partir de la ligne de commande. Les commits que vous avez effectués avant de changer votre adresse e-mail de commit sont toujours associés à votre adresse e-mail précédente.
|
||||
|
||||
### <a name="setting-your-email-address-for-every-repository-on-your-computer"></a>Définition de votre adresse e-mail pour chaque dépôt sur votre ordinateur
|
||||
|
||||
{% data reusables.command_line.open_the_multi_os_terminal %}
|
||||
2. {% data reusables.user-settings.set_your_email_address_in_git %}
|
||||
```shell
|
||||
$ git config --global user.email "<em>email@example.com</em>"
|
||||
```
|
||||
3. {% data reusables.user-settings.confirm_git_email_address_correct %}
|
||||
```shell
|
||||
$ git config --global user.email
|
||||
<span class="output">email@example.com</span>
|
||||
```
|
||||
4. {% data reusables.user-settings.link_email_with_your_account %}
|
||||
|
||||
### <a name="setting-your-email-address-for-a-single-repository"></a>Définition de votre adresse e-mail pour un dépôt unique
|
||||
|
||||
{% data variables.product.product_name %} utilise l’adresse e-mail définie dans votre configuration Git locale pour associer les commits poussés à partir de la ligne de commande à votre compte sur {% data variables.product.product_location %}.
|
||||
|
||||
Vous pouvez changer l’adresse e-mail associée aux commits que vous effectuez dans un dépôt unique. Cela remplacera vos paramètres de configuration Git globaux dans ce dépôt, mais n’affectera aucun autre dépôt.
|
||||
|
||||
{% data reusables.command_line.open_the_multi_os_terminal %}
|
||||
2. Remplacez le répertoire de travail actuel par le dépôt local dans lequel vous souhaitez configurer l’adresse e-mail que vous associez à vos commits Git.
|
||||
3. {% data reusables.user-settings.set_your_email_address_in_git %}
|
||||
```shell
|
||||
$ git config user.email "<em>email@example.com</em>"
|
||||
```
|
||||
4. {% data reusables.user-settings.confirm_git_email_address_correct %}
|
||||
```shell
|
||||
$ git config user.email
|
||||
<span class="output">email@example.com</span>
|
||||
```
|
||||
5. {% data reusables.user-settings.link_email_with_your_account %}
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
title: Types d’e-mails envoyés par GitHub
|
||||
intro: There are several types of emails you can receive from {% data variables.product.product_name %}, including notifications, account information, customer research invitations, and marketing communications.
|
||||
redirect_from:
|
||||
- /articles/types-of-emails-github-sends
|
||||
- /github/setting-up-and-managing-your-github-user-account/types-of-emails-github-sends
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-email-preferences/types-of-emails-github-sends
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
- Notifications
|
||||
shortTitle: Emails from GitHub
|
||||
ms.openlocfilehash: e06708966ccd9f33564985e7964409fd1e1c55eb
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145087326"
|
||||
---
|
||||
## <a name="notification-emails"></a>E-mails de notification
|
||||
|
||||
Vous pouvez choisir de recevoir certaines ou toutes vos notifications d’activité par e-mail. Pour plus d’informations, consultez « [À propos des notifications »](/github/managing-subscriptions-and-notifications-on-github/about-notifications). Les e-mails de notification peuvent inclure :
|
||||
|
||||
- L’activité liée à la sécurité dans les dépôts auxquels vous avez un accès administrateur.
|
||||
- L’activité dans les dépôts que vous surveillez.
|
||||
- Les conversations auxquelles vous participez.
|
||||
- Les conversations où vous avez été @mentioned.
|
||||
- Les poussées relatives aux demandes de tirage auxquelles vous participez.
|
||||
- Les invitations à collaborer dans une organisation ou un dépôt.
|
||||
- Votre propre activité, telle que l’ouverture, la rédaction de commentaires ou la fermeture de problèmes et de demandes de tirage.
|
||||
|
||||
Vous pouvez également choisir le type de mises à jour par e-mail que vous souhaitez recevoir pour les conversations auxquelles vous participez ou que vous surveillez. Pour plus d’informations, consultez « [Configuration des notifications](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications) ».
|
||||
|
||||
## <a name="account-emails"></a>E-mails de compte
|
||||
|
||||
Si vous avez effectué une mise à niveau vers des produits ou fonctionnalités payants, vous recevrez des reçus de facturation à l’adresse e-mail principale du compte. Pour plus d’informations, consultez « [Définition de votre e-mail de facturation](/articles/setting-your-billing-email) ».
|
||||
|
||||
## <a name="customer-research-emails"></a>E-mails de recherche auprès des clients
|
||||
|
||||
{% data variables.product.product_name %} sollicite parfois des clients en vue de participer à des sessions de recherche pour nous aider à améliorer GitHub. Ces recherches sont menées à distance, ouvertes aux clients dans le monde entier, et elles peuvent comprendre :
|
||||
|
||||
- Des enquêtes de commentaires.
|
||||
- Des entrevues de recherche.
|
||||
- Des sessions de test d’utilisation.
|
||||
- Un aperçu des prototypes ou concepts précoces.
|
||||
|
||||
Ces e-mails sont peu fréquents et vous pouvez choisir si vous souhaitez ou non participer. Si vous souhaitez participer à des sessions de recherche supplémentaires, vous pouvez vous ajouter au GitHub Customer Research Panel. Pour plus d’informations, consultez « [Recherche sur l’expérience client GitHub](https://cxr.github.com) ».
|
||||
|
||||
## <a name="marketing-emails"></a>E-mails à but marketing
|
||||
|
||||
{% data variables.product.product_name %} envoient occasionnellement ces types d’e-mails à but marketing :
|
||||
|
||||
- Conseils et astuces pour bien démarrer avec votre compte
|
||||
- Informations personnalisées sur les projets attrayants ou les nouvelles fonctionnalités
|
||||
- Bulletins d’information auxquels vous vous êtes abonné, par exemple {% data variables.explore.explore_github %}
|
||||
|
||||
Pour plus d’informations, consultez « [Gestion des e-mails à but marketing de GitHub](/articles/managing-marketing-emails-from-github) ».
|
||||
@@ -0,0 +1,98 @@
|
||||
---
|
||||
title: À propos de votre tableau de bord personnel
|
||||
redirect_from:
|
||||
- /hidden/about-improved-navigation-to-commonly-accessed-pages-on-github
|
||||
- /articles/opting-into-the-public-beta-for-a-new-dashboard
|
||||
- /articles/about-your-personal-dashboard
|
||||
- /github/setting-up-and-managing-your-github-user-account/about-your-personal-dashboard
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/about-your-personal-dashboard
|
||||
intro: You can visit your personal dashboard to keep track of issues and pull requests you're working on or following, navigate to your top repositories and team pages, stay updated on recent activities in organizations and repositories you're subscribed to, and explore recommended repositories.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Your personal dashboard
|
||||
ms.openlocfilehash: a6c91f68a30f06bbc5b3b7bc8a0b95dddfbae64a
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086467"
|
||||
---
|
||||
## <a name="accessing-your-personal-dashboard"></a>Accès à votre tableau de bord personnel
|
||||
|
||||
Votre tableau de bord personnel est la première page que vous voyez lorsque vous vous connectez à {% data variables.product.product_name %}.
|
||||
|
||||
Pour accéder à votre tableau de bord personnel une fois que vous êtes connecté, cliquez sur {% octicon "mark-github" aria-label="The github octocat logo" %} dans le coin supérieur gauche de n’importe quelle page sur {% data variables.product.product_name %}.
|
||||
|
||||
## <a name="finding-your-recent-activity"></a>Recherche de votre activité récente
|
||||
|
||||
Dans la section « Activité récente » de votre fil d’actualité, vous pouvez rapidement rechercher et suivre les problèmes et les demandes de tirage récemment mis à jour sur lesquels vous travaillez. Sous « Activité récente », vous pouvez afficher un aperçu des 4 mises à jour récentes effectuées au cours des deux dernières semaines.
|
||||
|
||||
{% data reusables.dashboard.recent-activity-qualifying-events %}
|
||||
|
||||
## <a name="finding-your-top-repositories-and-teams"></a>Recherche de vos principaux dépôts et équipes
|
||||
|
||||
Dans la barre latérale gauche de votre tableau de bord, vous pouvez accéder aux principaux dépôts et équipes que vous utilisez.
|
||||
|
||||

|
||||
|
||||
La liste des principaux dépôts est générée automatiquement, et peut comprendre tous les dépôts avec lesquels vous avez interagi, qu’ils soit détenus directement par votre compte ou non. Les interactions incluent la création de commits, l’ouverture de problèmes et de demandes de tirage, ainsi que la rédaction de commentaires sur ceux-ci. La liste des principaux dépôts ne peut pas être modifiée, mais les dépôts sont supprimés de la liste quatre mois après la dernière interaction.
|
||||
|
||||
Vous trouverez également une liste des dépôts, équipes et tableaux de projet auxquels vous avez récemment accédé en cliquant dans la barre de recherche en haut de n’importe quelle page sur {% data variables.product.product_name %}.
|
||||
|
||||
## <a name="staying-updated-with-activity-from-the-community"></a>Se tenir à jour de l’activité de la communauté
|
||||
|
||||
{% if for-you-feed %} La section principale de votre tableau de bord comporte deux flux d’activités :
|
||||
|
||||
- Suivi : activité par les personnes que vous suivez et des dépôts que vous surveillez.
|
||||
- Pour vous : activité et recommandations basées sur votre réseau {% data variables.product.product_name %}.
|
||||
|
||||
### <a name="following-feed"></a>Flux Suivi
|
||||
|
||||
Ce flux affiche l’activité des dépôts et des utilisateurs pour lesquels vous avez montré un intérêt direct, en suivant un utilisateur ou en surveillant un dépôt. Par exemple, vous verrez les mises à jour lorsqu’un utilisateur que vous suivez :
|
||||
|
||||
{% else %} Dans la section « Toute l’activité » de votre fil d’actualité, vous pouvez afficher les mises à jour des dépôts que vous surveillez et des utilisateurs que vous suivez.
|
||||
|
||||
Vous verrez les mises à jour dans votre fil d’actualité lorsqu’un utilisateur que vous suivez : {% endif %}
|
||||
|
||||
|
||||
- Met en vedette un dépôt.
|
||||
- Suit un autre utilisateur.{% ifversion fpt or ghes or ghec %}
|
||||
- Crée un dépôt public.{% endif %}
|
||||
- Ouvre un problème ou une demande de tirage avec l’étiquette « Aide souhaitée » ou « bon premier problème » sur un dépôt que vous surveillez.
|
||||
- Pousse des commits dans un dépôt que vous surveillez.{% ifversion fpt or ghes or ghec %}
|
||||
- Duplique un dépôt public.{% endif %}
|
||||
- Publie une nouvelle mise en production.
|
||||
|
||||
Pour plus d’informations sur le suivi des personnes et la surveillance des dépôts, consultez « [Suivi des personnes](/get-started/exploring-projects-on-github/following-people) » et « [Être social](/get-started/quickstart/be-social) ».
|
||||
|
||||
{% if for-you-feed %}
|
||||
### <a name="for-you-feed"></a>Flux Pour vous
|
||||
|
||||
{% note %}
|
||||
|
||||
**Remarque :** Ce nouvel onglet est actuellement en version bêta publique, et sujet à modification.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
Ce flux affiche une activité et des recommandations basées sur votre réseau sur {% data variables.product.product_name %}. Il est conçu pour fournir des mises à jour qui vous inspirent, vous tiennent à jour et vous aident à trouver de nouvelles communautés auxquelles vous souhaiterez participer. Votre réseau comprend :
|
||||
|
||||
- Les dépôts que vous avez mis en vedette.
|
||||
- Les dépôts auxquels vous avez contribué.
|
||||
- Les utilisateurs que vous suivez ou parrainez.
|
||||
- Les utilisateurs avec qui vous avez collaboré.
|
||||
- Les organisations que vous suivez.
|
||||
|
||||
{% endif %}
|
||||
|
||||
## <a name="exploring-recommended-repositories"></a>Exploration des dépôts recommandés
|
||||
|
||||
Dans la section « Explore repositories » située à droite de votre tableau de bord, vous pouvez explorer les dépôts recommandés dans vos communautés. Les recommandations sont basées sur les dépôts que vous avez mis en vedette ou auxquels vous avez accédé, les personnes que vous suivez et l’activité dans les dépôts auxquels vous avez accès.{% ifversion fpt or ghec %} Pour plus d’informations, consultez « [Trouver des moyens de contribuer à l’open source sur {% data variables.product.prodname_dotcom %}](/github/getting-started-with-github/finding-ways-to-contribute-to-open-source-on-github)."{% endif %}
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [À propos de votre tableau de bord d’organisation](/articles/about-your-organization-dashboard) »
|
||||
@@ -0,0 +1,45 @@
|
||||
---
|
||||
title: Bonnes pratiques pour quitter votre entreprise
|
||||
intro: If you use your account on {% data variables.product.product_name %} for both personal and work purposes, there are a few things to keep in mind when you leave your company or organization.
|
||||
redirect_from:
|
||||
- /articles/best-practices-for-leaving-your-company
|
||||
- /github/setting-up-and-managing-your-github-user-account/best-practices-for-leaving-your-company
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/best-practices-for-leaving-your-company
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Leaving your company
|
||||
ms.openlocfilehash: 4384955c0b81e887cb2671a537291b438664e621
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145087325"
|
||||
---
|
||||
Avant de quitter votre entreprise, veillez à mettre à jour les informations suivantes dans votre compte personnel :
|
||||
|
||||
- Dévérifiez votre adresse e-mail professionnelle en la [supprimant dans vos paramètres de messagerie](/articles/changing-your-primary-email-address). Vous pouvez ensuite la rajouter sans vérification afin de conserver les commits associés liés à votre compte.
|
||||
- [Changez votre adresse e-mail principale](/articles/changing-your-primary-email-address) en remplaçant votre e-mail d’entreprise par votre e-mail personnel.
|
||||
{% ifversion fpt or ghec %}
|
||||
- [Vérifiez votre nouvelle adresse e-mail principale](/articles/verifying-your-email-address).
|
||||
{% endif %}
|
||||
- [Modifiez votre nom d’utilisateur GitHub](/articles/changing-your-github-username) pour supprimer toute référence à votre entreprise ou organisation, si nécessaire.
|
||||
|
||||
## <a name="leaving-organizations"></a>Quitter une organisation
|
||||
|
||||
Si vous avez travaillé avec des dépôts appartenant à une organisation, vous devez [vous supprimer en tant que membre de l’organisation](/articles/removing-yourself-from-an-organization). Notez que si vous êtes le propriétaire de l’organisation, vous devez d’abord [transférer la propriété de l’organisation](/articles/transferring-organization-ownership) à une autre personne.
|
||||
|
||||
## <a name="removing-professional-associations-with-personal-repositories"></a>Suppression d’associations professionnelles avec des dépôts personnels
|
||||
|
||||
Si vous avez collaboré professionnellement avec une autre personne sur des dépôts qui appartiennent à son compte personnel, vous devez [vous supprimer en tant que collaborateur](/articles/removing-yourself-from-a-collaborator-s-repository) de ces dépôts.
|
||||
|
||||
- [Arrêtez la surveillance des dépôts](https://github.com/watching) liés à votre travail. Vous n’aurez plus besoin de recevoir ces notifications.
|
||||
- [Transférez les dépôts dont vous êtes propriétaire](/articles/how-to-transfer-a-repository) et dont d’autres personnes peuvent avoir besoin pour continuer à travailler après votre départ.
|
||||
- [Supprimez les duplications qui vous appartiennent](/articles/deleting-a-repository) et qui sont liées au travail que vous faisiez. Ne vous inquiétez pas, la suppression d’une duplication ne supprime pas le dépôt en amont.
|
||||
- Supprimez les copies locales de vos duplications qui peuvent exister sur votre ordinateur :
|
||||
|
||||
```shell
|
||||
$ rm -rf <em>work_directory</em>
|
||||
```
|
||||
@@ -0,0 +1,95 @@
|
||||
---
|
||||
title: Modification de votre nom d’utilisateur GitHub
|
||||
intro: You can change the username for your account on {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}{% data variables.product.product_location %} if your instance uses built-in authentication{% endif %}.
|
||||
redirect_from:
|
||||
- /articles/how-to-change-your-username
|
||||
- /articles/changing-your-github-user-name
|
||||
- /articles/renaming-a-user
|
||||
- /articles/what-happens-when-i-change-my-username
|
||||
- /articles/changing-your-github-username
|
||||
- /github/setting-up-and-managing-your-github-user-account/changing-your-github-username
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/changing-your-github-username
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Change your username
|
||||
ms.openlocfilehash: 30139a0dab508f1e8db0f33174d6e25ec28afef4
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086466"
|
||||
---
|
||||
{% ifversion ghec or ghes %}
|
||||
|
||||
{% note %}
|
||||
|
||||
{% ifversion ghec %}
|
||||
|
||||
**Remarque** : Les membres d’une {% data variables.product.prodname_emu_enterprise %} ne peuvent pas changer de nom d’utilisateur. L’administrateur du fournisseur d’identité de votre entreprise contrôle votre nom d’utilisateur pour {% data variables.product.product_name %}. Pour plus d’informations, consultez « [À propos de {% data variables.product.prodname_emus %}](/admin/authentication/managing-your-enterprise-users-with-your-identity-provider/about-enterprise-managed-users) ».
|
||||
|
||||
{% elsif ghes %}
|
||||
|
||||
**Remarque** : Si vous vous connectez à {% data variables.product.product_location %} avec des informations d’identification LDAP ou l’authentification unique, seul votre administrateur local peut changer votre nom d’utilisateur. Pour plus d’informations sur les méthodes d’authentification pour {% data variables.product.product_name %}, consultez « [Authentification des utilisateurs pour {% data variables.product.product_location %}](/admin/authentication/authenticating-users-for-your-github-enterprise-server-instance) ».
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## <a name="about-username-changes"></a>À propos des changements de nom d’utilisateur
|
||||
|
||||
Vous pouvez remplacer votre nom d’utilisateur par un autre qui n’est pas en cours d’utilisation.{% ifversion fpt or ghec %} Si le nom d’utilisateur souhaité n’est pas disponible, réfléchissez à d’autres noms ou variantes uniques. L’utilisation d’un chiffre, d’un trait d’union ou d’une autre orthographe peut vous aider à trouver un nom d’utilisateur similaire qui est toujours disponible.
|
||||
|
||||
Si vous détenez une marque commerciale pour le nom d’utilisateur, vous trouverez plus d’informations sur la façon de soumettre une réclamation sur notre page [Politique concernant les marques commerciales](/free-pro-team@latest/github/site-policy/github-trademark-policy).
|
||||
|
||||
Si vous ne détenez pas de marque commerciale pour le nom, vous pouvez choisir un autre nom d’utilisateur ou conserver votre nom d’utilisateur actuel. {% data variables.contact.github_support %} ne peut pas libérer le nom d’utilisateur indisponible pour vous. Pour plus d’informations, consultez « [Changement de votre nom d’utilisateur](#changing-your-username) ».{% endif %}
|
||||
|
||||
Une fois que vous avez changé votre nom d’utilisateur, votre ancien nom d’utilisateur devient disponible et ne peut être revendiqué par aucune autre personne. La plupart des références à vos dépôts sous l’ancien nom d’utilisateur passent automatiquement au nouveau nom d’utilisateur. Toutefois, certains liens vers votre profil ne sont pas redirigés automatiquement.
|
||||
|
||||
{% data variables.product.product_name %} ne peut pas configurer les redirections pour :
|
||||
- Les [@mentions](/articles/basic-writing-and-formatting-syntax/#mentioning-people-and-teams) utilisant votre ancien nom d’utilisateur.
|
||||
- Les liens vers des [gists](/articles/creating-gists) qui incluent votre ancien nom d’utilisateur.
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
Si vous êtes membre d’une {% data variables.product.prodname_emu_enterprise %}, vous ne pouvez pas apporter de modifications à votre nom d’utilisateur. {% data reusables.enterprise-accounts.emu-more-info-account %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## <a name="repository-references"></a>Références de dépôts
|
||||
|
||||
Une fois que vous avez changé votre nom d’utilisateur, {% data variables.product.product_name %} redirige automatiquement les références vers vos dépôts.
|
||||
- Les liens web vers vos dépôts existants continueront à fonctionner. Cette opération peut prendre quelques minutes après la modification.
|
||||
- Les poussées (push) par ligne de commande à partir de vos clones de dépôt local vers les anciennes URL de suivi à distance continueront à fonctionner.
|
||||
|
||||
Si le nouveau propriétaire de votre ancien nom d’utilisateur crée un dépôt portant le même nom que le vôtre, cela remplacera l’entrée de redirection et votre redirection cessera de fonctionner. En raison de cette possibilité, nous vous recommandons de mettre à jour toutes les URL de dépôt distant existantes après avoir changé votre nom d’utilisateur. Pour plus d’informations, consultez « [Gestion des dépôts distants](/github/getting-started-with-github/managing-remote-repositories) ».
|
||||
|
||||
## <a name="links-to-your-previous-profile-page"></a>Liens vers votre page de profil précédente
|
||||
|
||||
Après un changement de nom d’utilisateur, les liens vers votre page de profil précédente, par exemple `https://{% data variables.command_line.backticks %}/previoususername`, retourneront une erreur 404. Nous vous recommandons de mettre à jour les liens vers votre compte sur {% data variables.product.product_location %} à partir d’un autre emplacement{% ifversion fpt or ghec %}, tel que votre profil LinkedIn ou Twitter{% endif %}.
|
||||
|
||||
## <a name="your-git-commits"></a>Vos commits Git
|
||||
|
||||
{% ifversion fpt or ghec %}Les commits Git qui étaient associés à votre adresse e-mail `noreply` fournie par {% data variables.product.product_name %} ne seront pas attribués à votre nouveau nom d’utilisateur et n’apparaîtront pas dans votre graphe de contributions.{% endif %} Si vos commits Git sont associés à une autre adresse e-mail que vous avez [ajoutée à votre compte GitHub](/articles/adding-an-email-address-to-your-github-account), {% ifversion fpt or ghec %}y compris l’adresse e-mail `noreply` fournie par {% data variables.product.product_name %} et basée sur l’ID, {% endif %}ils continueront à vous être attribués et apparaîtront dans votre graphe de contributions après le changement de nom d’utilisateur. Pour plus d’informations sur la définition de votre adresse e-mail, consultez « [Définition de votre adresse e-mail de commit](/articles/setting-your-commit-email-address) ».
|
||||
|
||||
## <a name="changing-your-username"></a>Changement de votre nom d’utilisateur
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.account_settings %}
|
||||
3. Dans la section « Changer le nom d'utilisateur », cliquez sur **Changer le nom d'utilisateur**.
|
||||
{% ifversion fpt or ghec %}
|
||||
4. Lisez les avertissements concernant le changement de votre nom d’utilisateur. Si vous souhaitez toujours changer votre nom d’utilisateur, cliquez sur **Je comprends. Changeons mon nom d'utilisateur**.
|
||||

|
||||
5. Tapez un nouveau nom d’utilisateur.
|
||||

|
||||
6. Si le nom d’utilisateur que vous avez choisi est disponible, cliquez sur **Changer mon nom d'utilisateur**. Si le nom d’utilisateur que vous avez choisi n’est pas disponible, vous pouvez essayer un autre nom d’utilisateur ou l’une des suggestions affichées.
|
||||
 {% endif %}
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Pourquoi mes commits sont-ils liés au mauvais utilisateur ?](/pull-requests/committing-changes-to-your-project/troubleshooting-commits/why-are-my-commits-linked-to-the-wrong-user) »{% ifversion fpt or ghec %}
|
||||
- « [Politique relative aux noms d’utilisateur {% data variables.product.prodname_dotcom %}](/free-pro-team@latest/github/site-policy/github-username-policy) »{% endif %}
|
||||
@@ -0,0 +1,72 @@
|
||||
---
|
||||
title: Conversion d’un utilisateur en organisation
|
||||
redirect_from:
|
||||
- /articles/what-is-the-difference-between-create-new-organization-and-turn-account-into-an-organization
|
||||
- /articles/explaining-the-account-transformation-warning
|
||||
- /articles/converting-a-user-into-an-organization
|
||||
- /github/setting-up-and-managing-your-github-user-account/converting-a-user-into-an-organization
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/converting-a-user-into-an-organization
|
||||
intro: You can convert your personal account into an organization. This allows more granular permissions for repositories that belong to the organization.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: User into an organization
|
||||
ms.openlocfilehash: 0c167e3e389230e6ac2dccb9f1f2f3dc67791bd0
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145066884"
|
||||
---
|
||||
{% warning %}
|
||||
|
||||
**Avertissement** : Avant de convertir un utilisateur en organisation, gardez à l’esprit les points suivants :
|
||||
|
||||
- Vous **ne pourrez plus** vous connecter au compte personnel converti.
|
||||
- Vous **ne pourrez plus** créer ou modifier des gists appartenant au compte personnel converti.
|
||||
- Une organisation **ne peut pas** être convertie en utilisateur.
|
||||
- Les clés SSH, les jetons OAuth, le profil de travail, les réactions et les informations utilisateur associées **ne seront pas** transférés vers l’organisation. Cela s’applique uniquement au compte personnel en cours de conversion, et non aux collaborateurs du compte personnel.
|
||||
- Les commits effectués avec le compte personnel converti **ne seront plus liés** à ce compte. Les commits eux-mêmes **resteront** intacts.
|
||||
- Toute duplication (fork) de dépôt privé effectuée avec le compte personnel converti sera supprimée.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
## <a name="keep-your-personal-account-and-create-a-new-organization-manually"></a>Conserver votre compte personnel et créer une organisation manuellement
|
||||
|
||||
Si vous souhaitez que votre organisation porte le même nom que celui actuellement utilisé pour votre compte personnel, ou si vous souhaitez conserver les informations de votre compte personnel telles quelles, vous devez créer une organisation et transférer vos dépôts vers celle-ci au lieu de convertir votre compte personnel en organisation.
|
||||
|
||||
1. Pour conserver le nom de votre compte personnel actuel pour votre usage personnel, [renommez-le](/articles/changing-your-github-username).
|
||||
2. [Créez une organisation](/articles/creating-a-new-organization-from-scratch) avec le nom d’origine de votre compte personnel.
|
||||
3. [Transférez vos dépôts](/articles/transferring-a-repository) vers votre nouveau compte d’organisation.
|
||||
|
||||
## <a name="convert-your-personal-account-into-an-organization-automatically"></a>Convertir automatiquement votre compte personnel en organisation
|
||||
|
||||
Vous pouvez également convertir votre compte personnel directement en organisation. La conversion de votre compte :
|
||||
- Conserve les dépôts tels quels sans qu’il soit nécessaire de les transférer manuellement vers un autre compte.
|
||||
- Invite automatiquement les collaborateurs dans des équipes avec des autorisations équivalentes à celles qu’ils avaient auparavant {% ifversion fpt or ghec %}- Pour les comptes personnels sur {% data variables.product.prodname_pro %}, effectue automatiquement la transition de la facturation vers [la version payante de {% data variables.product.prodname_team %}](/articles/about-billing-for-github-accounts) sans qu’il soit à aucun moment nécessaire de réentrer les informations de paiement, d’ajuster votre période de facturation ou de payer en double{% endif %}
|
||||
|
||||
1. Créez un compte personnel, que vous utiliserez pour vous connecter à GitHub et accéder à l’organisation et à vos dépôts après la conversion.
|
||||
2. [Quittez toute organisation](/articles/removing-yourself-from-an-organization) qu’a rejoint le compte personnel que vous convertissez.
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.organizations %}
|
||||
5. Sous « Transformer le compte », cliquez sur **Convertir <username> en organisation**.
|
||||

|
||||
6. Dans la boîte de dialogue Avertissement de transformation de compte, passez en revue et confirmez la conversion. Notez que les informations contenues dans cette boîte sont identiques à l’avertissement mentionné en haut de cet article.
|
||||

|
||||
7. Dans la page « Transformer votre utilisateur en organisation », sous « Choisir un propriétaire d’organisation », choisissez le compte personnel secondaire que vous avez créé dans la section précédente ou un autre utilisateur que vous approuvez pour gérer l’organisation.
|
||||

|
||||
8. Choisissez l’abonnement de votre nouvelle organisation et entrez vos informations de facturation si vous y êtes invité.
|
||||
9. Cliquez sur **Créer une organisation**.
|
||||
10. Connectez-vous au nouveau compte personnel que vous avez créé à l’étape 1, puis utilisez le sélecteur de contexte pour accéder à votre nouvelle organisation.
|
||||
|
||||
{% tip %}
|
||||
|
||||
**Astuce** : lorsque vous convertissez un compte personnel en organisation, nous ajoutons les collaborateurs des dépôts qui appartiennent au compte à la nouvelle organisation en tant que *collaborateurs externes*. Vous pouvez ensuite inviter des *collaborateurs externes* à devenir membres de votre nouvelle organisation si vous le souhaitez. Pour plus d’informations, consultez « [Rôles dans une organisation](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization#outside-collaborators) ».
|
||||
|
||||
{% endtip %}
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
- « [Configuration des équipes](/articles/setting-up-teams) » {% ifversion fpt or ghec %}- « [Invitation d’utilisateurs à rejoindre votre organisation](/articles/inviting-users-to-join-your-organization) » {% endif %}
|
||||
- « [Accès à une organisation](/articles/accessing-an-organization) »
|
||||
@@ -0,0 +1,54 @@
|
||||
---
|
||||
title: Suppression de votre compte d’utilisateur
|
||||
intro: You can delete your personal account on {% data variables.product.product_name %} at any time.
|
||||
redirect_from:
|
||||
- /articles/deleting-a-user-account
|
||||
- /articles/deleting-your-user-account
|
||||
- /github/setting-up-and-managing-your-github-user-account/deleting-your-user-account
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/deleting-your-user-account
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Delete your personal account
|
||||
ms.openlocfilehash: fe18309f93bdb4124fa5a58d22ab7a93b451e6e1
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086172"
|
||||
---
|
||||
La suppression de votre compte personnel supprime tous les référentiels, les duplications (forks) de référentiels privés, les wikis, les problèmes, les demandes de tirage (pull requests) et les pages appartenant à votre compte. {% ifversion fpt or ghec %} Les problèmes et les demandes de tirage que vous avez créés et les commentaires que vous avez rédigés dans les dépôts appartenant à d’autres utilisateurs ne seront pas supprimés. Ils seront associés à notre [utilisateur Ghost](https://github.com/ghost).{% else %}Les problèmes et les demandes de tirage que vous avez créés et les commentaires que vous avez rédigés dans des dépôts appartenant à d’autres utilisateurs ne seront pas supprimés.{% endif %}
|
||||
|
||||
{% ifversion fpt or ghec %} Lorsque vous supprimez votre compte, nous cessons de vous facturer. L’adresse e-mail associée au compte devient disponible pour une utilisation avec un autre compte sur {% data variables.product.product_location %}. Après 90 jours, le nom du compte devient également utilisable par toute autre personne avec un nouveau compte. {% endif %}
|
||||
|
||||
Si vous êtes le seul propriétaire d’une organisation, vous devez transférer la propriété à une autre personne ou supprimer l’organisation avant de pouvoir supprimer votre compte personnel. S’il existe d’autres propriétaires dans l’organisation, vous devez vous supprimer de l’organisation avant de pouvoir supprimer votre compte personnel.
|
||||
|
||||
Pour plus d'informations, consultez les pages suivantes :
|
||||
- « [Transfert de propriété d’une organisation](/articles/transferring-organization-ownership) »
|
||||
- « [Suppression d’un compte d’organisation](/articles/deleting-an-organization-account) »
|
||||
- « [Vous supprimer vous-même d’une organisation](/articles/removing-yourself-from-an-organization/) »
|
||||
|
||||
## <a name="back-up-your-account-data"></a>Sauvegarder les données de votre compte
|
||||
|
||||
Avant de supprimer votre compte personnel, effectuez une copie de tous les référentiels, duplications privées, wikis, problèmes et demandes de tirage appartenant à votre compte.
|
||||
|
||||
{% warning %}
|
||||
|
||||
**Avertissement :** une fois votre compte personnel supprimé, GitHub ne peut pas restaurer votre contenu.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
## <a name="delete-your-personal-account"></a>Supprimer votre compte personnel
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.account_settings %}
|
||||
3. En bas de la page Paramètres du compte, sous « Supprimer le compte », cliquez sur **Supprimer votre compte**. Avant de pouvoir supprimer votre compte personnel :
|
||||
- Si vous êtes le seul propriétaire de l’organisation, vous devez transférer la propriété à une autre personne ou supprimer votre organisation.
|
||||
- S’il existe d’autres propriétaires d’organisation dans l’organisation, vous devez vous supprimer de l’organisation.
|
||||

|
||||
4. Dans la boîte de dialogue « Vérifiez que vous êtes certain de vouloir faire cela », effectuez les étapes pour confirmer que vous comprenez ce qui se produit lorsque votre compte est supprimé : {% ifversion fpt or ghec %}- Rappelez-vous que tous les dépôts, duplications de dépôts privés, wikis, problèmes, demandes de tirage et sites {% data variables.product.prodname_pages %} appartenant à votre compte seront supprimés, que votre facturation cessera immédiatement, et que votre nom d’utilisateur pourra être utilisé par n’importe qui sur {% data variables.product.product_name %} après 90 jours.
|
||||
{% else %}- Rappelez-vous que tous les dépôts, duplications de dépôts privés, wikis, problèmes, demandes de tirage et pages appartenant à votre compte seront supprimés, et que votre nom d’utilisateur pourra être utilisé sur {% data variables.product.product_name %} après 90 jours.
|
||||
{% endif %}- Dans le premier champ, tapez votre nom d’utilisateur ou e-mail {% data variables.product.product_name %}.
|
||||
- Dans le deuxième champ, tapez l’expression de l’invite.
|
||||
@@ -0,0 +1,40 @@
|
||||
---
|
||||
title: Gestion des paramètres de compte d’utilisateur
|
||||
intro: You can change several settings for your personal account, including changing your username and deleting your account.
|
||||
redirect_from:
|
||||
- /categories/29/articles
|
||||
- /categories/user-accounts
|
||||
- /articles/managing-user-account-settings
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
children:
|
||||
- /about-your-personal-dashboard
|
||||
- /managing-your-theme-settings
|
||||
- /managing-your-tab-size-rendering-preference
|
||||
- /changing-your-github-username
|
||||
- /merging-multiple-user-accounts
|
||||
- /converting-a-user-into-an-organization
|
||||
- /deleting-your-user-account
|
||||
- /permission-levels-for-a-user-account-repository
|
||||
- /permission-levels-for-user-owned-project-boards
|
||||
- /managing-accessibility-settings
|
||||
- /managing-the-default-branch-name-for-your-repositories
|
||||
- /managing-security-and-analysis-settings-for-your-user-account
|
||||
- /managing-access-to-your-user-accounts-project-boards
|
||||
- /integrating-jira-with-your-personal-projects
|
||||
- /best-practices-for-leaving-your-company
|
||||
- /what-does-the-available-for-hire-checkbox-do
|
||||
shortTitle: Personal account settings
|
||||
ms.openlocfilehash: 2d62699cda16ed9387e1f19aab5bb6bde4376b7b
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086169"
|
||||
---
|
||||
@@ -0,0 +1,32 @@
|
||||
---
|
||||
title: Intégration de Jira à vos projets personnels
|
||||
intro: You can integrate Jira Cloud with your personal account to scan commits and pull requests, creating relevant metadata and hyperlinks in any mentioned Jira issues.
|
||||
redirect_from:
|
||||
- /articles/integrating-jira-with-your-personal-projects
|
||||
- /github/setting-up-and-managing-your-github-user-account/integrating-jira-with-your-personal-projects
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/integrating-jira-with-your-personal-projects
|
||||
versions:
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
shortTitle: Integrate Jira with projects
|
||||
ms.openlocfilehash: a9106d979aa0f219bd20fc5b27042dfe8e81fc8c
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086167"
|
||||
---
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.developer_settings %} {% data reusables.user-settings.oauth_apps %}
|
||||
1. Cliquez sur **Inscrire une nouvelle application**.
|
||||
2. Sous **Nom de l’application**, tapez « Jira ».
|
||||
3. Sous **URL de page d’accueil**, tapez l’URL complète de votre instance Jira.
|
||||
4. Sous **URL de rappel d’autorisation**, tapez l’URL complète de votre instance Jira.
|
||||
5. Cliquez sur **Register application**.
|
||||

|
||||
8. Sous **Applications de développeur**, notez les valeurs « ID client » et « Clé secrète client ».
|
||||
 {% data reusables.user-settings.jira_help_docs %}
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- [« Intégration de Jira à votre tableau de projet d’organisation »](/articles/integrating-jira-with-your-organization-project-board)
|
||||
- <a href="https://confluence.atlassian.com/adminjiracloud/connect-jira-cloud-to-github-814188429.html" data-proofer-ignore>Connecter Jira Cloud à GitHub</a> (documentation Atlassian)
|
||||
@@ -0,0 +1,38 @@
|
||||
---
|
||||
title: Gestion de l’accès aux tableaux de projet de votre compte d’utilisateur
|
||||
intro: As a project board owner, you can add or remove a collaborator and customize their permissions to a project board.
|
||||
redirect_from:
|
||||
- /articles/managing-project-boards-in-your-repository-or-organization
|
||||
- /articles/managing-access-to-your-user-account-s-project-boards
|
||||
- /articles/managing-access-to-your-user-accounts-project-boards
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-access-to-your-user-accounts-project-boards
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-access-to-your-user-accounts-project-boards
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Manage access project boards
|
||||
ms.openlocfilehash: 5a5cf08169fec04a896b05b7934c80cfe9f2eded
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086166"
|
||||
---
|
||||
Un collaborateur est une personne qui dispose des autorisations d’accès à un tableau de projet dont vous êtes propriétaire. Les autorisations d’un collaborateur sont par défaut l’accès en lecture. Pour plus d’informations, consultez « [Niveaux d’autorisation pour les tableaux de projet appartenant à un utilisateur](/articles/permission-levels-for-user-owned-project-boards) ».
|
||||
|
||||
## <a name="inviting-collaborators-to-a-user-owned-project-board"></a>Invitation de collaborateurs à un tableau de projet appartenant à un utilisateur
|
||||
|
||||
1. Accédez au tableau de projet dans lequel vous souhaitez ajouter un collaborateur.
|
||||
{% data reusables.project-management.click-menu %} {% data reusables.project-management.access-collaboration-settings %} {% data reusables.project-management.collaborator-option %}
|
||||
5. Sous « Rechercher par nom d’utilisateur, nom complet ou adresse e-mail », tapez le nom, le nom d’utilisateur ou l’adresse e-mail {% data variables.product.prodname_dotcom %} du collaborateur.
|
||||
 {% data reusables.project-management.add-collaborator %}
|
||||
7. Par défaut, le nouveau collaborateur dispose d’autorisations de lecture. Si vous le souhaitez, en regard du nom du nouveau collaborateur, utilisez le menu déroulant et choisissez un autre niveau d’autorisation.
|
||||

|
||||
|
||||
## <a name="removing-a-collaborator-from-a-user-owned-project-board"></a>Suppression d’un collaborateur d’un tableau de projet appartenant à un utilisateur
|
||||
|
||||
{% data reusables.project-management.click-menu %} {% data reusables.project-management.access-collaboration-settings %} {% data reusables.project-management.collaborator-option %} {% data reusables.project-management.remove-collaborator %}
|
||||
@@ -0,0 +1,24 @@
|
||||
---
|
||||
title: Gestion des paramètres d’accessibilité
|
||||
intro: You can disable character key shortcuts on {% data variables.product.prodname_dotcom %} in your accessibility settings.
|
||||
versions:
|
||||
feature: keyboard-shortcut-accessibility-setting
|
||||
ms.openlocfilehash: 9cd1aa981642a9372731fcbf39a614e5b93b1273
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086165"
|
||||
---
|
||||
## <a name="about-accessibility-settings"></a>À propos des paramètres d’accessibilité
|
||||
|
||||
{% data variables.product.product_name %} inclut un large éventail de raccourcis clavier afin que vous puissiez effectuer des actions sur le site sans utiliser votre souris pour naviguer. Même si les raccourcis sont utiles pour gagner du temps, ils peuvent parfois rendre {% data variables.product.prodname_dotcom %} plus difficile à utiliser et moins accessible.
|
||||
|
||||
Tous les raccourcis clavier sont activés par défaut sur {% data variables.product.product_name %}, mais vous pouvez choisir de désactiver les raccourcis de touches de caractères dans vos paramètres d’accessibilité. Ce paramètre n’affecte pas les raccourcis clavier fournis par votre navigateur web ou les raccourcis {% data variables.product.prodname_dotcom %} qui utilisent une touche de modification telle que <kbd>Contrôle</kbd> ou <kbd>Commande</kbd>.
|
||||
|
||||
## <a name="managing-character-key-shortcuts"></a>Gestion des raccourcis de touches de caractères
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.accessibility_settings %}
|
||||
1. Cochez ou décochez la case **Activer les raccourcis de touche de caractère**.
|
||||

|
||||
2. Cliquez sur **Enregistrer**.
|
||||
@@ -0,0 +1,57 @@
|
||||
---
|
||||
title: Gestion des paramètres de sécurité et d’analyse pour votre compte d’utilisateur
|
||||
intro: You can control features that secure and analyze the code in your projects on {% data variables.product.prodname_dotcom %}.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
ghes: '>3.2'
|
||||
topics:
|
||||
- Accounts
|
||||
redirect_from:
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-security-and-analysis-settings-for-your-user-account
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-security-and-analysis-settings-for-your-user-account
|
||||
shortTitle: Manage security & analysis
|
||||
ms.openlocfilehash: 1a025a46dc42252a2e3c0facbe6b3beffa48cf45
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086162"
|
||||
---
|
||||
## <a name="about-management-of-security-and-analysis-settings"></a>À propos de la gestion des paramètres de sécurité et d’analyse
|
||||
|
||||
{% data variables.product.prodname_dotcom %} peut vous aider à sécuriser vos dépôts. Cette rubrique vous explique comment gérer les fonctionnalités de sécurité et d’analyse de tous vos dépôts existants ou nouveaux.
|
||||
|
||||
Vous pouvez toujours gérer les fonctionnalités de sécurité et d’analyse de chaque dépôt individuellement. Pour plus d’informations, consultez « [Gestion des paramètres de sécurité et d’analyse pour votre dépôt](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository) ».
|
||||
|
||||
Vous pouvez également consulter le journal de sécurité pour passer en revue toute l’activité sur votre compte personnel. Pour plus d’informations, consultez « [Examen de votre journal de sécurité](/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log) ».
|
||||
|
||||
{% data reusables.security.some-security-and-analysis-features-are-enabled-by-default %}
|
||||
|
||||
{% data reusables.security.security-and-analysis-features-enable-read-only %}
|
||||
|
||||
Pour obtenir une vue d’ensemble de la sécurité au niveau du dépôt, consultez « [Sécurisation de votre dépôt](/code-security/getting-started/securing-your-repository) ».
|
||||
|
||||
## <a name="enabling-or-disabling-features-for-existing-repositories"></a>Activation ou désactivation de fonctionnalités pour les dépôts existants
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.security-analysis %}
|
||||
3. Sous « Sécurité du code et analyse », à droite de la fonctionnalité, cliquez sur **Désactiver tout** ou **Activer tout**.
|
||||
{% ifversion ghes > 3.2 %}{% else %}{% endif %}
|
||||
6. Si vous le souhaitez, activez la fonctionnalité par défaut pour les nouveaux dépôts dont vous êtes propriétaire.
|
||||
{% ifversion ghes > 3.2 %}{% else %}{% endif %}
|
||||
7. Cliquez sur **Désactiver la FONCTIONNALITÉ** ou **Activer la FONCTIONNALITÉ** pour désactiver ou activer la fonctionnalité pour tous les dépôts dont vous êtes propriétaire.
|
||||
{% ifversion ghes > 3.2 %}{% else %}{% endif %}
|
||||
|
||||
{% data reusables.security.displayed-information %}
|
||||
|
||||
## <a name="enabling-or-disabling-features-for-new-repositories"></a>Activation ou désactivation de fonctionnalités pour les nouveaux dépôts
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.security-analysis %}
|
||||
3. Sous « Sécurité du code et analyse », à droite de la fonctionnalité, activez ou désactivez la fonctionnalité par défaut pour les nouveaux dépôts dont vous êtes propriétaire.
|
||||
{% ifversion ghes > 3.2 %}{% else %}{% endif %}
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [À propos du graphe des dépendances](/github/visualizing-repository-data-with-graphs/about-the-dependency-graph) »
|
||||
- « [À propos de {% data variables.product.prodname_dependabot_alerts %}](/code-security/supply-chain-security/about-alerts-for-vulnerable-dependencies) »
|
||||
- « [Tenir vos dépendances à jour automatiquement](/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically) »
|
||||
@@ -0,0 +1,40 @@
|
||||
---
|
||||
title: Gestion du nom de branche par défaut pour vos dépôts
|
||||
intro: You can set the default branch name for new repositories that you create on {% data variables.product.product_location %}.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
redirect_from:
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-the-default-branch-name-for-your-repositories
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-the-default-branch-name-for-your-repositories
|
||||
shortTitle: Manage default branch name
|
||||
ms.openlocfilehash: 5bf934f246a2d0e447a99d0f63888b5b87ecc033
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086161"
|
||||
---
|
||||
## <a name="about-management-of-the-default-branch-name"></a>À propos de la gestion du nom de branche par défaut
|
||||
|
||||
Lorsque vous créez un dépôt sur {% data variables.product.product_location %}, il contient une seule branche, qui est la branche par défaut. Vous pouvez modifier le nom que {% data variables.product.product_name %} utilise pour la branche par défaut dans les nouveaux dépôts que vous créez. Pour plus d’informations sur la branche par défaut, consultez « [À propos des branches](/github/collaborating-with-issues-and-pull-requests/about-branches#about-the-default-branch) ».
|
||||
|
||||
{% data reusables.branches.change-default-branch %}
|
||||
|
||||
## <a name="setting-the-default-branch-name"></a>Définition du nom de branche par défaut
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.repo-tab %}
|
||||
3. Sous « Branche par défaut du dépôt », cliquez sur **Changer la branche par défaut du dépôt**.
|
||||

|
||||
4. Tapez le nom par défaut que vous souhaitez utiliser pour les nouvelles branches.
|
||||

|
||||
5. Cliquez sur **Update**.
|
||||

|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Gestion du nom de branche par défaut pour les dépôts de votre organisation](/organizations/managing-organization-settings/managing-the-default-branch-name-for-repositories-in-your-organization) »
|
||||
@@ -0,0 +1,24 @@
|
||||
---
|
||||
title: Gestion de votre préférence d’affichage de la taille des tabulations
|
||||
intro: You can manage the number of spaces a tab is equal to for your personal account.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghae: issue-5083
|
||||
ghes: '>=3.4'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Managing your tab size
|
||||
ms.openlocfilehash: 2313c9e09d7f203f88ad2536aaffd3f508e15b79
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086160"
|
||||
---
|
||||
Si vous trouvez que la mise en retrait dans le code affiché sur {% data variables.product.product_name %} prend trop d’espace, ou trop peu d’espace, vous pouvez modifier cela dans vos paramètres.
|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
1. Dans la barre latérale gauche, cliquez sur **{% octicon "paintbrush" aria-label="The paintbrush icon" %} Apparence**.
|
||||
2. Sous « Préférence de taille de tabulation », sélectionnez le menu déroulant et choisissez votre préférence.
|
||||

|
||||
@@ -0,0 +1,56 @@
|
||||
---
|
||||
title: Gestion de vos paramètres de thème
|
||||
intro: You can manage how {% data variables.product.product_name %} looks to you by setting a theme preference that either follows your system settings or always uses a light or dark mode.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghae: '*'
|
||||
ghes: '>=3.2'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
redirect_from:
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-your-theme-settings
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-your-theme-settings
|
||||
shortTitle: Manage theme settings
|
||||
ms.openlocfilehash: 238af803ead331a9323e9457024a85dff05fc5d4
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086155"
|
||||
---
|
||||
Pour plus de choix et de flexibilité dans votre utilisation de {% data variables.product.product_name %}, vous pouvez configurer les paramètres de thème afin de changer l’apparence de {% data variables.product.product_name %}. Vous pouvez choisir parmi des thèmes clairs ou sombres, ou configurer {% data variables.product.product_name %} de façon à suivre vos paramètres système.
|
||||
|
||||
Vous souhaiterez peut-être utiliser un thème sombre pour réduire la consommation d’alimentation sur certains appareils, pour réduire la contrainte oculaire dans des conditions de faible lumière, ou car vous préférez l’apparence du thème.
|
||||
|
||||
{% ifversion fpt or ghes > 3.2 or ghae or ghec %}Si vous n’avez pas une bonne vision, vous préférerez peut-être un thème à contraste élevé, avec un contraste plus élevé entre les éléments de premier plan et d’arrière-plan.{% endif %}{% ifversion fpt or ghae or ghec %} Si vous souffrez de daltonisme, vous pourrez tirer parti de nos thèmes clairs et sombres adaptés aux daltoniens.
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.appearance-settings %}
|
||||
|
||||
1. Sous « Mode du thème », sélectionnez le menu déroulant, puis cliquez sur une préférence de thème.
|
||||
|
||||

|
||||
1. Cliquez sur le thème que vous souhaitez utiliser.
|
||||
- Si vous avez choisi un thème unique, cliquez sur un thème.
|
||||
|
||||
{% ifversion fpt or ghes > 3.2 or ghae or ghec %}{% else %}{% endif %}
|
||||
- Si vous avez choisi de suivre vos paramètres système, cliquez sur un thème de jour et un thème de nuit.
|
||||
|
||||
{% ifversion fpt or ghes > 3.2 or ghae or ghec %}{% else %}{% endif %} {% ifversion fpt or ghec %}
|
||||
- Si vous souhaitez choisir un thème actuellement en version bêta publique, vous devez d’abord l’activer avec la préversion des fonctionnalités. Pour plus d’informations, consultez « [Exploration des versions d’accès anticipé avec préversion des fonctionnalités](/get-started/using-github/exploring-early-access-releases-with-feature-preview) ».{% endif %}
|
||||
|
||||
{% if command-palette %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Remarque :** Vous pouvez également modifier vos paramètres de thème avec la palette de commandes. Pour plus d’informations, consultez « [{% data variables.product.prodname_command_palette %}](/get-started/using-github/github-command-palette) ».
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Définition d’un thème pour {% data variables.product.prodname_desktop %}](/desktop/installing-and-configuring-github-desktop/setting-a-theme-for-github-desktop) »
|
||||
@@ -0,0 +1,52 @@
|
||||
---
|
||||
title: Fusion de plusieurs comptes d’utilisateur
|
||||
intro: If you have separate accounts for work and personal use, you can merge the accounts.
|
||||
redirect_from:
|
||||
- /articles/can-i-merge-two-accounts
|
||||
- /articles/keeping-work-and-personal-repositories-separate
|
||||
- /articles/merging-multiple-user-accounts
|
||||
- /github/setting-up-and-managing-your-github-user-account/merging-multiple-user-accounts
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/merging-multiple-user-accounts
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Merge multiple personal accounts
|
||||
ms.openlocfilehash: 128a6c99f8a6208150067bb2c3668557b184c255
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086154"
|
||||
---
|
||||
{% tip %}
|
||||
|
||||
{% ifversion ghec %}
|
||||
|
||||
**Astuce :** Les {% data variables.product.prodname_emus %} permettent à une entreprise de provisionner des comptes personnels uniques pour ses membres par le biais d’un fournisseur d’identité (IdP). Pour plus d’informations, consultez « [À propos des utilisateurs d’entreprise managés](/admin/identity-and-access-management/managing-iam-with-enterprise-managed-users/about-enterprise-managed-users) ». Pour d’autres cas d’usage, nous vous recommandons d’utiliser un seul compte personnel pour gérer à la fois les dépôts personnels et professionnels.
|
||||
|
||||
{% else %}
|
||||
|
||||
**Conseil :** Nous vous recommandons d’utiliser un seul compte personnel pour gérer à la fois les dépôts personnels et professionnels.
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% endtip %}
|
||||
|
||||
{% warning %}
|
||||
|
||||
**Avertissement :**
|
||||
- Les autorisations d’accès à l’organisation et au dépôt ne sont pas transmissibles entre les comptes. Si le compte que vous souhaitez supprimer dispose d’une autorisation d’accès existante, un propriétaire d’organisation ou un administrateur de dépôt doit inviter le compte que vous souhaitez conserver.
|
||||
- Les commits créés avec une adresse e-mail `noreply` fournie par GitHub ne peuvent pas être transférés d’un compte à un autre. Si le compte que vous souhaitez supprimer a utilisé l’option **Laisser mon adresse e-mail privée**, il n’est pas possible de transférer les commits créés par le compte que vous supprimez vers le compte que vous souhaitez conserver.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
1. [Transférez tous les dépôts](/articles/how-to-transfer-a-repository) du compte que vous souhaitez supprimer vers le compte que vous souhaitez conserver. Les problèmes, les demandes de tirage et les wikis sont également transférés. Vérifiez que les dépôts existent sur le compte que vous souhaitez conserver.
|
||||
2. [Mettez à jour les URL distantes](/github/getting-started-with-github/managing-remote-repositories) dans tous les clones locaux des dépôts qui ont été déplacés.
|
||||
3. [Supprimez le compte](/articles/deleting-your-user-account) que vous ne souhaitez plus utiliser.
|
||||
4. Pour attribuer des commits passés au nouveau compte, ajoutez l’adresse e-mail que vous avez utilisée pour créer les commits au compte que vous conservez. Pour plus d’informations, consultez « [Pourquoi mes contributions ne s’affichent-elles pas sur mon profil ?](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile#your-local-git-commit-email-isnt-connected-to-your-account) ».
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Types de comptes {% data variables.product.prodname_dotcom %}](/articles/types-of-github-accounts) »
|
||||
@@ -0,0 +1,96 @@
|
||||
---
|
||||
title: Niveaux d’autorisation pour un dépôt de compte d’utilisateur
|
||||
intro: 'A repository owned by a personal account has two permission levels: the repository owner and collaborators.'
|
||||
redirect_from:
|
||||
- /articles/permission-levels-for-a-user-account-repository
|
||||
- /github/setting-up-and-managing-your-github-user-account/permission-levels-for-a-user-account-repository
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/permission-levels-for-a-user-account-repository
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Permission user repositories
|
||||
ms.openlocfilehash: 3fed88f8c31f5d3dd788f7b977c214499856f27e
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086150"
|
||||
---
|
||||
## <a name="about-permissions-levels-for-a-personal-account-repository"></a>À propos des niveaux d’autorisation pour un dépôt de compte personnel
|
||||
|
||||
Les dépôts appartenant à des comptes personnels ont un seul propriétaire. Les autorisations de propriété ne peuvent pas être partagées avec un autre compte personnel.
|
||||
|
||||
Vous pouvez également {% ifversion fpt or ghec %}inviter{% else %}ajouter{% endif %} des utilisateurs sur {% data variables.product.product_name %} à votre dépôt en tant que collaborateurs. Pour plus d’informations, consultez « [Invitation de collaborateurs à un dépôt personnel](/github/setting-up-and-managing-your-github-user-account/inviting-collaborators-to-a-personal-repository) ».
|
||||
|
||||
{% tip %}
|
||||
|
||||
**Astuce :** Si vous avez besoin d’un accès plus précis à un dépôt appartenant à votre compte personnel, vous pouvez transférer ce dépôt à une organisation. Pour plus d’informations, consultez « [Transfert d’un dépôt](/github/administering-a-repository/transferring-a-repository#transferring-a-repository-owned-by-your-personal-account) ».
|
||||
|
||||
{% endtip %}
|
||||
|
||||
## <a name="owner-access-for-a-repository-owned-by-a-personal-account"></a>Accès propriétaire pour un dépôt appartenant à un compte personnel
|
||||
|
||||
Le propriétaire du dépôt dispose d’un contrôle total sur le dépôt. Outre les actions que n’importe quel collaborateur peut effectuer, le propriétaire du dépôt peut effectuer les actions suivantes.
|
||||
|
||||
| Action | Plus d’informations |
|
||||
| :- | :- |
|
||||
| {% ifversion fpt or ghec %}Inviter des collaborateurs{% else %}Ajouter des collaborateurs{% endif %} | « [Invitation de collaborateurs à un dépôt personnel](/github/setting-up-and-managing-your-github-user-account/inviting-collaborators-to-a-personal-repository) » |
|
||||
| Modifier la visibilité du dépôt | « [Définition de la visibilité du dépôt](/github/administering-a-repository/setting-repository-visibility) » |{% ifversion fpt or ghec %}
|
||||
| Limiter les interactions avec le dépôt | « [Limitation des interactions dans votre dépôt](/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository) » |{% endif %}
|
||||
| Renommer une branche, y compris la branche par défaut | « [Renommer une branche](/github/administering-a-repository/renaming-a-branch) » |
|
||||
| Fusionner une demande de tirage sur une branche protégée, même s’il n’y a pas de révisions d’approbation | « [À propos des branches protégées](/github/administering-a-repository/about-protected-branches) » |
|
||||
| Supprimer le dépôt | « [Suppression d’un dépôt](/repositories/creating-and-managing-repositories/deleting-a-repository) » |
|
||||
| Gérer les rubriques du dépôt | « [Classifier votre dépôt avec des rubriques](/github/administering-a-repository/classifying-your-repository-with-topics) » |{% ifversion fpt or ghec %}
|
||||
| Gérer les paramètres de sécurité et d’analyse du dépôt | « [Gestion des paramètres de sécurité et d’analyse pour votre dépôt](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository) » |{% endif %}{% ifversion fpt or ghec %}
|
||||
| Activer le graphe des dépendances pour un dépôt privé | « [Exploration des dépendances d’un dépôt](/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository#enabling-and-disabling-the-dependency-graph-for-a-private-repository) » |{% endif %}{% ifversion fpt or ghes > 3.1 or ghec or ghae %}
|
||||
| Supprimer et restaurer des packages | « [Suppression et restauration d’un package](/packages/learn-github-packages/deleting-and-restoring-a-package) » |{% endif %}
|
||||
| Personnaliser l’aperçu du dépôt sur les réseaux sociaux | « [Personnalisation de l’aperçu de votre dépôt sur les réseaux sociaux](/github/administering-a-repository/customizing-your-repositorys-social-media-preview) » |
|
||||
| Créer un modèle à partir du dépôt | « [Création d’un modèle de dépôt](/github/creating-cloning-and-archiving-repositories/creating-a-template-repository) » |{% ifversion fpt or ghes or ghae or ghec %}
|
||||
| Contrôler l’accès à {% data variables.product.prodname_dependabot_alerts %} pour les dépendances vulnérables | « [Gestion des paramètres de sécurité et d’analyse pour votre dépôt](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts) » |{% endif %}{% ifversion fpt or ghec %}
|
||||
| Ignorer {% data variables.product.prodname_dependabot_alerts %} dans le dépôt | « [Affichage des {% data variables.product.prodname_dependabot_alerts %} pour les dépendances vulnérables](/github/managing-security-vulnerabilities/viewing-and-updating-vulnerable-dependencies-in-your-repository) » |
|
||||
| Gérer l’utilisation des données pour un dépôt privé | « [Gestion des paramètres d’utilisation des données pour votre dépôt privé](/get-started/privacy-on-github/managing-data-use-settings-for-your-private-repository) »|{% endif %}
|
||||
| Définir les propriétaires de code pour le dépôt | « [À propos des propriétaires de code](/github/creating-cloning-and-archiving-repositories/about-code-owners) » |
|
||||
| Archiver le dépôt | « [Archivage des dépôts](/repositories/archiving-a-github-repository/archiving-repositories) » |{% ifversion fpt or ghec %}
|
||||
| Créer des avis de sécurité | « [À propos des {% data variables.product.prodname_security_advisories %}](/github/managing-security-vulnerabilities/about-github-security-advisories) » |
|
||||
| Afficher un bouton de sponsor | « [Affichage d’un bouton de sponsor dans votre dépôt](/github/administering-a-repository/displaying-a-sponsor-button-in-your-repository) » |{% endif %}
|
||||
| Autoriser ou interdire la fusion automatique pour les demandes de tirage | « [Gestion de la fusion automatique pour les demandes de tirage dans votre dépôt](/github/administering-a-repository/managing-auto-merge-for-pull-requests-in-your-repository) » |
|
||||
|
||||
## <a name="collaborator-access-for-a-repository-owned-by-a-personal-account"></a>Accès collaborateur pour un dépôt appartenant à un compte personnel
|
||||
|
||||
Les collaborateurs d’un dépôt personnel peuvent tirer (lire) le contenu du dépôt et pousser (écrire) des modifications au dépôt.
|
||||
|
||||
{% note %}
|
||||
|
||||
**Remarque :** Dans un dépôt privé, les propriétaires de dépôt ne peuvent accorder qu’un accès en écriture aux collaborateurs. Les collaborateurs ne peuvent pas avoir accès en lecture seule à des dépôts appartenant à un compte personnel.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
Les collaborateurs peuvent également effectuer les actions suivantes.
|
||||
|
||||
| Action | Plus d’informations |
|
||||
| :- | :- |
|
||||
| Dupliquer (fork) le référentiel | « [À propos des duplications](/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks) » |{% ifversion fpt or ghes > 3.1 or ghae or ghec %}
|
||||
| Renommer une branche autre que la branche par défaut | « [Renommer une branche](/github/administering-a-repository/renaming-a-branch) » |{% endif %}
|
||||
| Créer, modifier et supprimer des commentaires sur des commits, des demandes de tirage et des problèmes dans le dépôt | <ul><li>« [À propos des problèmes](/github/managing-your-work-on-github/about-issues) »</li><li>« [Commentaires sur une demande de tirage](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request) »</li><li>« [Gestion des commentaires perturbants](/communities/moderating-comments-and-conversations/managing-disruptive-comments) »</li></ul> |
|
||||
| Créer, affecter, fermer et rouvrir des problèmes dans le dépôt | « [Gestion de votre travail avec les problèmes](/github/managing-your-work-on-github/managing-your-work-with-issues) » |
|
||||
| Gérer les étiquettes pour les problèmes et les demandes de tirage dans le dépôt | « [Étiquetage des problèmes et demandes de tirage](/github/managing-your-work-on-github/labeling-issues-and-pull-requests) » |
|
||||
| Gérer les jalons pour les problèmes et les demandes de tirage dans le dépôt | « [Création et modification de jalons pour les problèmes et les demandes de tirage](/github/managing-your-work-on-github/creating-and-editing-milestones-for-issues-and-pull-requests) » |
|
||||
| Marquer un problème ou une demande de tirage dans le dépôt en tant que doublon | « [À propos des doublons de problèmes et de demandes de tirage](/github/managing-your-work-on-github/about-duplicate-issues-and-pull-requests) » |
|
||||
| Créer, fusionner et fermer des demandes de tirage dans le dépôt | « [Propositions de modifications de votre travail avec des demandes de tirage](/github/collaborating-with-issues-and-pull-requests/proposing-changes-to-your-work-with-pull-requests) » |
|
||||
| Activer et désactiver la fusion automatique pour une demande de tirage | « [Fusion automatique d’une demande de tirage](/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request) »
|
||||
| Appliquer des modifications suggérées à des demandes de tirage dans le dépôt |« [Incorporation de commentaires dans votre demande de tirage](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/incorporating-feedback-in-your-pull-request) » |
|
||||
| Créer une demande de tirage à partir d’une duplication (fork) du dépôt | « [Création d’une demande de tirage à partir d’une duplication](/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork) » |
|
||||
| Soumettre une révision sur une demande de tirage qui affecte la capacité de fusion de la demande de tirage | « [Révision des modifications proposées dans une demande de tirage](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request) » |
|
||||
| Créer et modifier un wiki pour le dépôt | « [À propos des wikis](/communities/documenting-your-project-with-wikis/about-wikis) » |
|
||||
| Créer et modifier des mises en production pour le dépôt | « [Gestion des mises en production dans un dépôt](/github/administering-a-repository/managing-releases-in-a-repository) » |
|
||||
| Agir en tant que propriétaire de code pour le dépôt | « [À propos des propriétaires de code](/articles/about-code-owners) » |{% ifversion fpt or ghae or ghec %}
|
||||
| Publier, afficher ou installer des packages | « [Publication et gestion des packages](/github/managing-packages-with-github-packages/publishing-and-managing-packages) » |{% endif %}
|
||||
| Se supprimer en tant que collaborateur sur le dépôt | « [Vous supprimer en tant que collaborateur d’un dépôt](/github/setting-up-and-managing-your-github-user-account/removing-yourself-from-a-collaborators-repository) » |
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Rôles de dépôt pour une organisation](/organizations/managing-access-to-your-organizations-repositories/repository-roles-for-an-organization) »
|
||||
@@ -0,0 +1,69 @@
|
||||
---
|
||||
title: Niveaux d’autorisation pour les tableaux de projet appartenant à un utilisateur
|
||||
intro: 'A project board owned by a personal account has two permission levels: the project board owner and collaborators.'
|
||||
redirect_from:
|
||||
- /articles/permission-levels-for-user-owned-project-boards
|
||||
- /github/setting-up-and-managing-your-github-user-account/permission-levels-for-user-owned-project-boards
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/permission-levels-for-user-owned-project-boards
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Permission user project boards
|
||||
ms.openlocfilehash: 535ef830e9ee0d8d5a3bb81ea208711cf4060943
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086149"
|
||||
---
|
||||
## <a name="permissions-overview"></a>Vue d’ensemble des autorisations
|
||||
|
||||
Il n’y a qu’un seul propriétaire d’un tableau de projet appartenant à l’utilisateur ; cette autorisation ne peut pas être partagée avec un autre compte personnel. En plus du propriétaire, d’autres personnes peuvent collaborer sur des tableaux de projet.
|
||||
|
||||
Il existe trois niveaux d’autorisations pour les collaborateurs à un tableau de projet :
|
||||
|
||||
{% data reusables.project-management.project-board-permissions %}
|
||||
|
||||
## <a name="owner-and-admin-permissions-for-a-user-owned-project-board"></a>Autorisations de propriétaire et d’administrateur pour un tableau de projet appartenant à un utilisateur
|
||||
|
||||
Le propriétaire du tableau de projet et les collaborateurs disposant d’un accès administrateur ont un contrôle total sur le tableau de projet. Outre toutes les autorisations accordées aux collaborateurs du tableau de projet, un propriétaire de tableau de projet et un collaborateur disposant d’un accès administrateur peuvent :
|
||||
|
||||
- [Gérer, afficher et ajouter des collaborateurs](/articles/managing-access-to-your-user-account-s-project-boards)
|
||||
- [Configurer un tableau de projet comme étant {% ifversion ghae %}interne{% else %}public{% endif %} ou privé](/articles/changing-project-board-visibility)
|
||||
- [Supprimer un tableau de projet](/articles/deleting-a-project-board/)
|
||||
- [Fermer un tableau de projet](/articles/closing-a-project-board/)
|
||||
- [Rouvrir un tableau de projet fermé](/articles/reopening-a-closed-project-board)
|
||||
|
||||
## <a name="read-and-write-permissions-for-a-user-owned-project-board"></a>Autorisations de lecture et d’écriture pour un tableau de projet appartenant à un utilisateur
|
||||
|
||||
Les collaborateurs disposant d’un accès en lecture à un tableau de projet appartenant à un utilisateur peuvent :
|
||||
|
||||
- Afficher un tableau de projet.
|
||||
- Copier un tableau de projet.
|
||||
- Filtrer les cartes sur un tableau de projet.
|
||||
|
||||
Les collaborateurs disposant d’un accès en écriture à un tableau de projet appartenant à un utilisateur peuvent :
|
||||
|
||||
- Afficher un tableau de projet.
|
||||
- Copier un tableau de projet.
|
||||
- Filtrer les cartes sur un tableau de projet.
|
||||
- Modifier un tableau de projet.
|
||||
- Lier un dépôt à un tableau de projet.
|
||||
- Configurer l’automatisation pour les tableaux de projet.
|
||||
- Copier un tableau de projet.
|
||||
- Ajouter des problèmes et des demandes d’extraction à un tableau de projet.
|
||||
- Ajouter des notes à un tableau de projet.
|
||||
- Suivre la progression sur votre tableau de projet.
|
||||
- Archiver des cartes sur un tableau de projet.
|
||||
|
||||
## <a name="project-board-visibility"></a>Visibilité du tableau de projet
|
||||
|
||||
Vous pouvez modifier la visibilité du tableau de projet de privé en {% ifversion ghae %}interne{% else %}public{% endif %} et inversement. Par défaut, les tableaux de projet appartenant à un utilisateur sont privés. Pour plus d’informations, consultez « [Modification de la visibilité d’un tableau de projet](/articles/changing-project-board-visibility) ».
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Gestion de l’accès aux tableaux de projet de votre compte personnel](/articles/managing-access-to-your-user-account-s-project-boards) »
|
||||
@@ -0,0 +1,33 @@
|
||||
---
|
||||
title: À quoi sert la case à cocher « Disponible à l’embauche » ?
|
||||
intro: Use the **Available for hire** checkbox to view GitHub Jobs posts within GitHub.
|
||||
redirect_from:
|
||||
- /articles/what-does-the-available-for-hire-checkbox-do
|
||||
- /github/setting-up-and-managing-your-github-user-account/what-does-the-available-for-hire-checkbox-do
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/what-does-the-available-for-hire-checkbox-do
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Available for hire checkbox
|
||||
ms.openlocfilehash: d3acf444423db8aacce8d33d1062b32e435a751a
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086148"
|
||||
---
|
||||
{% warning %}
|
||||
|
||||
Remarque de dépréciation : GitHub Jobs est désormais déprécié. La dernière date de publication d’un emploi était le 19 mai 2021. Le site GitHub Jobs a été mis complètement hors service le 19 août 2021, et redirige maintenant vers un [billet de blog GitHub](https://github.blog/changelog/2021-04-19-deprecation-notice-github-jobs-site/) qui contient plus d’informations sur la dépréciation de GitHub Jobs.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
Le tableau [GitHub Jobs](https://jobs.github.com/) est un excellent moyen de trouver un emploi dans le secteur de la technologie. Vous pouvez choisir d’afficher les emplois publiés ici sur votre tableau de bord GitHub.
|
||||
|
||||

|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
2. Sous Jobs Profile, sélectionnez **Disponible à l’embauche**, puis cliquez sur **Enregistrer les profils d’emplois**.
|
||||

|
||||
@@ -0,0 +1,58 @@
|
||||
---
|
||||
title: À propos de l’appartenance à l’organisation
|
||||
intro: You can become a member of an organization to collaborate with coworkers or open-source contributors across many repositories at once.
|
||||
redirect_from:
|
||||
- /articles/about-organization-membership
|
||||
- /github/setting-up-and-managing-your-github-user-account/about-organization-membership
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-your-membership-in-organizations/about-organization-membership
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Organization membership
|
||||
ms.openlocfilehash: 6a7afd8aee12e2c471f564122fb21f07d710f808
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086147"
|
||||
---
|
||||
Un propriétaire d’organisation peut vous inviter à rejoindre son organisation en tant que membre, responsable de facturation ou propriétaire. Un propriétaire ou un membre d’organisation disposant de privilèges d’administrateur pour un dépôt peut vous inviter à collaborer dans un ou plusieurs dépôts en tant que collaborateur externe. Pour plus d’informations, consultez « [Rôles dans une organisation](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization) ».
|
||||
|
||||
Vous pouvez accéder aux organisations dont vous êtes membre sur votre page de profil. Pour plus d’informations, consultez « [Accès à une organisation](/articles/accessing-an-organization) ».
|
||||
|
||||
Lorsque vous acceptez une invitation à rejoindre une organisation, les propriétaires de l’organisation peuvent être en mesure de voir :
|
||||
|
||||
- Les informations de votre profil public.
|
||||
- Votre adresse e-mail
|
||||
- Si vous avez activé l’autorisation à deux facteurs.
|
||||
- Les dépôts auxquels vous avez accès au sein de l’organisation ainsi que votre niveau d’accès.
|
||||
- Certaines activités au sein de l’organisation.
|
||||
- Le pays d’origine de la demande.
|
||||
- Votre adresse IP.
|
||||
|
||||
Pour plus d’informations, consultez la <a href="/articles/github-privacy-statement/" class="dotcom-only">Déclaration de confidentialité {% data variables.product.prodname_dotcom %}</a>.
|
||||
|
||||
{% note %}
|
||||
|
||||
**Remarque :** Les propriétaires ne peuvent pas voir les adresses IP des membres dans le journal d’audit de l’organisation. En cas d’incident de sécurité, par exemple une compromission de compte ou un partage par inadvertance de données sensibles, les propriétaires de l’organisation peuvent demander des détails relatifs à l’accès aux dépôts privés. Les informations que nous retournons sont susceptibles d’inclure votre adresse IP.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
Par défaut, la visibilité de votre appartenance à l’organisation est définie sur « privée ». Vous pouvez choisir de publiciser l’appartenance à une organisation individuelle sur votre profil. Pour plus d’informations, consultez « [Publicisation ou masquage de l’appartenance à une organisation](/articles/publicizing-or-hiding-organization-membership) ».
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
Si votre organisation appartient à un compte d’entreprise, vous êtes automatiquement membre du compte d’entreprise et visible par les propriétaires de compte d’entreprise. Pour plus d’informations, consultez « [À propos des comptes d’entreprise](/enterprise-cloud@latest/admin/overview/about-enterprise-accounts){% ifversion fpt %} » dans la documentation {% data variables.product.prodname_ghe_cloud %}.{% else %}."{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
Vous pouvez quitter une organisation à tout moment. Pour plus d’informations, consultez « [Vous supprimer vous-même d’une organisation](/articles/removing-yourself-from-an-organization) ».
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [À propos des organisations](/articles/about-organizations) »
|
||||
- « [Gestion de votre appartenance aux organisations](/articles/managing-your-membership-in-organizations) »
|
||||
@@ -0,0 +1,31 @@
|
||||
---
|
||||
title: Accès à une organisation
|
||||
intro: To access an organization that you're a member of, you must sign in to your personal account.
|
||||
redirect_from:
|
||||
- /articles/error-cannot-log-in-that-account-is-an-organization
|
||||
- /articles/cannot-log-in-that-account-is-an-organization
|
||||
- /articles/how-do-i-access-my-organization-account
|
||||
- /articles/accessing-an-organization
|
||||
- /github/setting-up-and-managing-your-github-user-account/accessing-an-organization
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-your-membership-in-organizations/accessing-an-organization
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
ms.openlocfilehash: 61d05267792ec59cef5f5b41d7680d1dc4c3f9fe
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086144"
|
||||
---
|
||||
{% tip %}
|
||||
|
||||
**Astuce :** Seuls les propriétaires d’organisation peuvent voir et modifier les paramètres de compte d’une organisation.
|
||||
|
||||
{% endtip %}
|
||||
|
||||
{% data reusables.profile.access_org %} {% data reusables.user-settings.access_org %}
|
||||
@@ -0,0 +1,29 @@
|
||||
---
|
||||
title: Gestion de votre appartenance aux organisations
|
||||
intro: If you're a member of an organization, you can publicize or hide your membership, view other people's roles, and remove yourself from the organization.
|
||||
redirect_from:
|
||||
- /articles/managing-your-membership-in-organizations
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-your-membership-in-organizations
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
children:
|
||||
- /about-organization-membership
|
||||
- /accessing-an-organization
|
||||
- /viewing-peoples-roles-in-an-organization
|
||||
- /requesting-organization-approval-for-oauth-apps
|
||||
- /publicizing-or-hiding-organization-membership
|
||||
- /managing-your-scheduled-reminders
|
||||
- /removing-yourself-from-an-organization
|
||||
shortTitle: Manage organization membership
|
||||
ms.openlocfilehash: cb0fbd62c63098fb3cbf5a786147499aa6d63c61
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086143"
|
||||
---
|
||||
@@ -0,0 +1,53 @@
|
||||
---
|
||||
title: Gestion de vos rappels planifiés
|
||||
intro: Get reminders in Slack when you or your team have pull requests waiting for review.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
redirect_from:
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-your-scheduled-reminders
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-your-membership-in-organizations/managing-your-scheduled-reminders
|
||||
shortTitle: Manage scheduled reminders
|
||||
ms.openlocfilehash: 41670a8c8b8aa1e6eade16c42f5a146f1ec0f5ee
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086142"
|
||||
---
|
||||
## <a name="about-scheduled-reminders-for-users"></a>À propos des rappels planifiés pour les utilisateurs
|
||||
|
||||
Les rappels planifiés servent à s’assurer que les utilisateurs se concentrent sur les demandes de révision les plus importantes qui nécessitent leur attention. Les rappels planifiés pour les demandes de tirage (pull requests) vous enverront un message dans Slack contenant les demandes de tirage ouvertes nécessitant votre révision à un moment spécifié. Par exemple, vous pouvez configurer des rappels planifiés de façon à recevoir dans Slack tous les matins à 10 heures un message contenant les demandes de tirage qui doivent être révisées par vous-même ou l’une de vos équipes.
|
||||
|
||||
Pour certains événements, vous pouvez également activer des alertes en temps réel pour les rappels planifiés. Les alertes en temps réel sont envoyées à votre canal Slack dès qu’un événement important a lieu (par exemple quand une révision vous est affectée).
|
||||
|
||||
Vous pouvez définir des rappels planifiés pour les demandes de révision au niveau personnel ou de l’équipe concernant les demandes de tirage dans les organisations dont vous êtes membre. Pour que vous puissiez créer un rappel planifié pour vous-même, un propriétaire de l’organisation doit d’abord autoriser votre espace de travail Slack. Pour plus d’informations, consultez « [Gestion des rappels planifiés pour votre organisation](/organizations/managing-organization-settings/managing-scheduled-reminders-for-your-organization) ».
|
||||
|
||||
{% data reusables.reminders.scheduled-reminders-limitations %}
|
||||
|
||||
## <a name="creating-scheduled-reminders-for-your-personal-account"></a>Création de rappels planifiés pour votre compte personnel
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.reminders.scheduled-reminders %}
|
||||
1. En regard de l’organisation pour laquelle vous souhaitez planifier des rappels, cliquez sur **Modifier**.
|
||||
 {% data reusables.reminders.add-reminder %} {% data reusables.reminders.authorize-slack %} {% data reusables.reminders.days-dropdown %} {% data reusables.reminders.times-dropdowns %}
|
||||
8. Si vous le souhaitez, pour recevoir des rappels planifiés pour les révisions auxquelles vous avez été affecté, sélectionnez **Demandes de révision qui vous sont affectées**.
|
||||

|
||||
9. Si vous le souhaitez, pour recevoir des rappels planifiés pour les révisions affectées à une équipe dont vous êtes membre, sélectionnez **Demandes de révision affectées à votre équipe**.
|
||||
 {% data reusables.reminders.real-time-alerts %}  {% data reusables.reminders.create-reminder %}
|
||||
|
||||
## <a name="managing-scheduled-reminders-for-your-personal-account"></a>Gestion des rappels planifiés pour votre compte personnel
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.reminders.scheduled-reminders %}
|
||||
1. En regard de l’organisation pour laquelle vous souhaitez modifier les rappels planifiés, cliquez sur **Modifier**.
|
||||
 {% data reusables.reminders.edit-page %} {% data reusables.reminders.update-buttons %}
|
||||
|
||||
## <a name="deleting-scheduled-reminders-for-your-personal-account"></a>Suppression de rappels planifiés pour votre compte personnel
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.reminders.scheduled-reminders %}
|
||||
1. En regard de l’organisation pour laquelle vous souhaitez supprimer des rappels, cliquez sur **Modifier**.
|
||||
 {% data reusables.reminders.delete %}
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Gestion des rappels planifiés pour votre organisation](/organizations/managing-organization-settings/managing-scheduled-reminders-for-your-organization) »
|
||||
- « [Gestion des rappels planifiés pour votre équipe](/organizations/organizing-members-into-teams/managing-scheduled-reminders-for-your-team) »
|
||||
@@ -0,0 +1,34 @@
|
||||
---
|
||||
title: Publicisation ou masquage de l’appartenance à une organisation
|
||||
intro: If you'd like to tell the world which organizations you belong to, you can display the avatars of the organizations on your profile.
|
||||
redirect_from:
|
||||
- /articles/publicizing-or-concealing-organization-membership
|
||||
- /articles/publicizing-or-hiding-organization-membership
|
||||
- /github/setting-up-and-managing-your-github-user-account/publicizing-or-hiding-organization-membership
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-your-membership-in-organizations/publicizing-or-hiding-organization-membership
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Show or hide membership
|
||||
ms.openlocfilehash: a85c9c40f24506ef2e8a9673093b8d7821954cb3
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086138"
|
||||
---
|
||||

|
||||
|
||||
## <a name="changing-the-visibility-of-your-organization-membership"></a>Modification de la visibilité de votre appartenance à une organisation
|
||||
|
||||
{% data reusables.profile.access_org %} {% data reusables.user-settings.access_org %} {% data reusables.organizations.people %}
|
||||
4. Recherchez votre nom d’utilisateur dans la liste des membres. Si la liste est volumineuse, vous pouvez rechercher votre nom d’utilisateur dans la zone de recherche.
|
||||

|
||||
5. Dans le menu à droite de votre nom d’utilisateur, choisissez une nouvelle option de visibilité :
|
||||
- Pour publiciser votre appartenance, choisissez **Public**.
|
||||
- Pour masquer votre appartenance, choisissez **Privé**.
|
||||

|
||||
@@ -0,0 +1,38 @@
|
||||
---
|
||||
title: Vous supprimer vous-même d’une organisation
|
||||
intro: If you're an outside collaborator or a member of an organization, you can leave the organization at any time.
|
||||
redirect_from:
|
||||
- /articles/how-do-i-remove-myself-from-an-organization
|
||||
- /articles/removing-yourself-from-an-organization
|
||||
- /github/setting-up-and-managing-your-github-user-account/removing-yourself-from-an-organization
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-your-membership-in-organizations/removing-yourself-from-an-organization
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Leave an organization
|
||||
ms.openlocfilehash: 72fcc393be287ace20d6c1412f769505117ccef9
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086137"
|
||||
---
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
{% warning %}
|
||||
|
||||
**Avertissement :** Si vous êtes actuellement responsable du paiement de {% data variables.product.product_name %} dans votre organisation, vous supprimer vous-même de l’organisation **ne met pas à jour** les informations de facturation en mémoire pour l’organisation. Si vous êtes actuellement responsable de la facturation, **vous devez** demander à un autre propriétaire ou responsable de facturation de l’organisation de [mettre à jour le mode de paiement de l’organisation](/articles/adding-or-editing-a-payment-method).
|
||||
|
||||
Pour plus d’informations, consultez « [Transfert de propriété d’une organisation](/articles/transferring-organization-ownership) ».
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.organizations %}
|
||||
3. Sous « Organisations », recherchez l’organisation de laquelle vous souhaitez vous supprimer, puis cliquez sur **Quitter**.
|
||||

|
||||
@@ -0,0 +1,35 @@
|
||||
---
|
||||
title: Demande d’approbation de l’organisation pour les applications OAuth
|
||||
intro: Organization members can request that an owner approve access to organization resources for {% data variables.product.prodname_oauth_app %}.
|
||||
redirect_from:
|
||||
- /articles/requesting-organization-approval-for-third-party-applications
|
||||
- /articles/requesting-organization-approval-for-your-authorized-applications
|
||||
- /articles/requesting-organization-approval-for-oauth-apps
|
||||
- /github/setting-up-and-managing-your-github-user-account/requesting-organization-approval-for-oauth-apps
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-your-membership-in-organizations/requesting-organization-approval-for-oauth-apps
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Request OAuth App approval
|
||||
ms.openlocfilehash: 4e0f553ebbf8655da6230474e3d2051b6dc5ff2d
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086133"
|
||||
---
|
||||
## <a name="requesting-organization-approval-for-an--data-variablesproductprodname_oauth_app--youve-already-authorized-for-your-personal-account"></a>Demande d’approbation de l’organisation pour une {% data variables.product.prodname_oauth_app %} que vous avez déjà autorisée pour votre compte personnel
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.access_applications %} {% data reusables.user-settings.access_authorized_oauth_apps %}
|
||||
3. Dans la liste des applications, cliquez sur le nom de l’{% data variables.product.prodname_oauth_app %} pour laquelle vous souhaitez demander l’accès.
|
||||

|
||||
4. En regard de l’organisation à laquelle vous souhaitez que l’{% data variables.product.prodname_oauth_app %} accède, cliquez sur **Demander l’accès**.
|
||||

|
||||
5. Après avoir examiné les informations relatives à la demande d’accès à l’{% data variables.product.prodname_oauth_app %}, cliquez sur **Demander l’approbation des propriétaires**.
|
||||

|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [À propos des restrictions d’accès à une {% data variables.product.prodname_oauth_app %} ](/articles/about-oauth-app-access-restrictions) »
|
||||
@@ -0,0 +1,67 @@
|
||||
---
|
||||
title: Affichage des rôles des personnes dans une organisation
|
||||
intro: You can view a list of the people in your organization and filter by their role. For more information on organization roles, see "[Roles in an organization](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization)."
|
||||
permissions: Organization members can see people's roles in the organization.
|
||||
redirect_from:
|
||||
- /articles/viewing-people-s-roles-in-an-organization
|
||||
- /articles/viewing-peoples-roles-in-an-organization
|
||||
- /github/setting-up-and-managing-your-github-user-account/viewing-peoples-roles-in-an-organization
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-your-membership-in-organizations/viewing-peoples-roles-in-an-organization
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: View people in an organization
|
||||
ms.openlocfilehash: d492821546b16a7c863d96867ef431362e7056ce
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086131"
|
||||
---
|
||||
## <a name="view-organization-roles"></a>Afficher les rôles d’organisation
|
||||
|
||||
{% data reusables.profile.access_org %} {% data reusables.user-settings.access_org %} {% data reusables.organizations.people %}
|
||||
4. Vous verrez une liste des personnes dans votre organisation. Pour filtrer la liste par rôle, cliquez sur **Rôle** et sélectionnez le rôle que vous recherchez.
|
||||

|
||||
|
||||
{% ifversion fpt %}
|
||||
|
||||
Si votre organisation utilise {% data variables.product.prodname_ghe_cloud %}, vous pouvez également afficher les propriétaires d’entreprise qui gèrent les paramètres de facturation et les stratégies pour toutes les organisations de votre entreprise. Pour plus d’informations, consultez la [documentation {% data variables.product.prodname_ghe_cloud %}](/enterprise-cloud@latest/account-and-profile/setting-up-and-managing-your-github-user-account/managing-your-membership-in-organizations/viewing-peoples-roles-in-an-organization#view-enterprise-owners-and-their-roles-in-an-organization).
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if enterprise-owners-visible-for-org-members %}
|
||||
## <a name="view-enterprise-owners-and-their-roles-in-an-organization"></a>Afficher les propriétaires d’entreprise et leurs rôles dans une organisation
|
||||
|
||||
Si votre organisation est gérée par un compte d’entreprise, vous pouvez afficher les propriétaires d’entreprise qui gèrent les paramètres de facturation et les stratégies pour toutes les organisations de votre entreprise. Pour plus d’informations sur les comptes d’entreprise, consultez « [Types de comptes {% data variables.product.prodname_dotcom %}](/get-started/learning-about-github/types-of-github-accounts) ».
|
||||
|
||||
Vous pouvez également voir si un propriétaire d’entreprise a un rôle spécifique dans l’organisation. Les propriétaires d’entreprise peuvent aussi être membres de l’organisation, avoir tout autre rôle d’organisation, ou ne pas être affilié à l’organisation.
|
||||
|
||||
{% note %}
|
||||
|
||||
**Remarque :** Si vous êtes propriétaire d’une organisation, vous pouvez également inviter un propriétaire d’entreprise à avoir un rôle dans l’organisation. Si un propriétaire d’entreprise accepte l’invitation, un siège ou une licence dans l’organisation est utilisé parmi les licences disponibles pour votre entreprise. Pour plus d’informations sur le fonctionnement des licences, consultez « [Rôles dans une entreprise](/admin/user-management/managing-users-in-your-enterprise/roles-in-an-enterprise#enterprise-owner) ».
|
||||
|
||||
{% endnote %}
|
||||
|
||||
| **Rôle d’entreprise** | **Rôle d’organisation** | **Accès ou impact sur l’organisation** |
|
||||
|----|----|----|----|
|
||||
| Propriétaire d’entreprise | Non affilié ou aucun rôle d’organisation officiel | Ne peut pas accéder au contenu ou aux dépôts de l’organisation, mais gère les paramètres et stratégies d’entreprise qui ont un impact sur votre organisation. |
|
||||
| Propriétaire d’entreprise | Propriétaire de l'organisation | Peut configurer les paramètres de l’organisation et gérer l’accès aux ressources de l’organisation via des équipes, etc. |
|
||||
| Propriétaire d’entreprise | Membre d’organisation | Peut accéder aux ressources et au contenu de l’organisation, tels que les dépôts, sans accéder aux paramètres de l’organisation. |
|
||||
|
||||
Pour passer en revue tous les rôles au sein d’une organisation, consultez « [Rôles dans une organisation](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization) ». {% if custom-repository-roles %} Un membre d’organisation peut également avoir un rôle personnalisé pour un dépôt spécifique. Pour plus d’informations, consultez « [Gestion des rôles de dépôt personnalisés pour une organisation](/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization) ».{% endif %}
|
||||
|
||||
Pour plus d’informations sur le rôle de propriétaire d’entreprise, consultez « [Rôles dans une entreprise](/admin/user-management/managing-users-in-your-enterprise/roles-in-an-enterprise#enterprise-owner) ».
|
||||
|
||||
{% data reusables.profile.access_org %} {% data reusables.user-settings.access_org %} {% data reusables.organizations.people %}
|
||||
4. Dans la barre latérale gauche, sous « Autorisations d’entreprise », cliquez sur **Propriétaires d’entreprise**.
|
||||

|
||||
5. Affichez la liste des propriétaires d’entreprise pour votre entreprise. Si le propriétaire de l’entreprise est également membre de votre organisation, vous pouvez voir son rôle dans l’organisation.
|
||||
|
||||

|
||||
|
||||
{% endif %}
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Inviting collaborators to a personal repository
|
||||
intro: 'You can {% ifversion fpt or ghec %}invite users to become{% else %}add users as{% endif %} collaborators to your personal repository.'
|
||||
title: Invitation de collaborateurs à un dépôt personnel
|
||||
intro: 'Vous pouvez {% ifversion fpt or ghec %}inviter des utilisateurs à devenir des{% else %}ajouter des utilisateurs en tant que{% endif %} collaborateurs de votre dépôt personnel.'
|
||||
redirect_from:
|
||||
- /articles/how-do-i-add-a-collaborator
|
||||
- /articles/adding-collaborators-to-a-personal-repository
|
||||
@@ -18,50 +18,49 @@ topics:
|
||||
- Accounts
|
||||
- Repositories
|
||||
shortTitle: Invite collaborators
|
||||
ms.openlocfilehash: b8cf147e94d4dd0a76d0bebcb07a58d03d7cbc9e
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '145165042'
|
||||
---
|
||||
Repositories owned by an organization can grant more granular access. For more information, see "[Access permissions on {% data variables.product.prodname_dotcom %}](/articles/access-permissions-on-github)."
|
||||
Les dépôts appartenant à une organisation peuvent accorder un accès plus précis. Pour plus d’informations, consultez « [Autorisations d’accès sur {% data variables.product.prodname_dotcom %}](/articles/access-permissions-on-github) ».
|
||||
|
||||
{% data reusables.organizations.org-invite-expiration %}
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
If you're a member of an {% data variables.enterprise.prodname_emu_enterprise %}, you can only invite other members of your enterprise to collaborate with you. {% data reusables.enterprise-accounts.emu-more-info-account %}
|
||||
Si vous êtes membre d’une {% data variables.product.prodname_emu_enterprise %}, vous pouvez uniquement inviter d’autres membres de votre entreprise à collaborer avec vous. {% data reusables.enterprise-accounts.emu-more-info-account %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** {% data variables.product.company_short %} limits the number of people who can be invited to a repository within a 24-hour period. If you exceed this limit, either wait 24 hours or create an organization to collaborate with more people.
|
||||
**Remarque :** {% data variables.product.company_short %} limite le nombre de personnes qui peuvent être invitées à un dépôt durant une période de 24 heures. Si vous dépassez cette limite, attendez 24 heures ou créez une organisation pour collaborer avec plus de personnes.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
1. Ask for the username of the person you're inviting as a collaborator.{% ifversion fpt or ghec %} If they don't have a username yet, they can sign up for {% data variables.product.prodname_dotcom %} For more information, see "[Signing up for a new {% data variables.product.prodname_dotcom %} account](/articles/signing-up-for-a-new-github-account)".{% endif %}
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
{% data reusables.repositories.sidebar-settings %}
|
||||
{% ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4%}
|
||||
{% data reusables.repositories.click-collaborators-teams %}
|
||||
1. Click **Invite a collaborator**.
|
||||

|
||||
2. In the search field, start typing the name of person you want to invite, then click a name in the list of matches.
|
||||

|
||||
3. Click **Add NAME to REPOSITORY**.
|
||||

|
||||
{% else %}
|
||||
5. In the left sidebar, click **Collaborators**.
|
||||

|
||||
6. Under "Collaborators", start typing the collaborator's username.
|
||||
7. Select the collaborator's username from the drop-down menu.
|
||||

|
||||
8. Click **Add collaborator**.
|
||||

|
||||
{% endif %}
|
||||
{% ifversion fpt or ghec %}
|
||||
9. The user will receive an email inviting them to the repository. Once they accept your invitation, they will have collaborator access to your repository.
|
||||
1. Demandez le nom d’utilisateur de la personne que vous invitez en tant que collaborateur.{% ifversion fpt or ghec %} Si elle n’a pas encore de nom d’utilisateur, elle peut s’inscrire à {% data variables.product.prodname_dotcom %} Pour plus d’informations, consultez « [Ouverture d’un nouveau compte {% data variables.product.prodname_dotcom %}](/articles/signing-up-for-a-new-github-account) ».{% endif %} {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5658%} {% data reusables.repositories.click-collaborators-teams %}
|
||||
1. Cliquez sur **Invite a collaborator**.
|
||||

|
||||
2. Dans le champ de recherche, commencez à taper le nom de la personne que vous souhaitez inviter, puis cliquez sur un nom dans la liste des correspondances.
|
||||

|
||||
3. Cliquez sur **Add NOM to DÉPÔT**.
|
||||
 {% else %}
|
||||
5. Dans la barre latérale gauche, cliquez sur **Collaborateurs**.
|
||||

|
||||
6. Sous « Collaborateurs », commencez à taper le nom d’utilisateur du collaborateur.
|
||||
7. Sélectionnez le nom d’utilisateur du collaborateur dans le menu déroulant.
|
||||

|
||||
8. Cliquez sur **Ajouter un collaborateur**.
|
||||
 {% endif %} {% ifversion fpt or ghec %}
|
||||
9. L’utilisateur recevra un e-mail l’invitant au dépôt. Une fois l’invitation acceptée, il aura accès à votre dépôt.
|
||||
{% endif %}
|
||||
|
||||
## Further reading
|
||||
## Pour aller plus loin
|
||||
|
||||
- "[Permission levels for a personal account repository](/articles/permission-levels-for-a-user-account-repository/#collaborator-access-for-a-repository-owned-by-a-personal-account)"
|
||||
- "[Removing a collaborator from a personal repository](/articles/removing-a-collaborator-from-a-personal-repository)"
|
||||
- "[Removing yourself from a collaborator's repository](/articles/removing-yourself-from-a-collaborator-s-repository)"
|
||||
- "[Organizing members into teams](/organizations/organizing-members-into-teams)"
|
||||
- « [Niveaux d’autorisation pour un dépôt de compte personnel](/articles/permission-levels-for-a-user-account-repository/#collaborator-access-for-a-repository-owned-by-a-personal-account) »
|
||||
- « [Suppression d’un collaborateur d’un dépôt personnel](/articles/removing-a-collaborator-from-a-personal-repository) »
|
||||
- « [Vous supprimer en tant que collaborateur d’un dépôt](/articles/removing-yourself-from-a-collaborator-s-repository) »
|
||||
- « [Organisation de membres en équipes](/organizations/organizing-members-into-teams) »
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Removing a collaborator from a personal repository
|
||||
intro: 'When you remove a collaborator from your project, they lose read/write access to your repository. If the repository is private and the person has created a fork, then that fork is also deleted.'
|
||||
title: Suppression d’un collaborateur d’un dépôt personnel
|
||||
intro: 'Quand vous supprimez un collaborateur de votre projet, il perd l’accès en lecture/écriture à votre dépôt. Si le dépôt est privé et si la personne a créé une duplication (fork), ce fork est également supprimé.'
|
||||
redirect_from:
|
||||
- /articles/how-do-i-remove-a-collaborator
|
||||
- /articles/what-happens-when-i-remove-a-collaborator-from-my-private-repository
|
||||
@@ -21,27 +21,28 @@ topics:
|
||||
- Accounts
|
||||
- Repositories
|
||||
shortTitle: Remove a collaborator
|
||||
ms.openlocfilehash: 24b128b5858c695b0e559302fac05812d3218b8c
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '145164883'
|
||||
---
|
||||
## Deleting forks of private repositories
|
||||
## Suppression de duplications (forks) de dépôts privés
|
||||
|
||||
While forks of private repositories are deleted when a collaborator is removed, the person will still retain any local clones of your repository.
|
||||
Bien que les duplications de dépôts privés soient supprimées lorsqu’un collaborateur est supprimé, la personne conserve toujours tous les clones locaux de votre dépôt.
|
||||
|
||||
## Removing collaborator permissions from a person contributing to a repository
|
||||
## Suppression des autorisations de collaborateur d’une personne contribuant à un dépôt
|
||||
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
{% data reusables.repositories.sidebar-settings %}
|
||||
{% ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %}
|
||||
{% data reusables.repositories.click-collaborators-teams %}
|
||||
4. To the right of the collaborator you want to remove, click {% octicon "trash" aria-label="The trash icon" %}.
|
||||

|
||||
{% else %}
|
||||
3. In the left sidebar, click **Collaborators & teams**.
|
||||

|
||||
4. Next to the collaborator you want to remove, click the **X** icon.
|
||||

|
||||
{% endif %}
|
||||
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5658 %} {% data reusables.repositories.click-collaborators-teams %}
|
||||
4. À droite du collaborateur que vous souhaitez supprimer, cliquez sur {% octicon "trash" aria-label="The trash icon" %}.
|
||||
 {% else %}
|
||||
3. Dans la barre latérale gauche, cliquez sur **Collaborateurs & équipes**.
|
||||

|
||||
4. En regard du collaborateur que vous souhaitez supprimer, cliquez sur l’icône **X**.
|
||||
 {% endif %}
|
||||
|
||||
## Further reading
|
||||
## Pour aller plus loin
|
||||
|
||||
- "[Removing organization members from a team](/articles/removing-organization-members-from-a-team)"
|
||||
- "[Removing an outside collaborator from an organization repository](/articles/removing-an-outside-collaborator-from-an-organization-repository)"
|
||||
- « [Suppression de membres d’organisation d’une équipe](/articles/removing-organization-members-from-a-team) »
|
||||
- « [Suppression d’un collaborateur externe d’un dépôt d’organisation](/articles/removing-an-outside-collaborator-from-an-organization-repository) »
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Removing yourself from a collaborator's repository
|
||||
intro: 'If you no longer want to be a collaborator on someone else''s repository, you can remove yourself.'
|
||||
title: Vous supprimer en tant que collaborateur d’un dépôt
|
||||
intro: 'Si vous ne souhaitez plus être collaborateur du dépôt d’une autre personne, vous pouvez vous retirer.'
|
||||
redirect_from:
|
||||
- /leave-a-collaborative-repo
|
||||
- /leave-a-repo
|
||||
@@ -19,15 +19,19 @@ topics:
|
||||
- Accounts
|
||||
- Repositories
|
||||
shortTitle: Remove yourself
|
||||
ms.openlocfilehash: 3b760d7947d734d8fa6e1e366795ce698f9c0b7f
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '145164868'
|
||||
---
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
{% ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %}
|
||||
2. In the "Code, planning, and automation" section of the sidebar, click **{% octicon "repo" aria-label="The repo icon" %} Repositories**.
|
||||
{% data reusables.user-settings.access_settings %} {% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5658 %}
|
||||
2. Dans la section « Code, planning, and automation » de la barre latérale, cliquez sur **{% octicon "repo" aria-label="The repo icon" %} Dépôts**.
|
||||
{% else %}
|
||||
2. In the left sidebar, click **Repositories**.
|
||||

|
||||
{% endif %}
|
||||
3. Next to the repository you want to leave, click **Leave**.
|
||||

|
||||
4. Read the warning carefully, then click "I understand, leave this repository."
|
||||

|
||||
2. Dans la barre latérale gauche, cliquez sur **Dépôts**.
|
||||
 {% endif %}
|
||||
3. En regard du dépôt que vous souhaitez quitter, cliquez sur **Quitter**.
|
||||

|
||||
4. Lisez attentivement l’avertissement, puis cliquez sur « Je comprends. Quitter ce dépôt ».
|
||||

|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Adding an email address to your GitHub account
|
||||
intro: '{% data variables.product.product_name %} allows you to add as many email addresses to your account as you like. If you set an email address in your local Git configuration, you will need to add it to your account settings in order to connect your commits to your account. For more information about your email address and commits, see "[Setting your commit email address](/articles/setting-your-commit-email-address/)."'
|
||||
title: Ajout d’une adresse e-mail à votre compte GitHub
|
||||
intro: "{% data variables.product.product_name %} vous permet d’ajouter autant d’adresses e-mail à votre compte que vous le souhaitez. Si vous définissez une adresse e-mail dans votre configuration Git locale, vous devez l’ajouter aux paramètres de votre compte pour connecter vos validations à votre compte. Pour plus d’informations sur votre adresse e-mail et validations, consultez «\_[Définition de votre adresse e-mail de validation](/articles/setting-your-commit-email-address/)\_»."
|
||||
redirect_from:
|
||||
- /articles/adding-an-email-address-to-your-github-account
|
||||
- /github/setting-up-and-managing-your-github-user-account/adding-an-email-address-to-your-github-account
|
||||
@@ -14,24 +14,27 @@ topics:
|
||||
- Accounts
|
||||
- Notifications
|
||||
shortTitle: Add an email address
|
||||
ms.openlocfilehash: 082326d96da4b36d1f29830491223ce9b649a15d
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '145164682'
|
||||
---
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Notes**:
|
||||
**Remarques**:
|
||||
- {% data reusables.user-settings.no-verification-disposable-emails %}
|
||||
- If you're a member of an {% data variables.enterprise.prodname_emu_enterprise %}, you cannot make changes to your email address on {% data variables.product.prodname_dotcom_the_website %}. {% data reusables.enterprise-accounts.emu-more-info-account %}
|
||||
- Si vous êtes membre d’une {% data variables.product.prodname_emu_enterprise %}, vous ne pouvez pas modifier votre adresse e-mail sur {% data variables.product.prodname_dotcom_the_website %}. {% data reusables.enterprise-accounts.emu-more-info-account %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
{% data reusables.user-settings.emails %}
|
||||
{% data reusables.user-settings.add_and_verify_email %}
|
||||
{% data reusables.user-settings.select_primary_email %}
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.emails %} {% data reusables.user-settings.add_and_verify_email %} {% data reusables.user-settings.select_primary_email %}
|
||||
|
||||
## Further reading
|
||||
## Pour aller plus loin
|
||||
|
||||
- "[Managing email preferences](/articles/managing-email-preferences/)"
|
||||
- « [Gestion des préférences de messagerie](/articles/managing-email-preferences/) »
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Managing email preferences
|
||||
intro: 'You can add or change the email addresses associated with your account on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %}. You can also manage emails you receive from {% data variables.product.product_name %}.'
|
||||
title: Gestion des préférences de messagerie
|
||||
intro: 'Vous pouvez ajouter ou changer les adresses e-mail associées à votre compte sur {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.product.product_location %}{% endif %}. Vous pouvez également gérer les e-mails que vous recevez de {% data variables.product.product_name %}.'
|
||||
redirect_from:
|
||||
- /categories/managing-email-preferences
|
||||
- /articles/managing-email-preferences
|
||||
@@ -24,5 +24,11 @@ children:
|
||||
- /types-of-emails-github-sends
|
||||
- /managing-marketing-emails-from-github
|
||||
shortTitle: Manage email preferences
|
||||
ms.openlocfilehash: 8295d9884f7b2a9bfdef329f693c6492db636a61
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '145164720'
|
||||
---
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Remembering your GitHub username or email
|
||||
intro: 'Are you signing in to {% data variables.location.product_location %} for the first time in a while? If so, welcome back! If you can''t remember the username for your personal account on {% data variables.product.product_name %}, you can try these methods for remembering it.'
|
||||
title: Mémoriser votre nom d’utilisateur ou votre e-mail GitHub
|
||||
intro: "Est-ce que cela fait longtemps que vous ne vous êtes pas connecté à {% data variables.product.product_location %}\_? Si c’est le cas, bon retour parmi nous\_! Si vous avez oublié le nom d’utilisateur de votre compte personnel sur {% data variables.product.product_name %}, vous pouvez essayer ces méthodes pour vous en souvenir."
|
||||
redirect_from:
|
||||
- /articles/oh-noes-i-ve-forgotten-my-username-email
|
||||
- /articles/oh-noes-i-ve-forgotten-my-username-or-email
|
||||
@@ -16,61 +16,66 @@ topics:
|
||||
- Accounts
|
||||
- Notifications
|
||||
shortTitle: Find your username or email
|
||||
ms.openlocfilehash: e65ba973a5ca7865aa642ce5d64f8efa0a996742
|
||||
ms.sourcegitcommit: fb047f9450b41b24afc43d9512a5db2a2b750a2a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/11/2022
|
||||
ms.locfileid: '145164990'
|
||||
---
|
||||
{% mac %}
|
||||
|
||||
## {% data variables.product.prodname_desktop %} users
|
||||
## Utilisateurs {% data variables.product.prodname_desktop %}
|
||||
|
||||
1. In the **GitHub Desktop** menu, click **Preferences**.
|
||||
2. In the Preferences window, verify the following:
|
||||
- To view your {% data variables.product.product_name %} username, click **Accounts**.
|
||||
- To view your Git email, click **Git**. Note that this email is not guaranteed to be [your primary {% data variables.product.product_name %} email](/articles/changing-your-primary-email-address).
|
||||
1. Dans le menu **Bureau GitHub**, cliquez sur **Préférences**.
|
||||
2. Dans la fenêtre Préférences, vérifiez ce qui suit :
|
||||
- Pour afficher votre nom d’utilisateur {% data variables.product.product_name %}, cliquez sur **Comptes**.
|
||||
- Pour afficher votre e-mail Git, cliquez sur **Git**. Notez qu’il n’est pas garanti que cet e-mail soit [votre e-mail {% data variables.product.product_name %} principal](/articles/changing-your-primary-email-address).
|
||||
|
||||
{% endmac %}
|
||||
|
||||
{% windows %}
|
||||
|
||||
## {% data variables.product.prodname_desktop %} users
|
||||
## Utilisateurs {% data variables.product.prodname_desktop %}
|
||||
|
||||
1. In the **File** menu, click **Options**.
|
||||
2. In the Options window, verify the following:
|
||||
- To view your {% data variables.product.product_name %} username, click **Accounts**.
|
||||
- To view your Git email, click **Git**. Note that this email is not guaranteed to be [your primary {% data variables.product.product_name %} email](/articles/changing-your-primary-email-address).
|
||||
1. Dans le menu **Fichier**, cliquez sur **Options**.
|
||||
2. Dans la fenêtre Options, vérifiez ce qui suit :
|
||||
- Pour afficher votre nom d’utilisateur {% data variables.product.product_name %}, cliquez sur **Comptes**.
|
||||
- Pour afficher votre e-mail Git, cliquez sur **Git**. Notez qu’il n’est pas garanti que cet e-mail soit [votre e-mail {% data variables.product.product_name %} principal](/articles/changing-your-primary-email-address).
|
||||
|
||||
{% endwindows %}
|
||||
|
||||
## Finding your username in your `user.name` configuration
|
||||
## Recherche de votre nom d’utilisateur dans votre configuration `user.name`
|
||||
|
||||
During set up, you may have [set your username in Git](/github/getting-started-with-github/setting-your-username-in-git). If so, you can review the value of this configuration setting:
|
||||
Pendant la configuration, vous avez peut-être [configuré votre nom d’utilisateur dans Git](/github/getting-started-with-github/setting-your-username-in-git). Si tel est le cas, vous pouvez consulter la valeur de ce paramètre de configuration :
|
||||
|
||||
```shell
|
||||
$ git config user.name
|
||||
# View the setting
|
||||
YOUR_USERNAME
|
||||
<em>YOUR_USERNAME</em>
|
||||
```
|
||||
|
||||
## Finding your username in the URL of remote repositories
|
||||
## Recherche de votre nom d’utilisateur dans l’URL de dépôts distants
|
||||
|
||||
If you have any local copies of personal repositories you have created or forked, you can check the URL of the remote repository.
|
||||
Si vous avez des copies locales de dépôts personnels que vous avez créés ou dupliqués, vous pouvez vérifier l’URL du dépôt distant.
|
||||
|
||||
{% tip %}
|
||||
|
||||
**Tip**: This method only works if you have an original repository or your own fork of someone else's repository. If you clone someone else's repository, their username will show instead of yours. Similarly, organization repositories will show the name of the organization instead of a particular user in the remote URL.
|
||||
**Astuce** : Cette méthode fonctionne uniquement si vous disposez d’un dépôt d’origine ou de votre propre duplication (fork) du dépôt d’une autre personne. Si vous clonez le dépôt d’une autre personne, son nom d’utilisateur s’affiche à la place du vôtre. De même, les dépôts d’organisation affichent le nom de l’organisation plutôt que celui d’un utilisateur particulier dans l’URL distante.
|
||||
|
||||
{% endtip %}
|
||||
|
||||
```shell
|
||||
$ cd YOUR_REPOSITORY
|
||||
$ cd <em>YOUR_REPOSITORY</em>
|
||||
# Change directories to the initialized Git repository
|
||||
$ git remote -v
|
||||
origin https://{% data variables.command_line.codeblock %}/YOUR_USERNAME/YOUR_REPOSITORY.git (fetch)
|
||||
origin https://{% data variables.command_line.codeblock %}/YOUR_USERNAME/YOUR_REPOSITORY.git (push)
|
||||
origin https://{% data variables.command_line.codeblock %}/<em>YOUR_USERNAME</em>/<em>YOUR_REPOSITORY</em>.git (fetch)
|
||||
origin https://{% data variables.command_line.codeblock %}/<em>YOUR_USERNAME</em>/<em>YOUR_REPOSITORY</em>.git (push)
|
||||
```
|
||||
|
||||
Your user name is what immediately follows the `https://{% data variables.command_line.backticks %}/`.
|
||||
Votre nom d’utilisateur est ce qui suit immédiatement le `https://{% data variables.command_line.backticks %}/`.
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
## Further reading
|
||||
## Pour aller plus loin
|
||||
|
||||
- "[Verifying your email address](/articles/verifying-your-email-address)"
|
||||
{% endif %}
|
||||
- « [Vérification de votre adresse e-mail](/articles/verifying-your-email-address) » {% endif %}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Setting your commit email address
|
||||
intro: 'You can set the email address that is used to author commits on {% data variables.location.product_location %} and on your computer.'
|
||||
title: Définition de votre adresse e-mail de commit
|
||||
intro: 'Vous pouvez définir l’adresse e-mail qui est utilisée pour rédiger les validations sur {% data variables.product.product_location %} et sur votre ordinateur.'
|
||||
redirect_from:
|
||||
- /articles/keeping-your-email-address-private
|
||||
- /articles/setting-your-commit-email-address-on-github
|
||||
@@ -22,61 +22,63 @@ topics:
|
||||
- Accounts
|
||||
- Notifications
|
||||
shortTitle: Set commit email address
|
||||
ms.openlocfilehash: 76b0af2a1afa776281434c36cf33fa0e082c2c56
|
||||
ms.sourcegitcommit: fb047f9450b41b24afc43d9512a5db2a2b750a2a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/10/2022
|
||||
ms.locfileid: '146338948'
|
||||
---
|
||||
## About commit email addresses
|
||||
## À propos des adresses e-mail de commit
|
||||
|
||||
{% data variables.product.prodname_dotcom %} uses your commit email address to associate commits with your account on {% data variables.location.product_location %}. You can choose the email address that will be associated with the commits you push from the command line as well as web-based Git operations you make.
|
||||
{% data variables.product.prodname_dotcom %} utilise votre adresse e-mail de commit pour associer des commits à votre compte sur {% data variables.product.product_location %}. Vous pouvez choisir l’adresse e-mail qui sera associée aux commits que vous poussez (push) à partir de la ligne de commande, ainsi qu’aux opérations Git basées sur le web que vous effectuez.
|
||||
|
||||
For web-based Git operations, you can set your commit email address on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %}. For commits you push from the command line, you can set your commit email address in Git.
|
||||
Pour les opérations Git basées sur le web, vous pouvez définir votre adresse e-mail de commit sur {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.product.product_location %}{% endif %}. Pour les commits que vous poussez à partir de la ligne de commande, vous pouvez définir votre adresse e-mail de commit dans Git.
|
||||
|
||||
{% ifversion fpt or ghec %}Any commits you made prior to changing your commit email address are still associated with your previous email address.{% else %}After changing your commit email address on {% data variables.product.product_name %}, the new email address will be visible in all of your future web-based Git operations by default. Any commits you made prior to changing your commit email address are still associated with your previous email address.{% endif %}
|
||||
{% ifversion fpt or ghec %}Les commits que vous avez effectués avant de changer votre adresse e-mail de commit sont toujours associés à votre adresse e-mail précédente.{% else %}Une fois votre adresse e-mail de commit changée sur {% data variables.product.product_name %}, la nouvelle adresse e-mail sera visible dans toutes vos futures opérations Git basées sur le web par défaut. Les commits que vous avez effectués avant de changer votre adresse e-mail de commit sont toujours associés à votre adresse e-mail précédente.{% endif %}
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.user-settings.no-verification-disposable-emails %}
|
||||
**Remarque** : {% data reusables.user-settings.no-verification-disposable-emails %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% ifversion fpt or ghec %}If you'd like to keep your personal email address private, you can use a `noreply` email address from {% data variables.product.product_name %} as your commit email address. To use your `noreply` email address for commits you push from the command line, use that email address when you set your commit email address in Git. To use your `noreply` address for web-based Git operations, set your commit email address on GitHub and choose to **Keep my email address private**.
|
||||
{% ifversion fpt or ghec %}Si vous souhaitez que votre adresse e-mail personnelle reste privée, vous pouvez utiliser une adresse e-mail `noreply` fournie par {% data variables.product.product_name %} comme adresse e-mail de commit. Pour utiliser votre adresse e-mail `noreply` pour les commits que vous poussez à partir de la ligne de commande, utilisez cette adresse e-mail lorsque vous définissez votre adresse e-mail de commit dans Git. Pour utiliser votre adresse `noreply` pour les opérations Git basées sur le web, définissez votre adresse e-mail de commit sur GitHub et choisissez l’option **Laisser mon adresse e-mail privée**.
|
||||
|
||||
You can also choose to block commits you push from the command line that expose your personal email address. For more information, see "[Blocking command line pushes that expose your personal email](/articles/blocking-command-line-pushes-that-expose-your-personal-email-address)."{% endif %}
|
||||
Vous pouvez également choisir de bloquer les commits poussés à partir de la ligne de commande qui exposent votre adresse e-mail personnelle. Pour plus d’informations, consultez « [Blocage des poussées à partir de la ligne de commande qui exposent votre adresse e-mail personnelle](/articles/blocking-command-line-pushes-that-expose-your-personal-email-address) ».{% endif %}
|
||||
|
||||
To ensure that commits are attributed to you and appear in your contributions graph, use an email address that is connected to your account on {% data variables.location.product_location %}{% ifversion fpt or ghec %}, or the `noreply` email address provided to you in your email settings{% endif %}. {% ifversion not ghae %}For more information, see "[Adding an email address to your {% data variables.product.prodname_dotcom %} account](/github/setting-up-and-managing-your-github-user-account/adding-an-email-address-to-your-github-account)."{% endif %}
|
||||
Pour être sûr que les commits vous sont attribués et qu’ils apparaissent dans votre graphe de contributions, utilisez une adresse e-mail connectée à votre compte sur {% data variables.product.product_location %}{% ifversion fpt or ghec %}, ou l’adresse e-mail `noreply` fournie dans vos paramètres de messagerie{% endif %}. {% ifversion not ghae %}Pour plus d’informations, consultez « [Ajout d’une adresse e-mail à votre compte {% data variables.product.prodname_dotcom %}](/github/setting-up-and-managing-your-github-user-account/adding-an-email-address-to-your-github-account) ».{% endif %}
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** If you created your account on {% data variables.location.product_location %} _after_ July 18, 2017, your `noreply` email address for {% data variables.product.product_name %} is an ID number and your username in the form of <code>ID+USERNAME@users.noreply.github.com</code>. If you created your account on {% data variables.location.product_location %} _prior to_ July 18, 2017, your `noreply` email address from {% data variables.product.product_name %} is <code>USERNAME@users.noreply.github.com</code>. You can get an ID-based `noreply` email address for {% data variables.product.product_name %} by selecting (or deselecting and reselecting) **Keep my email address private** in your email settings.
|
||||
**Remarque :** Si vous avez créé votre compte sur {% data variables.product.product_location %} _après_ le 18 juillet 2017, votre adresse e-mail `noreply` pour {% data variables.product.product_name %} est un numéro d’ID à sept chiffres et votre nom d’utilisateur au format <code><em>ID+username</em>@users.noreply.github.com</code>. Si vous avez créé votre compte sur {% data variables.product.product_location %} _avant_ le 18 juillet 2017, votre adresse e-mail `noreply` fournie par {% data variables.product.product_name %} est <code><em>username</em>@users.noreply.github.com</code>. Vous pouvez obtenir une adresse e-mail `noreply` basée sur l’ID pour {% data variables.product.product_name %} en sélectionnant (ou en désélectionnant puis resélectionnant) **Laisser mon adresse e-mail privée** dans vos paramètres de messagerie.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
If you use your `noreply` email address for {% data variables.product.product_name %} to make commits and then [change your username](/articles/changing-your-github-username), those commits will not be associated with your account on {% data variables.location.product_location %}. This does not apply if you're using the ID-based `noreply` address from {% data variables.product.product_name %}. For more information, see "[Changing your {% data variables.product.prodname_dotcom %} username](/articles/changing-your-github-username)."{% endif %}
|
||||
Si vous utilisez votre adresse e-mail `noreply` pour {% data variables.product.product_name %} pour effectuer des commits, et qu’ensuite vous [modifiez votre nom d’utilisateur](/articles/changing-your-github-username), ces commits ne seront pas associés à votre compte sur {% data variables.product.product_location %}. Cela ne s’applique pas si vous utilisez l’adresse `noreply` basée sur l’ID fournie par {% data variables.product.product_name %}. Pour plus d’informations, consultez « [Modification de votre nom d’utilisateur {% data variables.product.prodname_dotcom %}](/articles/changing-your-github-username) ».{% endif %}
|
||||
|
||||
## Setting your commit email address on {% data variables.product.prodname_dotcom %}
|
||||
## Définition de votre adresse e-mail de commit sur {% data variables.product.prodname_dotcom %}
|
||||
|
||||
{% data reusables.files.commit-author-email-options %}
|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
{% data reusables.user-settings.emails %}
|
||||
{% data reusables.user-settings.add_and_verify_email %}
|
||||
{% data reusables.user-settings.select_primary_email %}{% ifversion fpt or ghec %}
|
||||
{% data reusables.user-settings.keeping_your_email_address_private %}{% endif %}
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.emails %} {% data reusables.user-settings.add_and_verify_email %} {% data reusables.user-settings.select_primary_email %}{% ifversion fpt or ghec %} {% data reusables.user-settings.keeping_your_email_address_private %}{% endif %}
|
||||
|
||||
## Setting your commit email address in Git
|
||||
## Définition de votre adresse e-mail de commit dans Git
|
||||
|
||||
You can use the `git config` command to change the email address you associate with your Git commits. The new email address you set will be visible in any future commits you push to {% data variables.location.product_location %} from the command line. Any commits you made prior to changing your commit email address are still associated with your previous email address.
|
||||
Vous pouvez utiliser la commande `git config` pour changer l’adresse e-mail que vous associez à vos commits Git. La nouvelle adresse e-mail que vous définissez sera visible dans les commits ultérieurs que vous pousserez à {% data variables.product.product_location %} à partir de la ligne de commande. Les commits que vous avez effectués avant de changer votre adresse e-mail de commit sont toujours associés à votre adresse e-mail précédente.
|
||||
|
||||
### Setting your email address for every repository on your computer
|
||||
### Définition de votre adresse e-mail pour chaque dépôt sur votre ordinateur
|
||||
|
||||
{% data reusables.command_line.open_the_multi_os_terminal %}
|
||||
2. {% data reusables.user-settings.set_your_email_address_in_git %}
|
||||
```shell
|
||||
$ git config --global user.email "YOUR_EMAIL"
|
||||
$ git config --global user.email "<em>email@example.com</em>"
|
||||
```
|
||||
3. {% data reusables.user-settings.confirm_git_email_address_correct %}
|
||||
```shell
|
||||
@@ -85,17 +87,17 @@ You can use the `git config` command to change the email address you associate w
|
||||
```
|
||||
4. {% data reusables.user-settings.link_email_with_your_account %}
|
||||
|
||||
### Setting your email address for a single repository
|
||||
### Définition de votre adresse e-mail pour un dépôt unique
|
||||
|
||||
{% data variables.product.product_name %} uses the email address set in your local Git configuration to associate commits pushed from the command line with your account on {% data variables.location.product_location %}.
|
||||
{% data variables.product.product_name %} utilise l’adresse e-mail définie dans votre configuration Git locale pour associer les commits poussés à partir de la ligne de commande à votre compte sur {% data variables.product.product_location %}.
|
||||
|
||||
You can change the email address associated with commits you make in a single repository. This will override your global Git configuration settings in this one repository, but will not affect any other repositories.
|
||||
Vous pouvez changer l’adresse e-mail associée aux commits que vous effectuez dans un dépôt unique. Cela remplacera vos paramètres de configuration Git globaux dans ce dépôt, mais n’affectera aucun autre dépôt.
|
||||
|
||||
{% data reusables.command_line.open_the_multi_os_terminal %}
|
||||
2. Change the current working directory to the local repository where you want to configure the email address that you associate with your Git commits.
|
||||
2. Remplacez le répertoire de travail actuel par le dépôt local dans lequel vous souhaitez configurer l’adresse e-mail que vous associez à vos commits Git.
|
||||
3. {% data reusables.user-settings.set_your_email_address_in_git %}
|
||||
```shell
|
||||
$ git config user.email "YOUR_EMAIL"
|
||||
$ git config user.email "<em>email@example.com</em>"
|
||||
```
|
||||
4. {% data reusables.user-settings.confirm_git_email_address_correct %}
|
||||
```shell
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
---
|
||||
title: Bonnes pratiques pour quitter votre entreprise
|
||||
intro: Si vous utilisez votre compte sur {% data variables.product.product_name %} à des fins personnelles et professionnelles, il existe quelques éléments à garder à l’esprit lorsque vous quittez votre entreprise ou votre organisation.
|
||||
redirect_from:
|
||||
- /articles/best-practices-for-leaving-your-company
|
||||
- /github/setting-up-and-managing-your-github-user-account/best-practices-for-leaving-your-company
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/best-practices-for-leaving-your-company
|
||||
- /account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/best-practices-for-leaving-your-company
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Leaving your company
|
||||
ms.openlocfilehash: e7de0fa01082731ae54e988ed49310b5ce6afbea
|
||||
ms.sourcegitcommit: 8544f120269257d01adfe4a27b62f08fc8691727
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 08/02/2022
|
||||
ms.locfileid: "147444644"
|
||||
---
|
||||
Avant de quitter votre entreprise, veillez à mettre à jour les informations suivantes dans votre compte personnel :
|
||||
|
||||
- Dévérifiez votre adresse e-mail professionnelle en la [supprimant dans vos paramètres de messagerie](/articles/changing-your-primary-email-address). Vous pouvez ensuite la rajouter sans vérification afin de conserver les commits associés liés à votre compte.
|
||||
- [Changez votre adresse e-mail principale](/articles/changing-your-primary-email-address) en remplaçant votre e-mail d’entreprise par votre e-mail personnel.
|
||||
- [Vérifiez votre nouvelle adresse e-mail principale](/articles/verifying-your-email-address).
|
||||
- [Modifiez votre nom d’utilisateur GitHub](/articles/changing-your-github-username) pour supprimer toute référence à votre entreprise ou organisation, si nécessaire.
|
||||
- Si vous avez activé l’authentification à deux facteurs (2FA) pour votre compte personnel, vérifiez que vous (et non votre entreprise) contrôlez la méthode d’authentification 2FA que vous avez configurée. Pour plus d’informations, consultez « [Configuration de l’authentification à 2 facteurs](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication) ».
|
||||
|
||||
## <a name="leaving-organizations"></a>Quitter une organisation
|
||||
|
||||
Si vous avez travaillé avec des dépôts appartenant à une organisation, vous devez [vous supprimer en tant que membre de l’organisation](/articles/removing-yourself-from-an-organization). Notez que si vous êtes le propriétaire de l’organisation, vous devez d’abord [transférer la propriété de l’organisation](/articles/transferring-organization-ownership) à une autre personne.
|
||||
|
||||
À moins que vous utilisiez un {% data variables.product.prodname_managed_user %}, vous pouvez toujours accéder à votre compte personnel même après avoir quitté l’organisation. Pour plus d’informations sur {% data variables.product.prodname_emus %}, consultez « [À propos d’{% data variables.product.prodname_emus %}]({% ifversion not ghec%}/enterprise-cloud@latest{% endif %}/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users){% ifversion not ghec %} » dans la documentation {% data variables.product.prodname_ghe_cloud %}.{% else %} ».{% endif %}
|
||||
|
||||
## <a name="removing-professional-associations-with-personal-repositories"></a>Suppression d’associations professionnelles avec des dépôts personnels
|
||||
|
||||
Si vous avez collaboré professionnellement avec une autre personne sur des référentiels qui appartiennent à son compte personnel, vous devez [vous supprimer en tant que collaborateur](/articles/removing-yourself-from-a-collaborator-s-repository) de ces référentiels.
|
||||
|
||||
- [Arrêtez la surveillance des dépôts](https://github.com/watching) liés à votre travail. Vous n’aurez plus besoin de recevoir ces notifications.
|
||||
- [Transférez les dépôts dont vous êtes propriétaire](/articles/how-to-transfer-a-repository) et dont d’autres personnes peuvent avoir besoin pour continuer à travailler après votre départ.
|
||||
- [Supprimez les duplications qui vous appartiennent](/articles/deleting-a-repository) et qui sont liées au travail que vous faisiez. Ne vous inquiétez pas, la suppression d’une duplication ne supprime pas le dépôt en amont.
|
||||
- Supprimez les copies locales de vos duplications qui peuvent exister sur votre ordinateur :
|
||||
|
||||
```shell
|
||||
$ rm -rf <em>work_directory</em>
|
||||
```
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Changing your GitHub username
|
||||
intro: 'You can change the username for your account on {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}{% data variables.location.product_location %} if your instance uses built-in authentication{% endif %}.'
|
||||
title: Modification de votre nom d’utilisateur GitHub
|
||||
intro: 'Vous pouvez changer le nom d’utilisateur de votre compte sur {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}{% data variables.product.product_location %} si votre instance utilise l’authentification intégrée{% endif %}.'
|
||||
redirect_from:
|
||||
- /articles/how-to-change-your-username
|
||||
- /articles/changing-your-github-user-name
|
||||
@@ -17,19 +17,24 @@ versions:
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Change your username
|
||||
ms.openlocfilehash: 28f4d0ea1a16fed0e44f34312abfd507e2f991b7
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '145164963'
|
||||
---
|
||||
|
||||
{% ifversion ghec or ghes %}
|
||||
|
||||
{% note %}
|
||||
|
||||
{% ifversion ghec %}
|
||||
|
||||
**Note**: Members of an {% data variables.enterprise.prodname_emu_enterprise %} cannot change usernames. Your enterprise's IdP administrator controls your username for {% data variables.product.product_name %}. For more information, see "[About {% data variables.product.prodname_emus %}](/admin/authentication/managing-your-enterprise-users-with-your-identity-provider/about-enterprise-managed-users)."
|
||||
**Remarque** : Les membres d’une {% data variables.product.prodname_emu_enterprise %} ne peuvent pas changer de nom d’utilisateur. L’administrateur du fournisseur d’identité de votre entreprise contrôle votre nom d’utilisateur pour {% data variables.product.product_name %}. Pour plus d’informations, consultez « [À propos de {% data variables.product.prodname_emus %}](/admin/authentication/managing-your-enterprise-users-with-your-identity-provider/about-enterprise-managed-users) ».
|
||||
|
||||
{% elsif ghes %}
|
||||
|
||||
**Note**: If you sign into {% data variables.location.product_location %} with LDAP credentials or single sign-on (SSO), only your local administrator can change your username. For more information about authentication methods for {% data variables.product.product_name %}, see "[Authenticating users for {% data variables.location.product_location %}](/admin/authentication/authenticating-users-for-your-github-enterprise-server-instance)."
|
||||
**Remarque** : Si vous vous connectez à {% data variables.product.product_location %} avec des informations d’identification LDAP ou l’authentification unique, seul votre administrateur local peut changer votre nom d’utilisateur. Pour plus d’informations sur les méthodes d’authentification pour {% data variables.product.product_name %}, consultez « [Authentification des utilisateurs pour {% data variables.product.product_location %}](/admin/authentication/authenticating-users-for-your-github-enterprise-server-instance) ».
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -37,61 +42,55 @@ shortTitle: Change your username
|
||||
|
||||
{% endif %}
|
||||
|
||||
## About username changes
|
||||
## À propos des changements de nom d’utilisateur
|
||||
|
||||
You can change your username to another username that is not currently in use.{% ifversion fpt or ghec %} If the username you want is not available, consider other names or unique variations. Using a number, hyphen, or an alternative spelling might help you find a similar username that's still available.
|
||||
Vous pouvez remplacer votre nom d’utilisateur par un autre qui n’est pas en cours d’utilisation.{% ifversion fpt or ghec %} Si le nom d’utilisateur souhaité n’est pas disponible, réfléchissez à d’autres noms ou variantes uniques. L’utilisation d’un chiffre, d’un trait d’union ou d’une autre orthographe peut vous aider à trouver un nom d’utilisateur similaire qui est toujours disponible.
|
||||
|
||||
If you hold a trademark for the username, you can find more information about making a trademark complaint on our [Trademark Policy](/free-pro-team@latest/github/site-policy/github-trademark-policy) page.
|
||||
Si vous détenez une marque commerciale pour le nom d’utilisateur, vous trouverez plus d’informations sur la façon de soumettre une réclamation sur notre page [Politique concernant les marques commerciales](/free-pro-team@latest/github/site-policy/github-trademark-policy).
|
||||
|
||||
If you do not hold a trademark for the name, you can choose another username or keep your current username. {% data variables.contact.github_support %} cannot release the unavailable username for you. For more information, see "[Changing your username](#changing-your-username)."{% endif %}
|
||||
Si vous ne détenez pas de marque commerciale pour le nom, vous pouvez choisir un autre nom d’utilisateur ou conserver votre nom d’utilisateur actuel. {% data variables.contact.github_support %} ne peut pas libérer le nom d’utilisateur indisponible pour vous. Pour plus d’informations, consultez « [Changement de votre nom d’utilisateur](#changing-your-username) ».{% endif %}
|
||||
|
||||
After changing your username, your old username becomes available for anyone else to claim. Most references to your repositories under the old username automatically change to the new username. However, some links to your profile won't automatically redirect.
|
||||
Une fois que vous avez changé votre nom d’utilisateur, votre ancien nom d’utilisateur devient disponible et ne peut être revendiqué par aucune autre personne. La plupart des références à vos dépôts sous l’ancien nom d’utilisateur passent automatiquement au nouveau nom d’utilisateur. Toutefois, certains liens vers votre profil ne sont pas redirigés automatiquement.
|
||||
|
||||
{% data variables.product.product_name %} cannot set up redirects for:
|
||||
- [@mentions](/articles/basic-writing-and-formatting-syntax/#mentioning-people-and-teams) using your old username
|
||||
- Links to [gists](/articles/creating-gists) that include your old username
|
||||
{% data variables.product.product_name %} ne peut pas configurer les redirections pour :
|
||||
- Les [@mentions](/articles/basic-writing-and-formatting-syntax/#mentioning-people-and-teams) utilisant votre ancien nom d’utilisateur.
|
||||
- Les liens vers des [gists](/articles/creating-gists) qui incluent votre ancien nom d’utilisateur.
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
If you're a member of an {% data variables.enterprise.prodname_emu_enterprise %}, you cannot make changes to your username. {% data reusables.enterprise-accounts.emu-more-info-account %}
|
||||
Si vous êtes membre d’une {% data variables.product.prodname_emu_enterprise %}, vous ne pouvez pas apporter de modifications à votre nom d’utilisateur. {% data reusables.enterprise-accounts.emu-more-info-account %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Repository references
|
||||
## Références de dépôts
|
||||
|
||||
After you change your username, {% data variables.product.product_name %} will automatically redirect references to your repositories.
|
||||
- Web links to your existing repositories will continue to work. This can take a few minutes to complete after you make the change.
|
||||
- Command line pushes from your local repository clones to the old remote tracking URLs will continue to work.
|
||||
Une fois que vous avez changé votre nom d’utilisateur, {% data variables.product.product_name %} redirige automatiquement les références vers vos dépôts.
|
||||
- Les liens web vers vos dépôts existants continueront à fonctionner. Cette opération peut prendre quelques minutes après la modification.
|
||||
- Les poussées (push) par ligne de commande à partir de vos clones de dépôt local vers les anciennes URL de suivi à distance continueront à fonctionner.
|
||||
|
||||
If the new owner of your old username creates a repository with the same name as your repository, that will override the redirect entry and your redirect will stop working. Because of this possibility, we recommend you update all existing remote repository URLs after changing your username. For more information, see "[Managing remote repositories](/github/getting-started-with-github/managing-remote-repositories)."
|
||||
Si le nouveau propriétaire de votre ancien nom d’utilisateur crée un dépôt portant le même nom que le vôtre, cela remplacera l’entrée de redirection et votre redirection cessera de fonctionner. En raison de cette possibilité, nous vous recommandons de mettre à jour toutes les URL de dépôt distant existantes après avoir changé votre nom d’utilisateur. Pour plus d’informations, consultez « [Gestion des dépôts distants](/github/getting-started-with-github/managing-remote-repositories) ».
|
||||
|
||||
## Links to your previous profile page
|
||||
## Liens vers votre page de profil précédente
|
||||
|
||||
After changing your username, links to your previous profile page, such as `https://{% data variables.command_line.backticks %}/previoususername`, will return a 404 error. We recommend updating any links to your account on {% data variables.location.product_location %} from elsewhere{% ifversion fpt or ghec %}, such as your LinkedIn or Twitter profile{% endif %}.
|
||||
Après un changement de nom d’utilisateur, les liens vers votre page de profil précédente, par exemple `https://{% data variables.command_line.backticks %}/previoususername`, retourneront une erreur 404. Nous vous recommandons de mettre à jour les liens vers votre compte sur {% data variables.product.product_location %} à partir d’un autre emplacement{% ifversion fpt or ghec %}, tel que votre profil LinkedIn ou Twitter{% endif %}.
|
||||
|
||||
## Your Git commits
|
||||
## Vos commits Git
|
||||
|
||||
{% ifversion fpt or ghec %}Git commits that were associated with your {% data variables.product.product_name %}-provided `noreply` email address won't be attributed to your new username and won't appear in your contributions graph.{% endif %} If your Git commits are associated with another email address you've [added to your GitHub account](/articles/adding-an-email-address-to-your-github-account), {% ifversion fpt or ghec %}including the ID-based {% data variables.product.product_name %}-provided `noreply` email address, {% endif %}they'll continue to be attributed to you and appear in your contributions graph after you've changed your username. For more information on setting your email address, see "[Setting your commit email address](/articles/setting-your-commit-email-address)."
|
||||
{% ifversion fpt or ghec %}Les commits Git qui étaient associés à votre adresse e-mail `noreply` fournie par {% data variables.product.product_name %} ne seront pas attribués à votre nouveau nom d’utilisateur et n’apparaîtront pas dans votre graphe de contributions.{% endif %} Si vos commits Git sont associés à une autre adresse e-mail que vous avez [ajoutée à votre compte GitHub](/articles/adding-an-email-address-to-your-github-account), {% ifversion fpt or ghec %}y compris l’adresse e-mail `noreply` fournie par {% data variables.product.product_name %} et basée sur l’ID, {% endif %}ils continueront à vous être attribués et apparaîtront dans votre graphe de contributions après le changement de nom d’utilisateur. Pour plus d’informations sur la définition de votre adresse e-mail, consultez « [Définition de votre adresse e-mail de commit](/articles/setting-your-commit-email-address) ».
|
||||
|
||||
## Your gists
|
||||
## Changement de votre nom d’utilisateur
|
||||
|
||||
After changing your username, the URLs to any public or secret gists will also change and previous links to these will return a 404 error. We recommend updating the links to these gists anywhere you may have shared them.
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.account_settings %}
|
||||
3. Dans la section « Changer le nom d'utilisateur », cliquez sur **Changer le nom d'utilisateur**.
|
||||
{% ifversion fpt or ghec %}
|
||||
4. Lisez les avertissements concernant le changement de votre nom d’utilisateur. Si vous souhaitez toujours changer votre nom d’utilisateur, cliquez sur **Je comprends. Changeons mon nom d'utilisateur**.
|
||||

|
||||
5. Tapez un nouveau nom d’utilisateur.
|
||||

|
||||
6. Si le nom d’utilisateur que vous avez choisi est disponible, cliquez sur **Changer mon nom d'utilisateur**. Si le nom d’utilisateur que vous avez choisi n’est pas disponible, vous pouvez essayer un autre nom d’utilisateur ou l’une des suggestions affichées.
|
||||
 {% endif %}
|
||||
|
||||
## Changing your username
|
||||
## Pour aller plus loin
|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
{% data reusables.user-settings.account_settings %}
|
||||
3. In the "Change username" section, click **Change username**.
|
||||
{% ifversion fpt or ghec %}
|
||||
4. Read the warnings about changing your username. If you still want to change your username, click **I understand, let's change my username**.
|
||||

|
||||
5. Type a new username.
|
||||

|
||||
6. If the username you've chosen is available, click **Change my username**. If the username you've chosen is unavailable, you can try a different username or one of the suggestions you see.
|
||||

|
||||
{% endif %}
|
||||
|
||||
## Further reading
|
||||
|
||||
- "[Why are my commits linked to the wrong user?](/pull-requests/committing-changes-to-your-project/troubleshooting-commits/why-are-my-commits-linked-to-the-wrong-user)"{% ifversion fpt or ghec %}
|
||||
- "[{% data variables.product.prodname_dotcom %} Username Policy](/free-pro-team@latest/github/site-policy/github-username-policy)"{% endif %}
|
||||
- « [Pourquoi mes commits sont-ils liés au mauvais utilisateur ?](/pull-requests/committing-changes-to-your-project/troubleshooting-commits/why-are-my-commits-linked-to-the-wrong-user) »{% ifversion fpt or ghec %}
|
||||
- « [Politique relative aux noms d’utilisateur {% data variables.product.prodname_dotcom %}](/free-pro-team@latest/github/site-policy/github-username-policy) »{% endif %}
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
---
|
||||
title: Conversion d’un utilisateur en organisation
|
||||
redirect_from:
|
||||
- /articles/what-is-the-difference-between-create-new-organization-and-turn-account-into-an-organization
|
||||
- /articles/explaining-the-account-transformation-warning
|
||||
- /articles/converting-a-user-into-an-organization
|
||||
- /github/setting-up-and-managing-your-github-user-account/converting-a-user-into-an-organization
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/converting-a-user-into-an-organization
|
||||
- /account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/converting-a-user-into-an-organization
|
||||
intro: Vous pouvez convertir votre compte personnel en organisation. Cela permet d’obtenir des autorisations plus précises pour les dépôts qui appartiennent à l’organisation.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: User into an organization
|
||||
ms.openlocfilehash: 641172d82581ad83bd7281fed941171ce6c817b7
|
||||
ms.sourcegitcommit: 2298858ef68ffb4e79490ddbb9d6a64081dfbc39
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 07/21/2022
|
||||
ms.locfileid: "147389392"
|
||||
---
|
||||
{% warning %}
|
||||
|
||||
**Avertissement** : Avant de convertir un utilisateur en organisation, ayez à l’esprit les points suivants.
|
||||
|
||||
* Vous **ne pourrez plus** vous connecter au compte personnel converti.
|
||||
* Vous **ne pourrez plus** créer ou modifier des gists appartenant au compte personnel converti.
|
||||
* Une organisation **ne peut pas** être convertie en utilisateur.
|
||||
* Les clés SSH, les jetons OAuth, le profil de travail, les réactions et les informations utilisateur associées **ne seront pas** transférés vers l’organisation. Cela s’applique uniquement au compte personnel en cours de conversion, et non aux collaborateurs du compte personnel.
|
||||
* Les commits effectués avec le compte personnel converti **ne seront plus liés** à ce compte. Les commits eux-mêmes **resteront** intacts.
|
||||
* Les commentaires existants faits avec le compte personnel converti **ne seront plus liés** à ce compte. Les commentaires eux-mêmes **vont** restent intacts, mais seront associés à l’utilisateur `ghost`.
|
||||
* Toute duplication (fork) de dépôt privé effectuée avec le compte personnel converti sera supprimée.
|
||||
{% endwarning %}
|
||||
|
||||
{% ifversion fpt or ghec or ghes %}
|
||||
## <a name="keep-your-personal-account-and-create-a-new-organization-manually"></a>Conserver votre compte personnel et créer une organisation manuellement
|
||||
|
||||
Si vous souhaitez que votre organisation porte le même nom que celui actuellement utilisé pour votre compte personnel, ou si vous souhaitez conserver les informations de votre compte personnel telles quelles, vous devez créer une organisation et transférer vos dépôts vers celle-ci au lieu de convertir votre compte personnel en organisation.
|
||||
|
||||
1. Pour conserver le nom de votre compte personnel actuel pour votre usage personnel, [renommez-le](/articles/changing-your-github-username).
|
||||
2. [Créez une organisation](/articles/creating-a-new-organization-from-scratch) avec le nom d’origine de votre compte personnel.
|
||||
3. [Transférez vos dépôts](/articles/transferring-a-repository) vers votre nouveau compte d’organisation.{% endif %}
|
||||
|
||||
## <a name="convert-your-personal-account-into-an-organization-automatically"></a>Convertir automatiquement votre compte personnel en organisation
|
||||
|
||||
Vous pouvez également convertir votre compte personnel directement en organisation. La conversion de votre compte :
|
||||
- Conserve les dépôts tels quels sans qu’il soit nécessaire de les transférer manuellement vers un autre compte.
|
||||
- Invite automatiquement les collaborateurs dans des équipes avec des autorisations équivalentes à celles qu’ils avaient auparavant {% ifversion fpt or ghec %}- Pour les comptes personnels sur {% data variables.product.prodname_pro %}, effectue automatiquement la transition de la facturation vers [la version payante de {% data variables.product.prodname_team %}](/articles/about-billing-for-github-accounts) sans qu’il soit à aucun moment nécessaire de réentrer les informations de paiement, d’ajuster votre période de facturation ou de payer en double{% endif %}
|
||||
|
||||
1. Créez un compte personnel, que vous utiliserez pour vous connecter à GitHub et accéder à l’organisation et à vos dépôts après la conversion.
|
||||
2. [Quittez toute organisation](/articles/removing-yourself-from-an-organization) qu’a rejoint le compte personnel que vous convertissez.
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.organizations %}
|
||||
5. Sous « Transformer le compte », cliquez sur **Convertir <username> en organisation**.
|
||||

|
||||
6. Dans la boîte de dialogue Avertissement de transformation de compte, passez en revue et confirmez la conversion. Notez que les informations contenues dans cette boîte sont identiques à l’avertissement mentionné en haut de cet article.
|
||||

|
||||
7. Dans la page « Transformer votre utilisateur en organisation », sous « Choisir un propriétaire d’organisation », choisissez le compte personnel secondaire que vous avez créé dans la section précédente ou un autre utilisateur que vous approuvez pour gérer l’organisation.
|
||||

|
||||
8. Choisissez l’abonnement de votre nouvelle organisation et entrez vos informations de facturation si vous y êtes invité.
|
||||
9. Cliquez sur **Créer une organisation**.
|
||||
10. Connectez-vous au nouveau compte personnel que vous avez créé à l’étape 1, puis utilisez le sélecteur de contexte pour accéder à votre nouvelle organisation.
|
||||
|
||||
{% tip %}
|
||||
|
||||
**Astuce** : lorsque vous convertissez un compte personnel en organisation, nous ajoutons les collaborateurs des dépôts qui appartiennent au compte à la nouvelle organisation en tant que *collaborateurs externes*. Vous pouvez ensuite inviter des *collaborateurs externes* à devenir membres de votre nouvelle organisation si vous le souhaitez. Pour plus d’informations, consultez « [Rôles dans une organisation](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization#outside-collaborators) ».
|
||||
|
||||
{% endtip %}
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
- « [Configuration des équipes](/articles/setting-up-teams) » {% ifversion fpt or ghec %}- « [Invitation d’utilisateurs à rejoindre votre organisation](/articles/inviting-users-to-join-your-organization) » {% endif %}
|
||||
- « [Accès à une organisation](/articles/accessing-an-organization) »
|
||||
@@ -0,0 +1,55 @@
|
||||
---
|
||||
title: Suppression de votre compte personnel
|
||||
intro: Vous pouvez supprimer votre compte personnel sur {% data variables.product.product_name %} à tout moment.
|
||||
redirect_from:
|
||||
- /articles/deleting-a-user-account
|
||||
- /articles/deleting-your-user-account
|
||||
- /github/setting-up-and-managing-your-github-user-account/deleting-your-user-account
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/deleting-your-user-account
|
||||
- /account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/deleting-your-user-account
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Delete your personal account
|
||||
ms.openlocfilehash: 4c02698cbe312d3f13553e49dd324fde4f3ad7bb
|
||||
ms.sourcegitcommit: dc42bb4a4826b414751ffa9eed38962c3e3fea8e
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 07/13/2022
|
||||
ms.locfileid: "145164962"
|
||||
---
|
||||
La suppression de votre compte personnel supprime tous les référentiels, les duplications (forks) de référentiels privés, les wikis, les problèmes, les demandes de tirage (pull requests) et les pages appartenant à votre compte. {% ifversion fpt or ghec %} Les problèmes et les demandes de tirage que vous avez créés et les commentaires que vous avez rédigés dans les dépôts appartenant à d’autres utilisateurs ne seront pas supprimés. Ils seront associés à notre [utilisateur Ghost](https://github.com/ghost).{% else %}Les problèmes et les demandes de tirage que vous avez créés et les commentaires que vous avez rédigés dans des dépôts appartenant à d’autres utilisateurs ne seront pas supprimés.{% endif %}
|
||||
|
||||
{% ifversion fpt or ghec %} Lorsque vous supprimez votre compte, nous cessons de vous facturer. L’adresse e-mail associée au compte devient disponible pour une utilisation avec un autre compte sur {% data variables.product.product_location %}. Après 90 jours, le nom du compte devient également utilisable par toute autre personne avec un nouveau compte. {% endif %}
|
||||
|
||||
Si vous êtes le seul propriétaire d’une organisation, vous devez transférer la propriété à une autre personne ou supprimer l’organisation avant de pouvoir supprimer votre compte personnel. S’il existe d’autres propriétaires dans l’organisation, vous devez vous supprimer de l’organisation avant de pouvoir supprimer votre compte personnel.
|
||||
|
||||
Pour plus d'informations, consultez les pages suivantes :
|
||||
- « [Transfert de propriété d’une organisation](/articles/transferring-organization-ownership) »
|
||||
- « [Suppression d’un compte d’organisation](/articles/deleting-an-organization-account) »
|
||||
- « [Vous supprimer vous-même d’une organisation](/articles/removing-yourself-from-an-organization/) »
|
||||
|
||||
## <a name="back-up-your-account-data"></a>Sauvegarder les données de votre compte
|
||||
|
||||
Avant de supprimer votre compte personnel, effectuez une copie de tous les référentiels, duplications privées, wikis, problèmes et demandes de tirage appartenant à votre compte.
|
||||
|
||||
{% warning %}
|
||||
|
||||
**Avertissement :** une fois votre compte personnel supprimé, GitHub ne peut pas restaurer votre contenu.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
## <a name="delete-your-personal-account"></a>Supprimer votre compte personnel
|
||||
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.account_settings %}
|
||||
3. En bas de la page Paramètres du compte, sous « Supprimer le compte », cliquez sur **Supprimer votre compte**. Avant de pouvoir supprimer votre compte personnel :
|
||||
- Si vous êtes le seul propriétaire de l’organisation, vous devez transférer la propriété à une autre personne ou supprimer votre organisation.
|
||||
- S’il existe d’autres propriétaires d’organisation dans l’organisation, vous devez vous supprimer de l’organisation.
|
||||

|
||||
4. Dans la boîte de dialogue « Vérifiez que vous êtes certain de vouloir faire cela », effectuez les étapes pour confirmer que vous comprenez ce qui se produit lorsque votre compte est supprimé : {% ifversion fpt or ghec %}- Rappelez-vous que tous les dépôts, duplications de dépôts privés, wikis, problèmes, demandes de tirage et sites {% data variables.product.prodname_pages %} appartenant à votre compte seront supprimés, que votre facturation cessera immédiatement, et que votre nom d’utilisateur pourra être utilisé par n’importe qui sur {% data variables.product.product_name %} après 90 jours.
|
||||
{% else %}- Rappelez-vous que tous les dépôts, duplications de dépôts privés, wikis, problèmes, demandes de tirage et pages appartenant à votre compte seront supprimés, et que votre nom d’utilisateur pourra être utilisé sur {% data variables.product.product_name %} après 90 jours.
|
||||
{% endif %}- Dans le premier champ, tapez votre nom d’utilisateur ou e-mail {% data variables.product.product_name %}.
|
||||
- Dans le deuxième champ, tapez l’expression de l’invite.
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Managing the default branch name for your repositories
|
||||
intro: 'You can set the default branch name for new repositories that you create on {% data variables.location.product_location %}.'
|
||||
title: Gestion du nom de branche par défaut pour vos dépôts
|
||||
intro: 'Vous pouvez définir le nom de branche par défaut des nouveaux dépôts que vous créez sur {% data variables.product.product_location %}.'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -13,24 +13,29 @@ redirect_from:
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-the-default-branch-name-for-your-repositories
|
||||
- /account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-the-default-branch-name-for-your-repositories
|
||||
shortTitle: Manage default branch name
|
||||
ms.openlocfilehash: a3943f32860f55becaa840f7ca40c13ba87b5ce2
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '145193761'
|
||||
---
|
||||
## About management of the default branch name
|
||||
## À propos de la gestion du nom de branche par défaut
|
||||
|
||||
When you create a new repository on {% data variables.location.product_location %}, the repository contains one branch, which is the default branch. You can change the name that {% data variables.product.product_name %} uses for the default branch in new repositories you create. For more information about the default branch, see "[About branches](/github/collaborating-with-issues-and-pull-requests/about-branches#about-the-default-branch)."
|
||||
Lorsque vous créez un dépôt sur {% data variables.product.product_location %}, il contient une seule branche, qui est la branche par défaut. Vous pouvez modifier le nom que {% data variables.product.product_name %} utilise pour la branche par défaut dans les nouveaux dépôts que vous créez. Pour plus d’informations sur la branche par défaut, consultez « [À propos des branches](/github/collaborating-with-issues-and-pull-requests/about-branches#about-the-default-branch) ».
|
||||
|
||||
{% data reusables.branches.change-default-branch %}
|
||||
|
||||
## Setting the default branch name
|
||||
## Définition du nom de branche par défaut
|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
{% data reusables.user-settings.repo-tab %}
|
||||
3. Under "Repository default branch", click **Change default branch name now**.
|
||||

|
||||
4. Type the default name that you would like to use for new branches.
|
||||

|
||||
5. Click **Update**.
|
||||

|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.repo-tab %}
|
||||
3. Sous « Branche par défaut du dépôt », cliquez sur **Changer la branche par défaut du dépôt**.
|
||||

|
||||
4. Tapez le nom par défaut que vous souhaitez utiliser pour les nouvelles branches.
|
||||

|
||||
5. Cliquez sur **Update**.
|
||||

|
||||
|
||||
## Further reading
|
||||
## Pour aller plus loin
|
||||
|
||||
- "[Managing the default branch name for repositories in your organization](/organizations/managing-organization-settings/managing-the-default-branch-name-for-repositories-in-your-organization)"
|
||||
- « [Gestion du nom de branche par défaut pour les dépôts de votre organisation](/organizations/managing-organization-settings/managing-the-default-branch-name-for-repositories-in-your-organization) »
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
---
|
||||
title: Fusion de plusieurs comptes personnels
|
||||
intro: Si vous avez des comptes distincts pour l’utilisation professionnelle et personnelle, vous pouvez fusionner les comptes.
|
||||
redirect_from:
|
||||
- /articles/can-i-merge-two-accounts
|
||||
- /articles/keeping-work-and-personal-repositories-separate
|
||||
- /articles/merging-multiple-user-accounts
|
||||
- /github/setting-up-and-managing-your-github-user-account/merging-multiple-user-accounts
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/merging-multiple-user-accounts
|
||||
- /account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/merging-multiple-user-accounts
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Merge multiple personal accounts
|
||||
ms.openlocfilehash: 71e2b280fad682f3ee8e9ac85141aedc3bde3d06
|
||||
ms.sourcegitcommit: dc42bb4a4826b414751ffa9eed38962c3e3fea8e
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 07/13/2022
|
||||
ms.locfileid: "145165030"
|
||||
---
|
||||
{% tip %}
|
||||
|
||||
{% ifversion ghec %}
|
||||
|
||||
**Astuce :** Les {% data variables.product.prodname_emus %} permettent à une entreprise de provisionner des comptes personnels uniques pour ses membres par le biais d’un fournisseur d’identité (IdP). Pour plus d’informations, consultez « [À propos des utilisateurs d’entreprise managés](/admin/identity-and-access-management/managing-iam-with-enterprise-managed-users/about-enterprise-managed-users) ». Pour d’autres cas d’usage, nous vous recommandons d’utiliser un seul compte personnel pour gérer à la fois les dépôts personnels et professionnels.
|
||||
|
||||
{% else %}
|
||||
|
||||
**Conseil :** Nous vous recommandons d’utiliser un seul compte personnel pour gérer à la fois les dépôts personnels et professionnels.
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% endtip %}
|
||||
|
||||
{% warning %}
|
||||
|
||||
**Avertissement :**
|
||||
- Les autorisations d’accès à l’organisation et au dépôt ne sont pas transmissibles entre les comptes. Si le compte que vous souhaitez supprimer dispose d’une autorisation d’accès existante, un propriétaire d’organisation ou un administrateur de dépôt doit inviter le compte que vous souhaitez conserver.
|
||||
- Les commits créés avec une adresse e-mail `noreply` fournie par GitHub ne peuvent pas être transférés d’un compte à un autre. Si le compte que vous souhaitez supprimer a utilisé l’option **Laisser mon adresse e-mail privée**, il n’est pas possible de transférer les commits créés par le compte que vous supprimez vers le compte que vous souhaitez conserver.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
1. [Transférez tous les dépôts](/articles/how-to-transfer-a-repository) du compte que vous souhaitez supprimer vers le compte que vous souhaitez conserver. Les problèmes, les demandes de tirage et les wikis sont également transférés. Vérifiez que les dépôts existent sur le compte que vous souhaitez conserver.
|
||||
2. [Mettez à jour les URL distantes](/github/getting-started-with-github/managing-remote-repositories) dans tous les clones locaux des dépôts qui ont été déplacés.
|
||||
3. [Supprimez le compte](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/deleting-your-personal-account) que vous ne souhaitez plus utiliser.
|
||||
4. Pour attribuer des commits passés au nouveau compte, ajoutez l’adresse e-mail que vous avez utilisée pour créer les commits au compte que vous conservez. Pour plus d’informations, consultez « [Pourquoi mes contributions ne s’affichent-elles pas sur mon profil ?](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile#your-local-git-commit-email-isnt-connected-to-your-account) ».
|
||||
|
||||
## <a name="further-reading"></a>Pour aller plus loin
|
||||
|
||||
- « [Types de comptes {% data variables.product.prodname_dotcom %}](/articles/types-of-github-accounts) »
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Best practices for leaving your company
|
||||
intro: 'If you use your account on {% data variables.product.product_name %} for both personal and work purposes, there are a few things to keep in mind when you leave your company or organization.'
|
||||
title: Bonnes pratiques pour quitter votre entreprise
|
||||
intro: 'Si vous utilisez votre compte sur {% data variables.product.product_name %} à des fins personnelles et professionnelles, il existe quelques éléments à garder à l’esprit lorsque vous quittez votre entreprise ou votre organisation.'
|
||||
redirect_from:
|
||||
- /articles/best-practices-for-leaving-your-company
|
||||
- /github/setting-up-and-managing-your-github-user-account/best-practices-for-leaving-your-company
|
||||
@@ -13,31 +13,36 @@ versions:
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Leaving your company
|
||||
ms.openlocfilehash: c288584891981eab7ffe4204e2028b0e70cf1d08
|
||||
ms.sourcegitcommit: 478f2931167988096ae6478a257f492ecaa11794
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/09/2022
|
||||
ms.locfileid: '147687164'
|
||||
---
|
||||
Avant de quitter votre entreprise, veillez à mettre à jour les informations suivantes dans votre compte personnel :
|
||||
|
||||
Before you leave your company, make sure you update the following information in your personal account:
|
||||
- Dévérifiez votre adresse e-mail professionnelle en la [supprimant dans vos paramètres de messagerie](/articles/changing-your-primary-email-address). Vous pouvez ensuite la rajouter sans vérification afin de conserver les commits associés liés à votre compte.
|
||||
- [Changez votre adresse e-mail principale](/articles/changing-your-primary-email-address) en remplaçant votre e-mail d’entreprise par votre e-mail personnel.
|
||||
- [Vérifiez votre nouvelle adresse e-mail principale](/articles/verifying-your-email-address).
|
||||
- [Modifiez votre nom d’utilisateur GitHub](/articles/changing-your-github-username) pour supprimer toute référence à votre entreprise ou organisation, si nécessaire.
|
||||
- Si vous avez activé l’authentification à deux facteurs (2FA) pour votre compte personnel, vérifiez que vous (et non votre entreprise) contrôlez la méthode d’authentification 2FA que vous avez configurée. Pour plus d’informations, consultez « [Configuration de l’authentification à 2 facteurs](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication) ».
|
||||
|
||||
- Unverify your company email address by [deleting it in your Email settings](/articles/changing-your-primary-email-address). You can then re-add it without verifying to keep any associated commits linked to your account.
|
||||
- [Change your primary email address](/articles/changing-your-primary-email-address) from your company email to your personal email.
|
||||
- [Verify your new primary email address](/articles/verifying-your-email-address).
|
||||
- [Change your GitHub username](/articles/changing-your-github-username) to remove any references to your company or organization, if necessary.
|
||||
- If you've enabled two-factor (2FA) authentication for your personal account, make sure that you (not your company) control the 2FA authentication method you have configured. For more information, see "[Configuring two-factor authentication](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication)."
|
||||
## Quitter une organisation
|
||||
|
||||
## Leaving organizations
|
||||
Si vous avez travaillé avec des dépôts appartenant à une organisation, vous devez [vous supprimer en tant que membre de l’organisation](/articles/removing-yourself-from-an-organization). Notez que si vous êtes le propriétaire de l’organisation, vous devez d’abord [transférer la propriété de l’organisation](/articles/transferring-organization-ownership) à une autre personne.
|
||||
|
||||
If you've been working with repositories that belong to an organization, you'll want to [remove yourself as a member of the organization](/articles/removing-yourself-from-an-organization). Note that if you are the organization owner, you should first [transfer ownership of the organization](/articles/transferring-organization-ownership) to another person.
|
||||
À moins que vous utilisiez un {% data variables.product.prodname_managed_user %}, vous pouvez toujours accéder à votre compte personnel même après avoir quitté l’organisation. Pour plus d’informations sur {% data variables.product.prodname_emus %}, consultez « [À propos d’{% data variables.product.prodname_emus %}]({% ifversion not ghec%}/enterprise-cloud@latest{% endif %}/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users){% ifversion not ghec %} » dans la documentation {% data variables.product.prodname_ghe_cloud %}.{% else %} ».{% endif %}
|
||||
|
||||
Unless you're using a {% data variables.enterprise.prodname_managed_user %}, you'll still be able to access your personal account, even after leaving the organization. For more information about {% data variables.product.prodname_emus %}, see "[About {% data variables.product.prodname_emus %}]({% ifversion not ghec%}/enterprise-cloud@latest{% endif %}/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users){% ifversion not ghec %}" in the {% data variables.product.prodname_ghe_cloud %} documentation.{% else %}."{% endif %}
|
||||
## Suppression d’associations professionnelles avec des dépôts personnels
|
||||
|
||||
## Removing professional associations with personal repositories
|
||||
Si vous avez collaboré professionnellement avec une autre personne sur des référentiels qui appartiennent à son compte personnel, vous devez [vous supprimer en tant que collaborateur](/articles/removing-yourself-from-a-collaborator-s-repository) de ces référentiels.
|
||||
|
||||
If you've been collaborating professionally with another person on repositories that belong to their personal account, you'll want to [remove yourself as a collaborator](/articles/removing-yourself-from-a-collaborator-s-repository) from those repositories.
|
||||
|
||||
- [Stop watching repositories](https://github.com/watching) related to your work. You won't want those notifications anymore!
|
||||
- [Transfer repositories you own](/articles/how-to-transfer-a-repository) that others may need to continue working on after you leave.
|
||||
- [Delete forks that belong to you](/articles/deleting-a-repository) that are related to the work you were doing. Don't worry, deleting a fork doesn't delete the upstream repository.
|
||||
- Delete local copies of your forks that may exist on your computer:
|
||||
- [Arrêtez la surveillance des dépôts](https://github.com/watching) liés à votre travail. Vous n’aurez plus besoin de recevoir ces notifications.
|
||||
- [Transférez les dépôts dont vous êtes propriétaire](/articles/how-to-transfer-a-repository) et dont d’autres personnes peuvent avoir besoin pour continuer à travailler après votre départ.
|
||||
- [Supprimez les duplications qui vous appartiennent](/articles/deleting-a-repository) et qui sont liées au travail que vous faisiez. Ne vous inquiétez pas, la suppression d’une duplication ne supprime pas le dépôt en amont.
|
||||
- Supprimez les copies locales de vos duplications qui peuvent exister sur votre ordinateur :
|
||||
|
||||
```shell
|
||||
$ rm -rf WORK_DIRECTORY
|
||||
$ rm -rf <em>work_directory</em>
|
||||
```
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Converting a user into an organization
|
||||
title: Conversion d’un utilisateur en organisation
|
||||
redirect_from:
|
||||
- /articles/what-is-the-difference-between-create-new-organization-and-turn-account-into-an-organization
|
||||
- /articles/explaining-the-account-transformation-warning
|
||||
@@ -8,7 +8,7 @@ redirect_from:
|
||||
- /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/converting-a-user-into-an-organization
|
||||
- /account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/converting-a-user-into-an-organization
|
||||
- /account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/converting-a-user-into-an-organization
|
||||
intro: You can convert your personal account into an organization. This allows more granular permissions for repositories that belong to the organization.
|
||||
intro: Vous pouvez convertir votre compte personnel en organisation. Cela permet d’obtenir des autorisations plus précises pour les dépôts qui appartiennent à l’organisation.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -17,58 +17,60 @@ versions:
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: User into an organization
|
||||
ms.openlocfilehash: 8b99bd119a9fa061c025a4fcc299d7ace31d23eb
|
||||
ms.sourcegitcommit: 478f2931167988096ae6478a257f492ecaa11794
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/09/2022
|
||||
ms.locfileid: '147687095'
|
||||
---
|
||||
{% warning %}
|
||||
|
||||
**Warning**: Before converting a user into an organization, keep these points in mind.
|
||||
**Avertissement** : Avant de convertir un utilisateur en organisation, ayez à l’esprit les points suivants.
|
||||
|
||||
* You will **no longer** be able to sign into the converted personal account.
|
||||
* You will **no longer** be able to create or modify gists owned by the converted personal account.
|
||||
* An organization **cannot** be converted back to a user.
|
||||
* The SSH keys, OAuth tokens, job profile, reactions, and associated user information, **will not** be transferred to the organization. This is only true for the personal account that's being converted, not any of the personal account's collaborators.
|
||||
* Any {% data variables.product.prodname_github_apps %} installed on the converted personal account will be uninstalled.
|
||||
* Any commits made with the converted personal account **will no longer be linked** to that account. The commits themselves **will** remain intact.
|
||||
* Any existing comments made by the converted personal account **will no longer be linked** to that account. The comments themselves **will** remain intact, but will be associated with the `ghost` user.
|
||||
* Any forks of private repositories made with the converted personal account will be deleted.
|
||||
* Vous **ne pourrez plus** vous connecter au compte personnel converti.
|
||||
* Vous **ne pourrez plus** créer ou modifier des gists appartenant au compte personnel converti.
|
||||
* Une organisation **ne peut pas** être convertie en utilisateur.
|
||||
* Les clés SSH, les jetons OAuth, le profil de travail, les réactions et les informations utilisateur associées **ne seront pas** transférés vers l’organisation. Cela s’applique uniquement au compte personnel en cours de conversion, et non aux collaborateurs du compte personnel.
|
||||
* Les commits effectués avec le compte personnel converti **ne seront plus liés** à ce compte. Les commits eux-mêmes **resteront** intacts.
|
||||
* Les commentaires existants faits avec le compte personnel converti **ne seront plus liés** à ce compte. Les commentaires eux-mêmes **vont** restent intacts, mais seront associés à l’utilisateur `ghost`.
|
||||
* Toute duplication (fork) de dépôt privé effectuée avec le compte personnel converti sera supprimée.
|
||||
{% endwarning %}
|
||||
|
||||
{% ifversion fpt or ghec or ghes %}
|
||||
## Keep your personal account and create a new organization manually
|
||||
## Conserver votre compte personnel et créer une organisation manuellement
|
||||
|
||||
If you want your organization to have the same name that you are currently using for your personal account, or if you want to keep your personal account's information intact, then you must create a new organization and transfer your repositories to it instead of converting your personal account into an organization.
|
||||
Si vous souhaitez que votre organisation porte le même nom que celui actuellement utilisé pour votre compte personnel, ou si vous souhaitez conserver les informations de votre compte personnel telles quelles, vous devez créer une organisation et transférer vos dépôts vers celle-ci au lieu de convertir votre compte personnel en organisation.
|
||||
|
||||
1. To retain your current personal account name for your personal use, [change the name of your personal account](/articles/changing-your-github-username) to something new and wonderful.
|
||||
2. [Create a new organization](/articles/creating-a-new-organization-from-scratch) with the original name of your personal account.
|
||||
3. [Transfer your repositories](/articles/transferring-a-repository) to your new organization account.{% endif %}
|
||||
1. Pour conserver le nom de votre compte personnel actuel pour votre usage personnel, [renommez-le](/articles/changing-your-github-username).
|
||||
2. [Créez une organisation](/articles/creating-a-new-organization-from-scratch) avec le nom d’origine de votre compte personnel.
|
||||
3. [Transférez vos dépôts](/articles/transferring-a-repository) vers votre nouveau compte d’organisation.{% endif %}
|
||||
|
||||
## Convert your personal account into an organization automatically
|
||||
## Convertir automatiquement votre compte personnel en organisation
|
||||
|
||||
You can also convert your personal account directly into an organization. Converting your account:
|
||||
- Preserves the repositories as they are without the need to transfer them to another account manually
|
||||
- Automatically invites collaborators to teams with permissions equivalent to what they had before
|
||||
{% ifversion fpt or ghec %}- For personal accounts on {% data variables.product.prodname_pro %}, automatically transitions billing to [the paid {% data variables.product.prodname_team %}](/articles/about-billing-for-github-accounts) without the need to re-enter payment information, adjust your billing cycle, or double pay at any time{% endif %}
|
||||
Vous pouvez également convertir votre compte personnel directement en organisation. La conversion de votre compte :
|
||||
- Conserve les dépôts tels quels sans qu’il soit nécessaire de les transférer manuellement vers un autre compte.
|
||||
- Invite automatiquement les collaborateurs dans des équipes avec des autorisations équivalentes à celles qu’ils avaient auparavant {% ifversion fpt or ghec %}- Pour les comptes personnels sur {% data variables.product.prodname_pro %}, effectue automatiquement la transition de la facturation vers [la version payante de {% data variables.product.prodname_team %}](/articles/about-billing-for-github-accounts) sans qu’il soit à aucun moment nécessaire de réentrer les informations de paiement, d’ajuster votre période de facturation ou de payer en double{% endif %}
|
||||
|
||||
1. Create a new personal account, which you'll use to sign into GitHub and access the organization and your repositories after you convert.
|
||||
2. [Leave any organizations](/articles/removing-yourself-from-an-organization) the personal account you're converting has joined.
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
{% data reusables.user-settings.organizations %}
|
||||
5. Under "Transform account", click **Turn <username> into an organization**.
|
||||

|
||||
6. In the Account Transformation Warning dialog box, review and confirm the conversion. Note that the information in this box is the same as the warning at the top of this article.
|
||||

|
||||
7. On the "Transform your user into an organization" page, under "Choose an organization owner", choose either the secondary personal account you created in the previous section or another user you trust to manage the organization.
|
||||

|
||||
8. Choose your new organization's subscription and enter your billing information if prompted.
|
||||
9. Click **Create Organization**.
|
||||
10. Sign in to the new personal account you created in step one, then use the context switcher to access your new organization.
|
||||
1. Créez un compte personnel, que vous utiliserez pour vous connecter à GitHub et accéder à l’organisation et à vos dépôts après la conversion.
|
||||
2. [Quittez toute organisation](/articles/removing-yourself-from-an-organization) qu’a rejoint le compte personnel que vous convertissez.
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.organizations %}
|
||||
5. Sous « Transformer le compte », cliquez sur **Convertir <username> en organisation**.
|
||||

|
||||
6. Dans la boîte de dialogue Avertissement de transformation de compte, passez en revue et confirmez la conversion. Notez que les informations contenues dans cette boîte sont identiques à l’avertissement mentionné en haut de cet article.
|
||||

|
||||
7. Dans la page « Transformer votre utilisateur en organisation », sous « Choisir un propriétaire d’organisation », choisissez le compte personnel secondaire que vous avez créé dans la section précédente ou un autre utilisateur que vous approuvez pour gérer l’organisation.
|
||||

|
||||
8. Choisissez l’abonnement de votre nouvelle organisation et entrez vos informations de facturation si vous y êtes invité.
|
||||
9. Cliquez sur **Créer une organisation**.
|
||||
10. Connectez-vous au nouveau compte personnel que vous avez créé à l’étape 1, puis utilisez le sélecteur de contexte pour accéder à votre nouvelle organisation.
|
||||
|
||||
{% tip %}
|
||||
|
||||
**Tip**: When you convert a personal account into an organization, we'll add collaborators on repositories that belong to the account to the new organization as *outside collaborators*. You can then invite *outside collaborators* to become members of your new organization if you wish. For more information, see "[Roles in an organization](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization#outside-collaborators)."
|
||||
**Astuce** : lorsque vous convertissez un compte personnel en organisation, nous ajoutons les collaborateurs des dépôts qui appartiennent au compte à la nouvelle organisation en tant que *collaborateurs externes*. Vous pouvez ensuite inviter des *collaborateurs externes* à devenir membres de votre nouvelle organisation si vous le souhaitez. Pour plus d’informations, consultez « [Rôles dans une organisation](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization#outside-collaborators) ».
|
||||
|
||||
{% endtip %}
|
||||
|
||||
## Further reading
|
||||
- "[Setting up teams](/articles/setting-up-teams)"
|
||||
{% ifversion fpt or ghec %}- "[Inviting users to join your organization](/articles/inviting-users-to-join-your-organization)"{% endif %}
|
||||
- "[Accessing an organization](/articles/accessing-an-organization)"
|
||||
## Pour aller plus loin
|
||||
- « [Configuration des équipes](/articles/setting-up-teams) » {% ifversion fpt or ghec %}- « [Invitation d’utilisateurs à rejoindre votre organisation](/articles/inviting-users-to-join-your-organization) » {% endif %}
|
||||
- « [Accès à une organisation](/articles/accessing-an-organization) »
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Deleting your personal account
|
||||
intro: 'You can delete your personal account on {% data variables.location.product_location %} at any time.'
|
||||
title: Suppression de votre compte personnel
|
||||
intro: 'Vous pouvez supprimer votre compte personnel sur {% data variables.product.product_location %} à tout moment.'
|
||||
redirect_from:
|
||||
- /articles/deleting-a-user-account
|
||||
- /articles/deleting-your-user-account
|
||||
@@ -15,53 +15,55 @@ versions:
|
||||
topics:
|
||||
- Accounts
|
||||
shortTitle: Delete your account
|
||||
ms.openlocfilehash: c26ae9af0266defeaa7d0e15afc22b2edee2b7d2
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147687181'
|
||||
---
|
||||
## À propos de la suppression de votre compte personnel
|
||||
|
||||
## About deletion of your personal account
|
||||
|
||||
Deleting your personal account removes all repositories, forks of private repositories, wikis, issues, pull requests, and pages owned by your account. {% ifversion fpt or ghec %}Issues and pull requests you've created and comments you've made in repositories owned by other users will not be deleted. Your resources and comments will become associated with the [ghost user](https://github.com/ghost).{% else %}Issues and pull requests you've created and comments you've made in repositories owned by other users will not be deleted.{% endif %}
|
||||
La suppression de votre compte personnel supprime tous les référentiels, les duplications (forks) de référentiels privés, les wikis, les problèmes, les demandes de tirage (pull requests) et les pages appartenant à votre compte. {% ifversion fpt or ghec %}Les problèmes et les demandes de tirage que vous avez créés, ainsi que les commentaires que vous avez effectués dans les dépôts détenus par d’autres utilisateurs, ne seront pas supprimés. Vos ressources et vos commentaires seront associés à [l’utilisateur fantôme](https://github.com/ghost).{% else %}Les problèmes et les demandes de tirage que vous avez créés, ainsi que les commentaires que vous avez effectués dans les dépôts détenus par d’autres utilisateurs, ne seront pas supprimés.{% endif %}
|
||||
|
||||
{% ifversion ghec %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: If your enterprise manages your account and you sign into {% data variables.location.product_location %} through your company's identity provider (IdP), you cannot delete your account. For more information, see "[About {% data variables.product.prodname_emus %}](/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users)."
|
||||
**Remarque**: Si votre entreprise gère votre compte et que vous vous connectez à {% data variables.product.product_location %} via le fournisseur d’identité de votre entreprise, vous ne pouvez pas supprimer votre compte. Pour plus d’informations, consultez « [À propos d’{% data variables.product.prodname_emus %}](/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users) ».
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% ifversion fpt or ghec %}When you delete your account we stop billing you. The email address associated with the account becomes available for use with a different account on {% data variables.location.product_location %}. After 90 days, the account name also becomes available to anyone else to use on a new account. {% endif %}
|
||||
{% ifversion fpt or ghec %}Lorsque vous supprimez votre compte, nous cessons de vous le facturer. L’adresse e-mail associée au compte devient disponible pour une utilisation avec un autre compte sur {% data variables.product.product_location %}. Après 90 jours, le nom du compte devient également utilisable par toute autre personne avec un nouveau compte. {% endif %}
|
||||
|
||||
If you're the only owner of an organization, you must transfer ownership to another person or delete the organization before you can delete your personal account. If there are other owners in the organization, you must remove yourself from the organization before you can delete your personal account.
|
||||
Si vous êtes le seul propriétaire d’une organisation, vous devez transférer la propriété à une autre personne ou supprimer l’organisation avant de pouvoir supprimer votre compte personnel. S’il existe d’autres propriétaires dans l’organisation, vous devez vous supprimer de l’organisation avant de pouvoir supprimer votre compte personnel.
|
||||
|
||||
For more information, see the following articles.
|
||||
Pour plus d'informations, consultez les articles suivants.
|
||||
|
||||
- "[Transferring organization ownership](/articles/transferring-organization-ownership)"
|
||||
- "[Deleting an organization account](/articles/deleting-an-organization-account)"
|
||||
- "[Removing yourself from an organization](/articles/removing-yourself-from-an-organization/)"
|
||||
- « [Transfert de propriété d’une organisation](/articles/transferring-organization-ownership) »
|
||||
- « [Suppression d’un compte d’organisation](/articles/deleting-an-organization-account) »
|
||||
- « [Vous supprimer vous-même d’une organisation](/articles/removing-yourself-from-an-organization/) »
|
||||
|
||||
## Back up your account data
|
||||
## Sauvegarder les données de votre compte
|
||||
|
||||
Before you delete your personal account, make a copy of all repositories, private forks, wikis, issues, and pull requests owned by your account. For more information, see "[Backing up a repository](/repositories/archiving-a-github-repository/backing-up-a-repository)."
|
||||
Avant de supprimer votre compte personnel, effectuez une copie de tous les référentiels, duplications privées, wikis, problèmes et demandes de tirage appartenant à votre compte. Pour plus d’informations, consultez « [Sauvegarde d’un dépôt](/repositories/archiving-a-github-repository/backing-up-a-repository) ».
|
||||
|
||||
{% warning %}
|
||||
|
||||
**Warning:** Once your personal account has been deleted, {% ifversion fpt or ghec %}{% data variables.product.company_short %}{% elsif ghes or ghae %}an enterprise owner{% endif %} cannot restore your content.
|
||||
**Avertissement** : Une fois votre compte personnel supprimé, {% ifversion fpt or ghec %}{% data variables.product.company_short %}{% elsif ghes or ghae %}un propriétaire d’entreprise{% endif %} ne pourra pas restaurer votre contenu.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
## Delete your personal account
|
||||
## Supprimer votre compte personnel
|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
{% data reusables.user-settings.account_settings %}
|
||||
3. At the bottom of the Account Settings page, under "Delete account", click **Delete your account**. Before you can delete your personal account:
|
||||
- If you're the only owner in the organization, you must transfer ownership to another person or delete your organization.
|
||||
- If there are other organization owners in the organization, you must remove yourself from the organization.
|
||||

|
||||
4. In the "Make sure you want to do this" dialog box, complete the steps to confirm you understand what happens when your account is deleted:
|
||||

|
||||
{% ifversion fpt or ghec %}- Recall that all repositories, forks of private repositories, wikis, issues, pull requests and {% data variables.product.prodname_pages %} sites owned by your account will be deleted and your billing will end immediately, and your username will be available to anyone for use on {% data variables.product.product_name %} after 90 days.
|
||||
{% else %}- Recall that all repositories, forks of private repositories, wikis, issues, pull requests and pages owned by your account will be deleted, and your username will be available for use on {% data variables.product.product_name %}.
|
||||
{% endif %}- In the first field, type your {% data variables.product.product_name %} username or email.
|
||||
- In the second field, type the phrase from the prompt.
|
||||
{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.account_settings %}
|
||||
3. En bas de la page Paramètres du compte, sous « Supprimer le compte », cliquez sur **Supprimer votre compte**. Avant de pouvoir supprimer votre compte personnel :
|
||||
- Si vous êtes le seul propriétaire de l’organisation, vous devez transférer la propriété à une autre personne ou supprimer votre organisation.
|
||||
- S’il existe d’autres propriétaires d’organisation dans l’organisation, vous devez vous supprimer de l’organisation.
|
||||

|
||||
4. Dans la boîte de dialogue « Vérifiez que vous êtes certain de vouloir faire cela », effectuez les étapes pour confirmer que vous comprenez ce qui se produit lorsque votre compte est supprimé : {% ifversion fpt or ghec %}- Rappelez-vous que tous les dépôts, duplications de dépôts privés, wikis, problèmes, demandes de tirage et sites {% data variables.product.prodname_pages %} appartenant à votre compte seront supprimés, que votre facturation cessera immédiatement, et que votre nom d’utilisateur pourra être utilisé par n’importe qui sur {% data variables.product.product_name %} après 90 jours.
|
||||
{% else %}- Rappelez-vous que tous les dépôts, duplications de dépôts privés, wikis, problèmes, demandes de tirage et pages appartenant à votre compte seront supprimés, et que votre nom d’utilisateur pourra être utilisé sur {% data variables.product.product_name %} après 90 jours.
|
||||
{% endif %}- Dans le premier champ, tapez votre nom d’utilisateur ou e-mail {% data variables.product.product_name %}.
|
||||
- Dans le deuxième champ, tapez l’expression de l’invite.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Managing your personal account
|
||||
intro: 'You can manage your personal account on {% ifversion fpt or ghec or ghes %}{% data variables.location.product_location %}{% elsif ghae %}{% data variables.product.product_name %}{% endif %}. For example, you can {% ifversion fpt or ghec %}manage multiple accounts, {% endif %}convert an account to an organization{% ifversion fpt or ghec or ghes %}, or delete an account{% endif %}.'
|
||||
title: Gestion de votre compte personnel
|
||||
intro: 'Vous pouvez gérer votre compte personnel dans {% ifversion fpt or ghec or ghes %}{% data variables.product.product_location %}{% elsif ghae %}{% data variables.product.product_name %}{% endif %}. Par exemple, vous pouvez {% ifversion fpt or ghec %}gérer plusieurs comptes, {% endif %}convertir un compte en organisation{% ifversion fpt or ghec or ghes %}ou supprimer un compte{% endif %}.'
|
||||
shortTitle: Manage personal account
|
||||
versions:
|
||||
fpt: '*'
|
||||
@@ -15,5 +15,11 @@ children:
|
||||
- /converting-a-user-into-an-organization
|
||||
- /best-practices-for-leaving-your-company
|
||||
- /deleting-your-personal-account
|
||||
ms.openlocfilehash: eee070c194b3d3da7a6380422c506e5e0df9b63f
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147687180'
|
||||
---
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Managing multiple accounts
|
||||
intro: 'If you use one workstation to contribute to projects for more than one account on {% data variables.location.product_location %}, you can modify your Git configuration to simplify the contribution process.'
|
||||
title: Gestion de plusieurs comptes
|
||||
intro: "Si vous utilisez une station de travail afin de contribuer à des projets pour plusieurs comptes sur {% data variables.product.product_location %}, vous pouvez modifier votre configuration\_Git afin de simplifier le processus de contribution."
|
||||
versions:
|
||||
feature: multiple-accounts-one-workstation
|
||||
topics:
|
||||
@@ -8,97 +8,84 @@ topics:
|
||||
- Git
|
||||
- GitHub
|
||||
shortTitle: Manage multiple accounts
|
||||
ms.openlocfilehash: 3d1c31cb645d9f592121e955e07e8bf9ee473a82
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147687169'
|
||||
---
|
||||
## À propos de la gestion de plusieurs comptes
|
||||
|
||||
## About management of multiple accounts
|
||||
Dans certains cas, vous pouvez être amené à utiliser plusieurs comptes sur {% data variables.product.product_location %}. Par exemple, vous pouvez disposer d’un compte personnel pour les contributions open source, et d’un compte d’entreprise créé et géré par votre employeur.
|
||||
|
||||
In some cases, you may need to use multiple accounts on {% data variables.location.product_location %}. For example, you may have a personal account for open source contributions, and your employer may also create and manage a user account for you within an enterprise.
|
||||
Vous ne pouvez pas utiliser votre {% data variables.product.prodname_managed_user %} pour contribuer à des projets publics sur {% data variables.product.product_location %}. Vous devez donc contribuer à ces ressources à l’aide de votre compte personnel. Pour plus d’informations, consultez « [À propos d’{% data variables.product.prodname_emus %}]({% ifversion fpt %}/enterprise-cloud@latest{% endif %}/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users#abilities-and-restrictions-of-managed-user-accounts){% ifversion fpt %} » dans la documentation {% data variables.product.prodname_ghe_cloud %}.{% elsif ghec %}.{% endif %}
|
||||
|
||||
You cannot use your {% data variables.enterprise.prodname_managed_user %} to contribute to public projects on {% data variables.location.product_location %}, so you must contribute to those resources using your personal account. For more information, see "[About {% data variables.product.prodname_emus %}]({% ifversion fpt %}/enterprise-cloud@latest{% endif %}/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users#abilities-and-restrictions-of-managed-user-accounts){% ifversion fpt %}" in the {% data variables.product.prodname_ghe_cloud %} documentation.{% elsif ghec %}."{% endif %}
|
||||
|
||||
If you want to use one workstation to contribute from both accounts, you can simplify contribution with Git by using a mixture of protocols to access repository data, or by using credentials on a per-repository basis.
|
||||
Si vous souhaitez utiliser une station de travail pour apporter des contributions en utilisant les deux comptes, vous pouvez simplifier la contribution avec Git en utilisant un mélange de protocoles pour accéder aux données des dépôts, ou en utilisant des informations d’identification pour chaque dépôt.
|
||||
|
||||
{% warning %}
|
||||
|
||||
**Warning**: Be mindful when you use one workstation to contribute to two separate accounts. Management of two or more accounts can increase the chance of mistakenly leaking internal code to the public.
|
||||
**Avertissement** : Vous devez utiliser une station de travail pour apporter des contributions en utilisant deux comptes distincts. La gestion de plusieurs comptes peut augmenter le risque de fuite de code interne.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
If you aren't required to use a {% data variables.enterprise.prodname_managed_user %}, {% data variables.product.company_short %} recommends that you use one personal account for all your work on {% data variables.location.product_location %}. With a single personal account, you can contribute to a combination of personal, open source, or professional projects using one identity. Other people can invite the account to contribute to both individual repositories and repositories owned by an organization, and the account can be a member of multiple organizations or enterprises.
|
||||
Si vous n’êtes pas obligé d’utiliser un {% data variables.product.prodname_managed_user %}, {% data variables.product.company_short %} recommande d’utiliser un compte personnel pour tous vos travaux sur {% data variables.product.product_location %}. Avec un compte personnel, vous pouvez contribuer à une combinaison de projets personnels, open source et professionnels à l’aide d’une même identité. D’autres personnes peuvent inviter le compte à contribuer à des dépôts d’utilisateur ou à des dépôts appartenant à une organisation. En outre, le compte peut être membre de plusieurs organisations ou entreprises.
|
||||
|
||||
## Contributing to two accounts using HTTPS and SSH
|
||||
## Contribution à l’aide de deux comptes à l’aide des protocoles HTTPS et SSH
|
||||
|
||||
If you contribute with two accounts from one workstation, you can access repositories by using a different protocol and credentials for each account.
|
||||
Si vous contribuez avec deux comptes à partir d’une station de travail, vous pouvez accéder aux dépôts en utilisant des informations d’identification et un protocole différents pour chaque compte.
|
||||
|
||||
Git can use either the HTTPS or SSH protocol to access and update data in repositories on {% data variables.location.product_location %}. The protocol you use to clone a repository determines which credentials your workstation will use to authenticate when you access the repository. With this approach to account management, you store the credentials for one account to use for HTTPS connections and upload an SSH key to the other account to use for SSH connections.
|
||||
Git peut utiliser le protocole HTTPS ou SSH pour accéder aux données et les mettre à jour dans les dépôts sur {% data variables.product.product_location %}. Le protocole que vous utilisez pour cloner un dépôt détermine les informations d’identification que votre station de travail utilisera pour s’authentifier lorsque vous accéderez au dépôt. Avec cette approche de gestion des comptes, vous stockez les informations d’identification d’un compte à utiliser pour les connexions HTTPS, et vous chargez une clé SSH dans l’autre compte à utiliser pour les connexions SSH.
|
||||
|
||||
You can find both the HTTPS or an SSH URLs for cloning a repository on {% data variables.product.product_name %}. For more information, see "[Cloning a repository](/repositories/creating-and-managing-repositories/cloning-a-repository)."
|
||||
Vous trouverez les URL HTTPS et SSH pour le clonage d’un dépôt sur {% data variables.product.product_name %}. Pour plus d’informations, consultez « [Clonage d’un dépôt](/repositories/creating-and-managing-repositories/cloning-a-repository) ».
|
||||
|
||||
For more information about the use of SSH to access repositories on {% data variables.product.product_name %}, see "[Connecting to {% data variables.product.prodname_dotcom %} with SSH](/authentication/connecting-to-github-with-ssh)."
|
||||
Pour plus d’informations sur l’utilisation du SSH pour accéder aux dépôts sur {% data variables.product.product_name %}, consultez « [Connexion à {% data variables.product.prodname_dotcom %} avec SSH](/authentication/connecting-to-github-with-ssh) ».
|
||||
|
||||
## Contributing to multiple accounts using HTTPS and {% data variables.product.pat_generic %}s
|
||||
## Contribution à plusieurs comptes à l’aide du protocole HTTPS et de jetons d’accès personnel
|
||||
|
||||
Alternatively, if you want to use the HTTPS protocol for both accounts, you can use different {% data variables.product.pat_generic %}s for each account by configuring Git to store different credentials for each repository.
|
||||
Si vous souhaitez utiliser le protocole HTTPS pour les deux comptes, vous pouvez utiliser différents jetons d’accès personnels (PAT) pour chaque compte en configurant Git de manière à stocker des informations d’identification différentes pour chaque dépôt.
|
||||
|
||||
{% mac %}
|
||||
|
||||
{% data reusables.git.open-terminal %}
|
||||
{% data reusables.git.confirm-credential-manager %}
|
||||
{% data reusables.git.clear-the-stored-credentials %}
|
||||
{% data reusables.git.no-credential-manager %}
|
||||
- If the output is `osxkeychain`, you're using the macOS keychain. To clear the credentials, enter the following command.
|
||||
{% data reusables.git.open-terminal %} {% data reusables.git.confirm-credential-manager %} {% data reusables.git.clear-the-stored-credentials %} {% data reusables.git.no-credential-manager %}
|
||||
- Si la sortie est `osxkeychain`, vous utilisez un trousseau macOS. Pour effacer les informations d’identification, entrez la commande suivante.
|
||||
|
||||
```shell{:copy}
|
||||
git credential-osxkeychain erase https://github.com
|
||||
```
|
||||
{% data reusables.git.clear-stored-gcm-credentials %}
|
||||
{% data reusables.git.cache-on-repository-path %}
|
||||
{% data reusables.accounts.create-personal-access-tokens %}
|
||||
{% data reusables.git.provide-credentials %}
|
||||
{% data reusables.git.clear-stored-gcm-credentials %} {% data reusables.git.cache-on-repository-path %} {% data reusables.accounts.create-personal-access-tokens %} {% data reusables.git.provide-credentials %}
|
||||
|
||||
{% endmac %}
|
||||
|
||||
{% windows %}
|
||||
|
||||
1. Open Git Bash.
|
||||
{% data reusables.git.confirm-credential-manager %}
|
||||
{% data reusables.git.clear-the-stored-credentials %}
|
||||
{% data reusables.git.no-credential-manager %}
|
||||
{% data reusables.git.clear-stored-gcm-credentials %}
|
||||
- If the output is `wincred`, you're using the Windows Credential Manager. To clear the credentials, enter the following command.
|
||||
1. Ouvrez l’interpréteur de commandes Git.
|
||||
{% data reusables.git.confirm-credential-manager %} {% data reusables.git.clear-the-stored-credentials %} {% data reusables.git.no-credential-manager %} {% data reusables.git.clear-stored-gcm-credentials %}
|
||||
- Si la sortie est `wincred`, vous utilisez le Gestionnaire d’informations d’identification Windows. Pour effacer les informations d’identification, entrez la commande suivante.
|
||||
|
||||
```shell{:copy}
|
||||
cmdkey /delete:LegacyGeneric:target=git:https://github.com
|
||||
```
|
||||
{% data reusables.git.cache-on-repository-path %}
|
||||
{% data reusables.accounts.create-personal-access-tokens %}
|
||||
{% data reusables.git.provide-credentials %}
|
||||
{% data reusables.git.cache-on-repository-path %} {% data reusables.accounts.create-personal-access-tokens %} {% data reusables.git.provide-credentials %}
|
||||
|
||||
{% endwindows %}
|
||||
|
||||
{% linux %}
|
||||
|
||||
{% data reusables.git.open-terminal %}
|
||||
{% data reusables.git.confirm-credential-manager %}
|
||||
{% data reusables.git.clear-the-stored-credentials %}
|
||||
{% data reusables.git.no-credential-manager %}
|
||||
{% data reusables.git.clear-stored-gcm-credentials %}
|
||||
{% data reusables.git.cache-on-repository-path %}
|
||||
{% data reusables.accounts.create-personal-access-tokens %}
|
||||
{% data reusables.git.provide-credentials %}
|
||||
{% data reusables.git.open-terminal %} {% data reusables.git.confirm-credential-manager %} {% data reusables.git.clear-the-stored-credentials %} {% data reusables.git.no-credential-manager %} {% data reusables.git.clear-stored-gcm-credentials %} {% data reusables.git.cache-on-repository-path %} {% data reusables.accounts.create-personal-access-tokens %} {% data reusables.git.provide-credentials %}
|
||||
|
||||
{% endlinux %}
|
||||
|
||||
## Contributing to multiple accounts using SSH and `GIT_SSH_COMMAND`
|
||||
## Contribution à plusieurs comptes à l’aide du protocole SSH et de `GIT_SSH_COMMAND`
|
||||
|
||||
If you want to use the SSH protocol for both accounts, you can use different SSH keys for each account. For more information about using SSH, see "[Connecting to {% data variables.product.prodname_dotcom %} with SSH](/authentication/connecting-to-github-with-ssh)."
|
||||
Si vous souhaitez utiliser le protocole SSH pour les deux comptes, vous pouvez utiliser différentes clés SSH pour chaque compte. Pour plus d’informations sur l’utilisation du protocole SSH, consultez « [Connexion à {% data variables.product.prodname_dotcom %} avec SSH](/authentication/connecting-to-github-with-ssh) ».
|
||||
|
||||
To use a different SSH key for different repositories that you clone to your workstation, you must write a shell wrapper function for Git operations. The function should perform the following steps.
|
||||
1. Determine the repository's full name with owner, using a command such as `git config --get remote.origin.url`.
|
||||
2. Choose the correct SSH key for authentication.
|
||||
3. Modify `GIT_SSH_COMMAND` accordingly. For more information about `GIT_SSH_COMMAND`, see [Environment Variables](https://git-scm.com/docs/git#Documentation/git.txt-codeGITSSHCOMMANDcode) in the Git documentation.
|
||||
Si vous souhaitez utiliser une clé SSH différente pour chaque dépôt que vous clonez sur votre station de travail, vous devez écrire une fonction wrapper shell pour les opérations Git. La fonction doit exécuter les étapes suivantes.
|
||||
1. Déterminez le nom complet du dépôt avec son propriétaire, à l’aide d’une commande comme `git config --get remote.origin.url`.
|
||||
2. Choisissez la clé SSH appropriée pour l’authentification.
|
||||
3. Modifiez `GIT_SSH_COMMAND` en conséquence. Pour plus d’informations sur `GIT_SSH_COMMAND`, consultez « [Variables d’environnement](https://git-scm.com/docs/git#Documentation/git.txt-codeGITSSHCOMMANDcode) » dans la documentation Git.
|
||||
|
||||
For example, the following command sets the `GIT_SSH_COMMAND` environment variable to specify an SSH command that uses the private key file at **_PATH/TO/KEY/FILE_** for authentication to clone the repository named **_OWNER_**/**_REPOSITORY_** on {% data variables.location.product_location %}.
|
||||
Par exemple, la commande suivante définit la variable d’environnement `GIT_SSH_COMMAND` pour spécifier une commande SSH qui utilise le fichier de clé privée situé dans **_PATH/TO/KEY/FILE_** pour l’authentification afin de cloner le dépôt nommé **_OWNER_**/**_REPOSITORY_** sur {% data variables.product.product_location %}.
|
||||
|
||||
<pre>
|
||||
GIT_SSH_COMMAND='ssh -i <em>PATH/TO/KEY/FILE</em> -o IdentitiesOnly=yes' git clone git@github.com:<em>OWNER</em>/<em>REPOSITORY</em>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: About continuous integration
|
||||
intro: 'You can create custom continuous integration (CI) workflows directly in your {% data variables.product.prodname_dotcom %} repository with {% data variables.product.prodname_actions %}.'
|
||||
title: À propos de l’intégration continue
|
||||
intro: 'Vous pouvez créer des flux d’intégration continue (CI) personnalisés directement dans votre référentiel {% data variables.product.prodname_dotcom %} avec {% data variables.product.prodname_actions %}.'
|
||||
redirect_from:
|
||||
- /articles/about-continuous-integration
|
||||
- /github/automating-your-workflow-with-github-actions/about-continuous-integration
|
||||
@@ -16,45 +16,48 @@ type: overview
|
||||
topics:
|
||||
- CI
|
||||
shortTitle: Continuous integration
|
||||
ms.openlocfilehash: 26b9088133ad561900d06a0c885d6b06b9b55861
|
||||
ms.sourcegitcommit: fcf3546b7cc208155fb8acdf68b81be28afc3d2d
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/10/2022
|
||||
ms.locfileid: '147880660'
|
||||
---
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
## À propos de l’intégration continue
|
||||
|
||||
## About continuous integration
|
||||
L’intégration continue (CI) est une pratique logicielle qui nécessite un committing fréquent du code dans un dépôt partagé. La plupart du temps, le fait de commiter le code permet de détecter plus rapidement les erreurs, et réduit la quantité de code dont un développeur a besoin pour le débogage lorsqu’il recherche la source d’une erreur. Les mises à jour fréquentes du code facilitent également la fusion des modifications apportées par différents membres d’une équipe de développement logiciel. Ceci est idéal pour les développeurs, qui peuvent alors passer plus de temps à écrire du code et moins de temps à déboguer des erreurs ou à résoudre les conflits de fusion.
|
||||
|
||||
Continuous integration (CI) is a software practice that requires frequently committing code to a shared repository. Committing code more often detects errors sooner and reduces the amount of code a developer needs to debug when finding the source of an error. Frequent code updates also make it easier to merge changes from different members of a software development team. This is great for developers, who can spend more time writing code and less time debugging errors or resolving merge conflicts.
|
||||
Lorsque vous commitez du code dans votre dépôt, vous pouvez générer et tester le code en continu pour être sûr que le commit ne provoque pas d’erreurs. Vos tests peuvent inclure des linters de code (qui vérifient la mise en forme du style), des vérifications de sécurité, la couverture du code, des tests fonctionnels et d’autres vérifications personnalisées.
|
||||
|
||||
When you commit code to your repository, you can continuously build and test the code to make sure that the commit doesn't introduce errors. Your tests can include code linters (which check style formatting), security checks, code coverage, functional tests, and other custom checks.
|
||||
La génération et le test de votre code nécessitent un serveur. Vous pouvez générer et tester des mises à jour localement avant de pousser (push) du code vers un dépôt, ou vous pouvez utiliser un serveur d’intégration continue qui recherche les nouveaux commits de code dans un dépôt.
|
||||
|
||||
Building and testing your code requires a server. You can build and test updates locally before pushing code to a repository, or you can use a CI server that checks for new code commits in a repository.
|
||||
## À propos de l’intégration continue avec {% data variables.product.prodname_actions %}
|
||||
|
||||
## About continuous integration using {% data variables.product.prodname_actions %}
|
||||
|
||||
{% ifversion ghae %}CI using {% data variables.product.prodname_actions %} offers workflows that can build the code in your repository and run your tests. Workflows can run on runner systems that you host. For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners)."
|
||||
{% else %} CI using {% data variables.product.prodname_actions %} offers workflows that can build the code in your repository and run your tests. Workflows can run on {% data variables.product.prodname_dotcom %}-hosted virtual machines, or on machines that you host yourself. For more information, see "[About {% data variables.product.prodname_dotcom %}-hosted runners](/actions/using-github-hosted-runners/about-github-hosted-runners)" and "[About self-hosted runners](/actions/automating-your-workflow-with-github-actions/about-self-hosted-runners)."
|
||||
{% ifversion ghae %}L’intégration continue avec {% data variables.product.prodname_actions %} offre des workflows qui peuvent générer du code dans votre dépôt et exécuter vos tests. Les workflows peuvent s’exécuter sur les exécuteurs que vous hébergez. Pour plus d’informations, consultez « [About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners) ».
|
||||
{% else %}L’intégration continue avec {% data variables.product.prodname_actions %} offre des workflows qui peuvent générer du code dans votre dépôt et exécuter vos tests. Les workflows peuvent s’exécuter sur des machines virtuelles hébergées dans {% data variables.product.prodname_dotcom %}, ou sur des machines que vous hébergez vous-même. Pour plus d’informations, consultez « [À propos des exécuteurs hébergés par {% data variables.product.prodname_dotcom %}](/actions/using-github-hosted-runners/about-github-hosted-runners) » et « [À propos des exécuteurs auto-hébergés](/actions/automating-your-workflow-with-github-actions/about-self-hosted-runners) ».
|
||||
{% endif %}
|
||||
|
||||
You can configure your CI workflow to run when a {% data variables.product.prodname_dotcom %} event occurs (for example, when new code is pushed to your repository), on a set schedule, or when an external event occurs using the repository dispatch webhook.
|
||||
Vous pouvez configurer votre workflow d’intégration continue pour qu’il s’exécute lorsqu’un événement {% data variables.product.prodname_dotcom %} se produit (par exemple, lorsque le nouveau code est poussé vers votre dépôt), lorsqu’un événement externe se produit si vous utilisez le webhook de dispatch du dépôt, ou selon une planification définie.
|
||||
|
||||
{% data variables.product.product_name %} runs your CI tests and provides the results of each test in the pull request, so you can see whether the change in your branch introduces an error. When all CI tests in a workflow pass, the changes you pushed are ready to be reviewed by a team member or merged. When a test fails, one of your changes may have caused the failure.
|
||||
{% data variables.product.product_name %} exécute vos tests d’intégration continue et fournit les résultats de chaque test dans la demande de tirage (pull request). Vous pouvez donc voir si la modification de votre branche provoque une erreur. Lorsque tous les tests d’intégration continue d’un workflow réussissent, les modifications que vous avez poussées sont prêtes à être examinées ou fusionnées par un membre de l’équipe. Lorsqu’un test échoue, cela peut signifier que l’une de vos modifications a provoqué l’échec.
|
||||
|
||||
When you set up CI in your repository, {% data variables.product.product_name %} analyzes the code in your repository and recommends CI workflows based on the language and framework in your repository. For example, if you use [Node.js](https://nodejs.org/en/), {% data variables.product.product_name %} will suggest a starter workflow that installs your Node.js packages and runs your tests. You can use the CI starter workflow suggested by {% data variables.product.product_name %}, customize the suggested starter workflow, or create your own custom workflow file to run your CI tests.
|
||||
Lorsque vous configurez l’intégration continue dans votre dépôt, {% data variables.product.product_name %} analyse le code de votre dépôt et recommande des workflows d’intégration continue basés sur le langage et le framework de votre dépôt. Par exemple, si vous utilisez [Node.js](https://nodejs.org/en/), {% data variables.product.product_name %} suggère un workflow de démarrage qui installe vos packages Node.js et exécute vos tests. Vous pouvez utiliser le workflow de démarrage d’intégration continue suggéré par {% data variables.product.product_name %}, personnaliser le workflow de démarrage suggéré ou créer votre propre fichier de workflow personnalisé pour exécuter vos tests d’intégration continue.
|
||||
|
||||

|
||||

|
||||
|
||||
In addition to helping you set up CI workflows for your project, you can use {% data variables.product.prodname_actions %} to create workflows across the full software development life cycle. For example, you can use actions to deploy, package, or release your project. For more information, see "[About {% data variables.product.prodname_actions %}](/articles/about-github-actions)."
|
||||
En plus de vous aider à configurer des workflows d’intégration continue pour votre projet, {% data variables.product.prodname_actions %} vous permet de créer des workflows dans le cycle de vie complet de développement logiciel. Par exemple, vous pouvez utiliser des actions pour déployer, empaqueter ou publier votre projet. Pour plus d’informations, consultez « [À propos de {% data variables.product.prodname_actions %}](/articles/about-github-actions) ».
|
||||
|
||||
For a definition of common terms, see "[Core concepts for {% data variables.product.prodname_actions %}](/github/automating-your-workflow-with-github-actions/core-concepts-for-github-actions)."
|
||||
Pour obtenir la définition des termes courants, consultez « [Concepts fondamentaux concernant {% data variables.product.prodname_actions %}](/github/automating-your-workflow-with-github-actions/core-concepts-for-github-actions) ».
|
||||
|
||||
## Starter workflow
|
||||
## Workflow de démarrage
|
||||
|
||||
{% data variables.product.product_name %} offers CI starter workflow for a variety of languages and frameworks.
|
||||
{% data variables.product.product_name %} propose des workflows de démarrage d’intégration continue pour divers langages et frameworks.
|
||||
|
||||
Browse the complete list of CI starter workflow offered by {% data variables.product.company_short %} in the {% ifversion fpt or ghec %}[actions/starter-workflows](https://github.com/actions/starter-workflows/tree/main/ci) repository{% else %} `actions/starter-workflows` repository on {% data variables.location.product_location %}{% endif %}.
|
||||
Parcourez la liste complète des workflows de démarrage d’intégration continue proposés par {% data variables.product.company_short %} dans le dépôt {% ifversion fpt or ghec %}[actions/starter-workflows](https://github.com/actions/starter-workflows/tree/main/ci) repository{% else %} `actions/starter-workflows` présent dans l’{% data variables.product.product_location %}{% endif %}.
|
||||
|
||||
## Further reading
|
||||
## Pour aller plus loin
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
- "[Managing billing for {% data variables.product.prodname_actions %}](/billing/managing-billing-for-github-actions)"
|
||||
{% endif %}
|
||||
- « [Gestion de la facturation pour {% data variables.product.prodname_actions %}](/billing/managing-billing-for-github-actions) » {% endif %}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
---
|
||||
title: Génération et test de Node.js ou Python
|
||||
shortTitle: Build & test Node.js or Python
|
||||
intro: You can create a continuous integration (CI) workflow to build and test your project. Use the language selector to show examples for your language of choice.
|
||||
redirect_from:
|
||||
- /actions/guides/building-and-testing-nodejs-or-python
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
type: tutorial
|
||||
topics:
|
||||
- CI
|
||||
ms.openlocfilehash: aa03416907eb05ac6c31081d51dcb50980a3501f
|
||||
ms.sourcegitcommit: 67064b14c9d4d18819db8f6398358b77a1c8002a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 05/17/2022
|
||||
ms.locfileid: "145086738"
|
||||
---
|
||||
<!-- This article is specially rendered via the pages/ directory -->
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
title: Creating a Docker container action
|
||||
shortTitle: Create a Docker container action
|
||||
intro: 'This guide shows you the minimal steps required to build a Docker container action. '
|
||||
intro: 'Ce guide vous montre les étapes minimales nécessaires pour générer une action de conteneur Docker. '
|
||||
redirect_from:
|
||||
- /articles/creating-a-docker-container-action
|
||||
- /github/automating-your-workflow-with-github-actions/creating-a-docker-container-action
|
||||
@@ -16,47 +15,50 @@ type: tutorial
|
||||
topics:
|
||||
- Action development
|
||||
- Docker
|
||||
shortTitle: Docker container action
|
||||
ms.openlocfilehash: f22b361f25f406dfdb1233f4d9ce62f2b6b919dc
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147518783'
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Introduction
|
||||
|
||||
In this guide, you'll learn about the basic components needed to create and use a packaged Docker container action. To focus this guide on the components needed to package the action, the functionality of the action's code is minimal. The action prints "Hello World" in the logs or "Hello [who-to-greet]" if you provide a custom name.
|
||||
Dans ce guide, vous allez découvrir les composants de base qui sont nécessaires pour créer et utiliser une action de conteneur Docker empaquetée. Afin de nous concentrer sur les composants nécessaires à l’empaquetage de l’action, nous avons réduit la fonctionnalité du code de l’action à son strict minimum. L’action affiche « Hello World » dans les journaux ou « Hello [who-to-greet] » si vous fournissez un nom personnalisé.
|
||||
|
||||
Once you complete this project, you should understand how to build your own Docker container action and test it in a workflow.
|
||||
Une fois que vous aurez terminé ce projet, vous saurez comment créer votre propre action de conteneur Docker et la tester dans un workflow.
|
||||
|
||||
{% data reusables.actions.self-hosted-runner-reqs-docker %}
|
||||
|
||||
{% data reusables.actions.context-injection-warning %}
|
||||
|
||||
## Prerequisites
|
||||
## Prérequis
|
||||
|
||||
You may find it helpful to have a basic understanding of {% data variables.product.prodname_actions %} environment variables and the Docker container filesystem:
|
||||
Une compréhension de base des variables d’environnement {% data variables.product.prodname_actions %} et du système de fichiers conteneur Docker pourra vous être utile :
|
||||
|
||||
- "[Using environment variables](/actions/automating-your-workflow-with-github-actions/using-environment-variables)"
|
||||
{% ifversion ghae %}
|
||||
- "[Docker container filesystem](/actions/using-github-hosted-runners/about-ae-hosted-runners#docker-container-filesystem)."
|
||||
{% else %}
|
||||
- "[About {% data variables.product.prodname_dotcom %}-hosted runners](/actions/using-github-hosted-runners/about-github-hosted-runners#docker-container-filesystem)"
|
||||
{% endif %}
|
||||
- « [Utilisation des variables d’environnement](/actions/automating-your-workflow-with-github-actions/using-environment-variables) » {% ifversion ghae %}
|
||||
- « [Système de fichiers conteneur Docker](/actions/using-github-hosted-runners/about-ae-hosted-runners#docker-container-filesystem) ».
|
||||
{% else %}
|
||||
- « [À propos des exécuteurs hébergés par {% data variables.product.prodname_dotcom %}](/actions/using-github-hosted-runners/about-github-hosted-runners#docker-container-filesystem) » {% endif %}
|
||||
|
||||
Before you begin, you'll need to create a {% data variables.product.prodname_dotcom %} repository.
|
||||
Avant de commencer, vous devez créer un dépôt {% data variables.product.prodname_dotcom %}.
|
||||
|
||||
1. Create a new repository on {% data variables.location.product_location %}. You can choose any repository name or use "hello-world-docker-action" like this example. For more information, see "[Create a new repository](/articles/creating-a-new-repository)."
|
||||
1. Créez un dépôt dans {% data variables.product.product_location %}. Vous pouvez choisir n’importe quel nom de dépôt ou utiliser « hello-world-docker-action » comme dans cet exemple. Pour en savoir plus, consultez « [Créer un dépôt](/articles/creating-a-new-repository) ».
|
||||
|
||||
1. Clone your repository to your computer. For more information, see "[Cloning a repository](/articles/cloning-a-repository)."
|
||||
1. Clonez votre dépôt sur votre ordinateur. Pour plus d’informations, consultez « [Clonage d’un dépôt](/articles/cloning-a-repository) ».
|
||||
|
||||
1. From your terminal, change directories into your new repository.
|
||||
1. À partir de votre terminal, remplacez les répertoires par votre nouveau dépôt.
|
||||
|
||||
```shell{:copy}
|
||||
cd hello-world-docker-action
|
||||
```
|
||||
|
||||
## Creating a Dockerfile
|
||||
## Création d’un Dockerfile
|
||||
|
||||
In your new `hello-world-docker-action` directory, create a new `Dockerfile` file. Make sure that your filename is capitalized correctly (use a capital `D` but not a capital `f`) if you're having issues. For more information, see "[Dockerfile support for {% data variables.product.prodname_actions %}](/actions/creating-actions/dockerfile-support-for-github-actions)."
|
||||
Dans le nouveau répertoire `hello-world-docker-action`, créez un fichier `Dockerfile`. Vérifiez que le nom de votre fichier est bien en majuscules (utilisez un `D` majuscule et non un `f` majuscule) si vous rencontrez des problèmes. Pour plus d’informations, consultez « [Prise en charge de Dockerfile pour {% data variables.product.prodname_actions %}](/actions/creating-actions/dockerfile-support-for-github-actions) ».
|
||||
|
||||
**Dockerfile**
|
||||
```Dockerfile{:copy}
|
||||
@@ -70,12 +72,11 @@ COPY entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
```
|
||||
|
||||
## Creating an action metadata file
|
||||
## Création d’un fichier de métadonnées d’action
|
||||
|
||||
Create a new `action.yml` file in the `hello-world-docker-action` directory you created above. For more information, see "[Metadata syntax for {% data variables.product.prodname_actions %}](/actions/creating-actions/metadata-syntax-for-github-actions)."
|
||||
Créez un fichier `action.yml` dans le répertoire `hello-world-docker-action` que vous avez créé ci-dessus. Pour plus d’informations, consultez « [Syntaxe des métadonnées pour {% data variables.product.prodname_actions %} »](/actions/creating-actions/metadata-syntax-for-github-actions).
|
||||
|
||||
{% raw %}
|
||||
**action.yml**
|
||||
{% raw %} **action.yml**
|
||||
```yaml{:copy}
|
||||
# action.yml
|
||||
name: 'Hello World'
|
||||
@@ -96,19 +97,19 @@ runs:
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
This metadata defines one `who-to-greet` input and one `time` output parameter. To pass inputs to the Docker container, you should declare the input using `inputs` and pass the input in the `args` keyword. Everything you include in `args` is passed to the container, but for better discoverability for users of your action, we recommended using inputs.
|
||||
Ces métadonnées définissent une entrée `who-to-greet` et un paramètre de sortie `time`. Pour passer des entrées au conteneur Docker, vous devez déclarer les entrées à l’aide de `inputs` et les passer dans le mot clé `args`. Tout ce que vous incluez dans `args` est passé au conteneur. Toutefois, pour que les utilisateurs puissent mieux découvrir votre action, nous vous recommandons d’utiliser des entrées.
|
||||
|
||||
{% data variables.product.prodname_dotcom %} will build an image from your `Dockerfile`, and run commands in a new container using this image.
|
||||
{% data variables.product.prodname_dotcom %} crée une image à partir de votre `Dockerfile`et exécute les commandes dans un nouveau conteneur à l’aide de cette image.
|
||||
|
||||
## Writing the action code
|
||||
## Écriture du code d’action
|
||||
|
||||
You can choose any base Docker image and, therefore, any language for your action. The following shell script example uses the `who-to-greet` input variable to print "Hello [who-to-greet]" in the log file.
|
||||
Vous pouvez choisir n’importe quelle image Docker de base et, donc, n’importe quel langage pour votre action. L’exemple de script shell suivant utilise la variable d’entrée `who-to-greet` pour afficher « Hello [who-to-greet] » dans le fichier journal.
|
||||
|
||||
Next, the script gets the current time and sets it as an output variable that actions running later in a job can use. In order for {% data variables.product.prodname_dotcom %} to recognize output variables, you must {% ifversion actions-save-state-set-output-envs %}write them to the `$GITHUB_OUTPUT` environment file: `echo "<output name>=<value>" >> $GITHUB_OUTPUT`{% else %}use a workflow command in a specific syntax: `echo "::set-output name=<output name>::<value>"`{% endif %}. For more information, see "[Workflow commands for {% data variables.product.prodname_actions %}](/actions/reference/workflow-commands-for-github-actions#setting-an-output-parameter)."
|
||||
Ensuite, le script obtient l’heure actuelle et la définit comme une variable de sortie que pourront utiliser les prochaines actions d’un travail. Pour que {% data variables.product.prodname_dotcom %} reconnaisse les variables de sortie, vous devez utiliser une commande de workflow en utilisant une syntaxe spécifique : `echo "::set-output name=<output name>::<value>"`. Pour plus d’informations, consultez « [Syntaxe des commandes pour {% data variables.product.prodname_actions %}](/actions/reference/workflow-commands-for-github-actions#setting-an-output-parameter) ».
|
||||
|
||||
1. Create a new `entrypoint.sh` file in the `hello-world-docker-action` directory.
|
||||
1. Dans le répertoire `hello-world-docker-action`, créez un fichier `entrypoint.sh`.
|
||||
|
||||
1. Add the following code to your `entrypoint.sh` file.
|
||||
1. Ajoutez le code suivant à votre fichier `entrypoint.sh`.
|
||||
|
||||
**entrypoint.sh**
|
||||
```shell{:copy}
|
||||
@@ -116,41 +117,28 @@ Next, the script gets the current time and sets it as an output variable that ac
|
||||
|
||||
echo "Hello $1"
|
||||
time=$(date)
|
||||
{%- ifversion actions-save-state-set-output-envs %}
|
||||
echo "time=$time" >> $GITHUB_OUTPUT
|
||||
{%- else %}
|
||||
echo "::set-output name=time::$time"
|
||||
{%- endif %}
|
||||
```
|
||||
If `entrypoint.sh` executes without any errors, the action's status is set to `success`. You can also explicitly set exit codes in your action's code to provide an action's status. For more information, see "[Setting exit codes for actions](/actions/creating-actions/setting-exit-codes-for-actions)."
|
||||
Si `entrypoint.sh` s’exécute sans erreur, l’état de l’action est défini sur `success`. Pour indiquer l’état d’une action, vous pouvez définir explicitement des codes de sortie dans le code de l’action. Pour plus d’informations, consultez « [Définition de codes de sortie pour les actions](/actions/creating-actions/setting-exit-codes-for-actions) ».
|
||||
|
||||
|
||||
1. Make your `entrypoint.sh` file executable. Git provides a way to explicitly change the permission mode of a file so that it doesn’t get reset every time there is a clone/fork.
|
||||
1. Rendez votre fichier `entrypoint.sh` exécutable en exécutant la commande suivante sur votre système.
|
||||
|
||||
```shell{:copy}
|
||||
$ git update-index --chmod=+x entrypoint.sh
|
||||
$ chmod +x entrypoint.sh
|
||||
```
|
||||
|
||||
1. Optionally, to check the permission mode of the file in the git index, run the following command.
|
||||
## Création d’un fichier README
|
||||
|
||||
```shell{:copy}
|
||||
$ git ls-files --stage entrypoint.sh
|
||||
```
|
||||
Pour expliquer aux utilisateurs comment utiliser votre action, vous pouvez créer un fichier README. Un fichier README est très utile si vous prévoyez de partager votre action publiquement, mais c’est aussi un excellent moyen de vous rappeler comment utiliser l’action.
|
||||
|
||||
An output like `100755 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 0 entrypoint.sh` means the file has the executable permission. In this example, `755` denotes the executable permission.
|
||||
Dans votre répertoire `hello-world-docker-action`, créez un fichier `README.md` qui spécifie les informations suivantes :
|
||||
|
||||
## Creating a README
|
||||
|
||||
To let people know how to use your action, you can create a README file. A README is most helpful when you plan to share your action publicly, but is also a great way to remind you or your team how to use the action.
|
||||
|
||||
In your `hello-world-docker-action` directory, create a `README.md` file that specifies the following information:
|
||||
|
||||
- A detailed description of what the action does.
|
||||
- Required input and output arguments.
|
||||
- Optional input and output arguments.
|
||||
- Secrets the action uses.
|
||||
- Environment variables the action uses.
|
||||
- An example of how to use your action in a workflow.
|
||||
- Une description détaillée de ce que fait l’action.
|
||||
- Les arguments d’entrée et de sortie obligatoires.
|
||||
- Les arguments d’entrée et de sortie facultatifs.
|
||||
- Les secrets utilisés par l’action.
|
||||
- Les variables d’environnement utilisées par l’action.
|
||||
- Un exemple d’utilisation de votre action dans un workflow.
|
||||
|
||||
**README.md**
|
||||
```markdown{:copy}
|
||||
@@ -172,16 +160,16 @@ The time we greeted you.
|
||||
|
||||
## Example usage
|
||||
|
||||
uses: actions/hello-world-docker-action@{% ifversion actions-save-state-set-output-envs %}v2{% else %}v1{% endif %}
|
||||
uses: actions/hello-world-docker-action@v1
|
||||
with:
|
||||
who-to-greet: 'Mona the Octocat'
|
||||
```
|
||||
|
||||
## Commit, tag, and push your action to {% data variables.product.product_name %}
|
||||
## Commiter, étiqueter et pousser votre action vers {% data variables.product.product_name %}
|
||||
|
||||
From your terminal, commit your `action.yml`, `entrypoint.sh`, `Dockerfile`, and `README.md` files.
|
||||
À partir de votre terminal, commitez vos fichiers `action.yml`, `entrypoint.sh`, `Dockerfile` et `README.md`.
|
||||
|
||||
It's best practice to also add a version tag for releases of your action. For more information on versioning your action, see "[About actions](/actions/automating-your-workflow-with-github-actions/about-actions#using-release-management-for-actions)."
|
||||
Il est recommandé d’ajouter également une étiquette de version pour les versions de votre action. Pour plus d’informations sur le versioning de votre action, consultez « [À propos des actions](/actions/automating-your-workflow-with-github-actions/about-actions#using-release-management-for-actions) ».
|
||||
|
||||
```shell{:copy}
|
||||
git add action.yml entrypoint.sh Dockerfile README.md
|
||||
@@ -190,17 +178,17 @@ git tag -a -m "My first action release" v1
|
||||
git push --follow-tags
|
||||
```
|
||||
|
||||
## Testing out your action in a workflow
|
||||
## Tester votre action dans un workflow
|
||||
|
||||
Now you're ready to test your action out in a workflow. When an action is in a private repository, the action can only be used in workflows in the same repository. Public actions can be used by workflows in any repository.
|
||||
Vous êtes maintenant prêt à tester votre action dans un workflow. Quand une action se trouve dans un dépôt privé, elle peut être utilisée seulement dans des workflows du même dépôt. Les actions publiques peuvent être utilisées par les workflows dans n’importe quel dépôt.
|
||||
|
||||
{% data reusables.actions.enterprise-marketplace-actions %}
|
||||
|
||||
### Example using a public action
|
||||
### Exemple utilisant une action publique
|
||||
|
||||
The following workflow code uses the completed _hello world_ action in the public [`actions/hello-world-docker-action`](https://github.com/actions/hello-world-docker-action) repository. Copy the following workflow example code into a `.github/workflows/main.yml` file, but replace the `actions/hello-world-docker-action` with your repository and action name. You can also replace the `who-to-greet` input with your name. {% ifversion fpt or ghec %}Public actions can be used even if they're not published to {% data variables.product.prodname_marketplace %}. For more information, see "[Publishing an action](/actions/creating-actions/publishing-actions-in-github-marketplace#publishing-an-action)." {% endif %}
|
||||
Le code du workflow suivant utilise l’action _hello world_ terminée dans le dépôt public [`actions/hello-world-docker-action`](https://github.com/actions/hello-world-docker-action). Copiez l’exemple de code de workflow suivant dans un fichier `.github/workflows/main.yml`, en remplaçant `actions/hello-world-docker-action` par le nom de votre dépôt et le nom de votre action. Vous pouvez également remplacer l’entrée `who-to-greet` par votre nom. {% ifversion fpt or ghec %}Les actions publiques peuvent être utilisées même si elles ne sont pas publiées dans {% data variables.product.prodname_marketplace %}. Pour plus d’informations, consultez « [Publication d’une action](/actions/creating-actions/publishing-actions-in-github-marketplace#publishing-an-action) ». {% endif %}
|
||||
|
||||
**.github/workflows/main.yml**
|
||||
{% raw %} **.github/workflows/main.yml**
|
||||
```yaml{:copy}
|
||||
on: [push]
|
||||
|
||||
@@ -211,17 +199,18 @@ jobs:
|
||||
steps:
|
||||
- name: Hello world action step
|
||||
id: hello
|
||||
uses: actions/hello-world-docker-action{% ifversion actions-save-state-set-output-envs %}v2{% else %}v1{% endif %}
|
||||
uses: actions/hello-world-docker-action@v1
|
||||
with:
|
||||
who-to-greet: 'Mona the Octocat'
|
||||
# Use the output from the `hello` step
|
||||
- name: Get the output time
|
||||
run: echo "The time was {% raw %}${{ steps.hello.outputs.time }}"{% endraw %}
|
||||
run: echo "The time was ${{ steps.hello.outputs.time }}"
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
### Example using a private action
|
||||
### Exemple utilisant une action privée
|
||||
|
||||
Copy the following example workflow code into a `.github/workflows/main.yml` file in your action's repository. You can also replace the `who-to-greet` input with your name. {% ifversion fpt or ghec %}This private action can't be published to {% data variables.product.prodname_marketplace %}, and can only be used in this repository.{% endif %}
|
||||
Copiez le code de l’exemple de workflow suivant dans un fichier `.github/workflows/main.yml` du dépôt de votre action. Vous pouvez également remplacer l’entrée `who-to-greet` par votre nom. {% ifversion fpt or ghec %} Cette action privée ne peut pas être publiée dans {% data variables.product.prodname_marketplace %}, et ne peut être utilisée que dans ce dépôt. {% endif %}
|
||||
|
||||
**.github/workflows/main.yml**
|
||||
```yaml{:copy}
|
||||
@@ -246,7 +235,7 @@ jobs:
|
||||
run: echo "The time was {% raw %}${{ steps.hello.outputs.time }}"{% endraw %}
|
||||
```
|
||||
|
||||
From your repository, click the **Actions** tab, and select the latest workflow run. Under **Jobs** or in the visualization graph, click **A job to say hello**. You should see "Hello Mona the Octocat" or the name you used for the `who-to-greet` input and the timestamp printed in the log.
|
||||
Dans votre dépôt, cliquez sur l’onglet **Actions**, puis sélectionnez la dernière exécution du workflow. Sous **Travaux** ou dans le graphe de visualisation, cliquez sur **A job to say hello**. Vous devez voir « Hello Mona the Octocat » ou le nom que vous avez utilisé pour l’entrée `who-to-greet`, ainsi que l’horodatage affiché dans le journal.
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Creating a JavaScript action
|
||||
shortTitle: Create a JavaScript action
|
||||
intro: 'In this guide, you''ll learn how to build a JavaScript action using the actions toolkit.'
|
||||
intro: 'Dans ce guide, vous allez apprendre à générer une action JavaScript à l’aide du kit de ressources d’actions.'
|
||||
redirect_from:
|
||||
- /articles/creating-a-javascript-action
|
||||
- /github/automating-your-workflow-with-github-actions/creating-a-javascript-action
|
||||
@@ -16,50 +16,54 @@ type: tutorial
|
||||
topics:
|
||||
- Action development
|
||||
- JavaScript
|
||||
ms.openlocfilehash: 60fd562df55756afd081c395d9cffee89c2c04d6
|
||||
ms.sourcegitcommit: 6185352bc563024d22dee0b257e2775cadd5b797
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 12/09/2022
|
||||
ms.locfileid: '148192744'
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Introduction
|
||||
|
||||
In this guide, you'll learn about the basic components needed to create and use a packaged JavaScript action. To focus this guide on the components needed to package the action, the functionality of the action's code is minimal. The action prints "Hello World" in the logs or "Hello [who-to-greet]" if you provide a custom name.
|
||||
Dans ce guide, vous allez découvrir les composants de base qui sont nécessaires pour créer et utiliser une action JavaScript empaquetée. Afin de nous concentrer sur les composants nécessaires à l’empaquetage de l’action, nous avons réduit la fonctionnalité du code de l’action à son strict minimum. L’action affiche « Hello World » dans les journaux ou « Hello [who-to-greet] » si vous fournissez un nom personnalisé.
|
||||
|
||||
This guide uses the {% data variables.product.prodname_actions %} Toolkit Node.js module to speed up development. For more information, see the [actions/toolkit](https://github.com/actions/toolkit) repository.
|
||||
Ce guide utilise le module Node.js du kit de ressources {% data variables.product.prodname_actions %} pour accélérer le développement. Pour plus d’informations, consultez le dépôt [actions/toolkit](https://github.com/actions/toolkit).
|
||||
|
||||
Once you complete this project, you should understand how to build your own JavaScript action and test it in a workflow.
|
||||
Une fois que vous aurez terminé ce projet, vous saurez comment créer votre propre action JavaScript et la tester dans un workflow.
|
||||
|
||||
{% data reusables.actions.pure-javascript %}
|
||||
|
||||
{% data reusables.actions.context-injection-warning %}
|
||||
|
||||
## Prerequisites
|
||||
## Prérequis
|
||||
|
||||
Before you begin, you'll need to download Node.js and create a public {% data variables.product.prodname_dotcom %} repository.
|
||||
Avant de commencer, vous devez télécharger Node.js et créer un dépôt public {% data variables.product.prodname_dotcom %}.
|
||||
|
||||
1. Download and install Node.js {% ifversion fpt or ghes > 3.3 or ghae > 3.3 or ghec %}16.x{% else %}12.x{% endif %}, which includes npm.
|
||||
1. Téléchargez et installez Node.js {% ifversion fpt or ghes > 3.3 or ghae > 3.3 or ghec %}16.x{% else %}12.x{% endif %}, qui inclut npm.
|
||||
|
||||
{% ifversion fpt or ghes > 3.3 or ghae > 3.3 or ghec %}https://nodejs.org/en/download/{% else %}https://nodejs.org/en/download/releases/{% endif %}
|
||||
{% ifversion fpt or ghes > 3.3 or ghae > 3.3 or ghec %} https://nodejs.org/en/download/{% else %} https://nodejs.org/en/download/releases/{% endif %}
|
||||
|
||||
1. Create a new public repository on {% data variables.location.product_location %} and call it "hello-world-javascript-action". For more information, see "[Create a new repository](/articles/creating-a-new-repository)."
|
||||
1. Créez un dépôt public sur {% data variables.location.product_location %} et appelez-le « hello-world-javascript-action ». Pour en savoir plus, consultez « [Créer un dépôt](/articles/creating-a-new-repository) ».
|
||||
|
||||
1. Clone your repository to your computer. For more information, see "[Cloning a repository](/articles/cloning-a-repository)."
|
||||
1. Clonez votre dépôt sur votre ordinateur. Pour plus d’informations, consultez « [Clonage d’un dépôt](/articles/cloning-a-repository) ».
|
||||
|
||||
1. From your terminal, change directories into your new repository.
|
||||
1. À partir de votre terminal, remplacez les répertoires par votre nouveau dépôt.
|
||||
|
||||
```shell{:copy}
|
||||
cd hello-world-javascript-action
|
||||
```
|
||||
|
||||
1. From your terminal, initialize the directory with npm to generate a `package.json` file.
|
||||
1. À partir de votre terminal, initialisez le répertoire avec npm pour générer un fichier `package.json`.
|
||||
|
||||
```shell{:copy}
|
||||
npm init -y
|
||||
```
|
||||
|
||||
## Creating an action metadata file
|
||||
## Création d’un fichier de métadonnées d’action
|
||||
|
||||
Create a new file named `action.yml` in the `hello-world-javascript-action` directory with the following example code. For more information, see "[Metadata syntax for {% data variables.product.prodname_actions %}](/actions/creating-actions/metadata-syntax-for-github-actions)."
|
||||
Créez un fichier nommé `action.yml` dans le répertoire `hello-world-javascript-action` avec l’exemple de code suivant. Pour plus d’informations, consultez « [Syntaxe des métadonnées pour {% data variables.product.prodname_actions %}](/actions/creating-actions/metadata-syntax-for-github-actions) ».
|
||||
|
||||
```yaml{:copy}
|
||||
name: 'Hello World'
|
||||
@@ -77,34 +81,34 @@ runs:
|
||||
main: 'index.js'
|
||||
```
|
||||
|
||||
This file defines the `who-to-greet` input and `time` output. It also tells the action runner how to start running this JavaScript action.
|
||||
Ce fichier définit l’entrée `who-to-greet` et la sortie`time`. Il indique également à l’exécuteur d’actions comment exécuter cette action JavaScript.
|
||||
|
||||
## Adding actions toolkit packages
|
||||
## Ajout de packages de kit de ressources d’actions
|
||||
|
||||
The actions toolkit is a collection of Node.js packages that allow you to quickly build JavaScript actions with more consistency.
|
||||
Le kit de ressources d’actions est une collection de packages Node.js qui vous permet de créer rapidement des actions JavaScript avec plus de cohérence.
|
||||
|
||||
The toolkit [`@actions/core`](https://github.com/actions/toolkit/tree/main/packages/core) package provides an interface to the workflow commands, input and output variables, exit statuses, and debug messages.
|
||||
Le package [`@actions/core`](https://github.com/actions/toolkit/tree/main/packages/core) du kit de ressources fournit une interface aux commandes de workflow, aux variables d’entrée et de sortie, aux états de sortie et aux messages de débogage.
|
||||
|
||||
The toolkit also offers a [`@actions/github`](https://github.com/actions/toolkit/tree/main/packages/github) package that returns an authenticated Octokit REST client and access to GitHub Actions contexts.
|
||||
Le kit de ressources offre également un package [`@actions/github`](https://github.com/actions/toolkit/tree/main/packages/github) qui retourne un client REST Octokit authentifié et un accès aux contextes GitHub Actions.
|
||||
|
||||
The toolkit offers more than the `core` and `github` packages. For more information, see the [actions/toolkit](https://github.com/actions/toolkit) repository.
|
||||
Le kit de ressources offre plus que les packages `core` et `github`. Pour plus d’informations, consultez le dépôt [actions/toolkit](https://github.com/actions/toolkit).
|
||||
|
||||
At your terminal, install the actions toolkit `core` and `github` packages.
|
||||
À partir de votre terminal, installez les packages `core` et `github` du kit de ressources d’actions.
|
||||
|
||||
```shell{:copy}
|
||||
npm install @actions/core
|
||||
npm install @actions/github
|
||||
```
|
||||
|
||||
Now you should see a `node_modules` directory with the modules you just installed and a `package-lock.json` file with the installed module dependencies and the versions of each installed module.
|
||||
Vous devez maintenant voir un répertoire `node_modules` avec les modules que vous venez d’installer, et un fichier `package-lock.json` comprenant les dépendances du module installé et les versions de chaque module installé.
|
||||
|
||||
## Writing the action code
|
||||
## Écriture du code d’action
|
||||
|
||||
This action uses the toolkit to get the `who-to-greet` input variable required in the action's metadata file and prints "Hello [who-to-greet]" in a debug message in the log. Next, the script gets the current time and sets it as an output variable that actions running later in a job can use.
|
||||
Cette action utilise le kit de ressources pour obtenir la variable d’entrée `who-to-greet` nécessaire dans le fichier de métadonnées de l’action, et affiche « Hello [who-to-greet] » dans un message de débogage dans le journal. Ensuite, le script obtient l’heure actuelle et la définit comme une variable de sortie que pourront utiliser les prochaines actions d’un travail.
|
||||
|
||||
GitHub Actions provide context information about the webhook event, Git refs, workflow, action, and the person who triggered the workflow. To access the context information, you can use the `github` package. The action you'll write will print the webhook event payload to the log.
|
||||
GitHub Actions fournit des informations contextuelles sur l’événement webhook, les références Git, le workflow, l’action et la personne qui a déclenché le workflow. Pour accéder aux informations de contexte, vous pouvez utiliser le package `github`. L’action que vous allez écrire affiche la charge utile de l’événement webhook dans le journal.
|
||||
|
||||
Add a new file called `index.js`, with the following code.
|
||||
Ajoutez un fichier nommé `index.js` en utilisant le code suivant.
|
||||
|
||||
{% raw %}
|
||||
```javascript{:copy}
|
||||
@@ -126,20 +130,20 @@ try {
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
If an error is thrown in the above `index.js` example, `core.setFailed(error.message);` uses the actions toolkit [`@actions/core`](https://github.com/actions/toolkit/tree/main/packages/core) package to log a message and set a failing exit code. For more information, see "[Setting exit codes for actions](/actions/creating-actions/setting-exit-codes-for-actions)."
|
||||
Si une erreur est levée dans l’exemple `index.js` ci-dessus, `core.setFailed(error.message);` utilise le package [`@actions/core`](https://github.com/actions/toolkit/tree/main/packages/core) du kit de ressources d’actions pour journaliser un message et définir un code de sortie d’échec. Pour plus d’informations, consultez « [Définition de codes de sortie pour les actions](/actions/creating-actions/setting-exit-codes-for-actions) ».
|
||||
|
||||
## Creating a README
|
||||
## Création d’un fichier README
|
||||
|
||||
To let people know how to use your action, you can create a README file. A README is most helpful when you plan to share your action publicly, but is also a great way to remind you or your team how to use the action.
|
||||
Pour expliquer aux utilisateurs comment utiliser votre action, vous pouvez créer un fichier README. Un fichier README est très utile si vous prévoyez de partager votre action publiquement, mais c’est aussi un excellent moyen de vous rappeler comment utiliser l’action.
|
||||
|
||||
In your `hello-world-javascript-action` directory, create a `README.md` file that specifies the following information:
|
||||
Dans votre répertoire `hello-world-javascript-action`, créez un fichier `README.md` qui spécifie les informations suivantes :
|
||||
|
||||
- A detailed description of what the action does.
|
||||
- Required input and output arguments.
|
||||
- Optional input and output arguments.
|
||||
- Secrets the action uses.
|
||||
- Environment variables the action uses.
|
||||
- An example of how to use your action in a workflow.
|
||||
- Une description détaillée de ce que fait l’action.
|
||||
- Les arguments d’entrée et de sortie obligatoires.
|
||||
- Les arguments d’entrée et de sortie facultatifs.
|
||||
- Les secrets utilisés par l’action.
|
||||
- Les variables d’environnement utilisées par l’action.
|
||||
- Un exemple d’utilisation de votre action dans un workflow.
|
||||
|
||||
````markdown{:copy}
|
||||
# Hello world javascript action
|
||||
@@ -167,13 +171,13 @@ with:
|
||||
```
|
||||
````
|
||||
|
||||
## Commit, tag, and push your action to GitHub
|
||||
## Commiter, étiqueter et pousser (push) votre action dans GitHub
|
||||
|
||||
{% data variables.product.product_name %} downloads each action run in a workflow during runtime and executes it as a complete package of code before you can use workflow commands like `run` to interact with the runner machine. This means you must include any package dependencies required to run the JavaScript code. You'll need to check in the toolkit `core` and `github` packages to your action's repository.
|
||||
{% data variables.product.product_name %} télécharge chaque action exécutée dans un workflow au moment du runtime, et l’exécute en tant que package complet de code avant que vous puissiez utiliser des commandes de workflow comme `run` pour interagir avec la machine de l’exécuteur. Cela signifie que vous devez inclure toutes les dépendances de package qui sont nécessaires pour exécuter le code JavaScript. Vous devrez effectuer le check-in des packages `core` et `github` du kit de ressources dans le dépôt de votre action.
|
||||
|
||||
From your terminal, commit your `action.yml`, `index.js`, `node_modules`, `package.json`, `package-lock.json`, and `README.md` files. If you added a `.gitignore` file that lists `node_modules`, you'll need to remove that line to commit the `node_modules` directory.
|
||||
À partir de votre terminal, commitez vos fichiers `action.yml`, `index.js`, `node_modules`, `package.json`, `package-lock.json` et `README.md`. Si vous avez ajouté un fichier `.gitignore` qui liste `node_modules`, vous devez supprimer cette ligne pour commiter le répertoire `node_modules`.
|
||||
|
||||
It's best practice to also add a version tag for releases of your action. For more information on versioning your action, see "[About actions](/actions/automating-your-workflow-with-github-actions/about-actions#using-release-management-for-actions)."
|
||||
Il est recommandé d’ajouter également une étiquette de version pour les versions de votre action. Pour plus d’informations sur le versioning de votre action, consultez « [À propos des actions](/actions/automating-your-workflow-with-github-actions/about-actions#using-release-management-for-actions) ».
|
||||
|
||||
```shell{:copy}
|
||||
git add action.yml index.js node_modules/* package.json package-lock.json README.md
|
||||
@@ -182,24 +186,24 @@ git tag -a -m "My first action release" v1.1
|
||||
git push --follow-tags
|
||||
```
|
||||
|
||||
Checking in your `node_modules` directory can cause problems. As an alternative, you can use a tool called [`@vercel/ncc`](https://github.com/vercel/ncc) to compile your code and modules into one file used for distribution.
|
||||
Le check-in de votre répertoire `node_modules` peut entraîner des problèmes. Vous pouvez également utiliser un outil appelé [`@vercel/ncc`](https://github.com/vercel/ncc) pour compiler votre code et vos modules dans un fichier utilisé pour la distribution.
|
||||
|
||||
1. Install `vercel/ncc` by running this command in your terminal.
|
||||
1. Installez `vercel/ncc` en exécutant cette commande dans votre terminal.
|
||||
`npm i -g @vercel/ncc`
|
||||
|
||||
1. Compile your `index.js` file.
|
||||
1. Compilez votre fichier `index.js`.
|
||||
`ncc build index.js --license licenses.txt`
|
||||
|
||||
You'll see a new `dist/index.js` file with your code and the compiled modules.
|
||||
You will also see an accompanying `dist/licenses.txt` file containing all the licenses of the `node_modules` you are using.
|
||||
Vous verrez un nouveau fichier `dist/index.js` avec votre code et les modules compilés.
|
||||
Vous verrez également un fichier `dist/licenses.txt` contenant toutes les licences de `node_modules` que vous utilisez.
|
||||
|
||||
1. Change the `main` keyword in your `action.yml` file to use the new `dist/index.js` file.
|
||||
1. Modifiez le mot clé `main` dans votre fichier `action.yml` pour utiliser le nouveau fichier `dist/index.js`.
|
||||
`main: 'dist/index.js'`
|
||||
|
||||
1. If you already checked in your `node_modules` directory, remove it.
|
||||
1. Si vous avez déjà effectué le check-in de votre répertoire `node_modules`, supprimez-le.
|
||||
`rm -rf node_modules/*`
|
||||
|
||||
1. From your terminal, commit the updates to your `action.yml`, `dist/index.js`, and `node_modules` files.
|
||||
1. À partir de votre terminal, commitez les mises à jour de vos fichiers `action.yml`, `dist/index.js` et `node_modules`.
|
||||
```shell{:copy}
|
||||
git add action.yml dist/index.js node_modules/*
|
||||
git commit -m "Use vercel/ncc"
|
||||
@@ -207,17 +211,17 @@ git tag -a -m "My first action release" v1.1
|
||||
git push --follow-tags
|
||||
```
|
||||
|
||||
## Testing out your action in a workflow
|
||||
## Tester votre action dans un workflow
|
||||
|
||||
Now you're ready to test your action out in a workflow. When an action is in a private repository, the action can only be used in workflows in the same repository. Public actions can be used by workflows in any repository.
|
||||
Vous êtes maintenant prêt à tester votre action dans un workflow. Quand une action se trouve dans un dépôt privé, elle peut être utilisée seulement dans des workflows du même dépôt. Les actions publiques peuvent être utilisées par les workflows dans n’importe quel dépôt.
|
||||
|
||||
{% data reusables.actions.enterprise-marketplace-actions %}
|
||||
|
||||
### Example using a public action
|
||||
### Exemple utilisant une action publique
|
||||
|
||||
This example demonstrates how your new public action can be run from within an external repository.
|
||||
Cet exemple montre comment votre nouvelle action publique peut être exécutée à partir d’un dépôt externe.
|
||||
|
||||
Copy the following YAML into a new file at `.github/workflows/main.yml`, and update the `uses: octocat/hello-world-javascript-action@v1.1` line with your username and the name of the public repository you created above. You can also replace the `who-to-greet` input with your name.
|
||||
Copiez le code YAML suivant dans un nouveau fichier à l’emplacement `.github/workflows/main.yml`, puis mettez à jour la ligne `uses: octocat/hello-world-javascript-action@v1.1` avec votre nom d’utilisateur et le nom du dépôt public que vous avez créé ci-dessus. Vous pouvez également remplacer l’entrée `who-to-greet` par votre nom.
|
||||
|
||||
{% raw %}
|
||||
```yaml{:copy}
|
||||
@@ -239,11 +243,11 @@ jobs:
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
When this workflow is triggered, the runner will download the `hello-world-javascript-action` action from your public repository and then execute it.
|
||||
Lorsque ce workflow sera déclenché, l’exécuteur téléchargera l’action `hello-world-javascript-action` à partir de votre dépôt public, puis l’exécutera.
|
||||
|
||||
### Example using a private action
|
||||
### Exemple utilisant une action privée
|
||||
|
||||
Copy the workflow code into a `.github/workflows/main.yml` file in your action's repository. You can also replace the `who-to-greet` input with your name.
|
||||
Copiez le code du workflow dans un fichier `.github/workflows/main.yml` du dépôt de votre action. Vous pouvez également remplacer l’entrée `who-to-greet` par votre nom.
|
||||
|
||||
**.github/workflows/main.yml**
|
||||
```yaml{:copy}
|
||||
@@ -268,13 +272,13 @@ jobs:
|
||||
run: echo "The time was {% raw %}${{ steps.hello.outputs.time }}{% endraw %}"
|
||||
```
|
||||
|
||||
From your repository, click the **Actions** tab, and select the latest workflow run. Under **Jobs** or in the visualization graph, click **A job to say hello**. You should see "Hello Mona the Octocat" or the name you used for the `who-to-greet` input and the timestamp printed in the log.
|
||||
Dans votre dépôt, cliquez sur l’onglet **Actions**, puis sélectionnez la dernière exécution du workflow. Sous **Travaux** ou dans le graphe de visualisation, cliquez sur **A job to say hello**. Vous devez voir « Hello Mona the Octocat » ou le nom que vous avez utilisé pour l’entrée `who-to-greet`, ainsi que l’horodatage affiché dans le journal.
|
||||
|
||||

|
||||

|
||||
|
||||
## Template repositories for creating JavaScript actions
|
||||
## Dépôts de modèles pour créer des actions JavaScript
|
||||
|
||||
{% data variables.product.prodname_dotcom %} provides template repositories for creating JavaScript and TypeScript actions. You can use these templates to quickly get started with creating a new action that includes tests, linting, and other recommended practices.
|
||||
{% data variables.product.prodname_dotcom %} fournit des dépôts de modèles pour créer des actions JavaScript et TypeScript. Vous pouvez utiliser ces modèles pour commencer rapidement à créer une action qui inclut des tests, un linting et d’autres pratiques recommandées.
|
||||
|
||||
* [`javascript-action` template repository](https://github.com/actions/javascript-action)
|
||||
* [`typescript-action` template repository](https://github.com/actions/typescript-action)
|
||||
* [Dépôt de modèles `javascript-action`](https://github.com/actions/javascript-action)
|
||||
* [Dépôt de modèles `typescript-action`](https://github.com/actions/typescript-action)
|
||||
|
||||
@@ -21,7 +21,9 @@ children:
|
||||
- /dockerfile-support-for-github-actions
|
||||
- /setting-exit-codes-for-actions
|
||||
- /publishing-actions-in-github-marketplace
|
||||
- /sharing-actions-and-workflows-from-your-private-repository
|
||||
- /sharing-actions-and-workflows-with-your-enterprise
|
||||
- /sharing-actions-and-workflows-with-your-organization
|
||||
- /releasing-and-maintaining-actions
|
||||
- /developing-a-third-party-cli-action
|
||||
ms.openlocfilehash: b60bd1031bc7e9958a146cbf9755a000679edff3
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: About continuous deployment
|
||||
intro: 'You can create custom continuous deployment (CD) workflows directly in your {% data variables.product.prodname_dotcom %} repository with {% data variables.product.prodname_actions %}.'
|
||||
title: À propos du déploiement continu
|
||||
intro: 'Vous pouvez créer des workflows de déploiement continu (CD) personnalisés directement dans votre dépôt {% data variables.product.prodname_dotcom %} avec {% data variables.product.prodname_actions %}.'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -12,40 +12,44 @@ redirect_from:
|
||||
topics:
|
||||
- CD
|
||||
shortTitle: About continuous deployment
|
||||
ms.openlocfilehash: 379afa0088f7f10302f5bf8202f5259ac4777bec
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147060137'
|
||||
---
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
## À propos du déploiement continu
|
||||
|
||||
## About continuous deployment
|
||||
Le _déploiement continu_ (CD) correspond au processus automatisé qui permet de publier et de déployer des mises à jour logicielles. Dans le cadre du processus de déploiement continu standard, le code est généré et testé automatiquement avant le déploiement.
|
||||
|
||||
_Continuous deployment_ (CD) is the practice of using automation to publish and deploy software updates. As part of the typical CD process, the code is automatically built and tested before deployment.
|
||||
Le déploiement continu est souvent couplé à l’intégration continue. Pour plus d’informations sur l’intégration continue, consultez « [À propos de l’intégration continue](/actions/guides/about-continuous-integration) ».
|
||||
|
||||
Continuous deployment is often coupled with continuous integration. For more information about continuous integration, see "[About continuous integration](/actions/guides/about-continuous-integration)".
|
||||
## À propos du déploiement continu avec {% data variables.product.prodname_actions %}
|
||||
|
||||
## About continuous deployment using {% data variables.product.prodname_actions %}
|
||||
Vous pouvez configurer un workflow {% data variables.product.prodname_actions %} pour déployer votre produit logiciel. Pour vérifier que votre produit fonctionne comme prévu, votre workflow peut générer le code dans votre dépôt et exécuter vos tests avant le déploiement.
|
||||
|
||||
You can set up a {% data variables.product.prodname_actions %} workflow to deploy your software product. To verify that your product works as expected, your workflow can build the code in your repository and run your tests before deploying.
|
||||
Vous pouvez configurer votre workflow de déploiement continu pour qu’il s’exécute lorsqu’un événement {% data variables.product.product_name %} se produit (par exemple, lorsque le nouveau code est poussé vers la branche par défaut de votre dépôt) ou lorsqu’un événement externe se produit si vous utilisez le webhook de dispatch du dépôt. Vous pouvez également l’exécuter manuellement ou selon une planification définie. Pour plus d’informations sur l’exécution de votre workflow, consultez « [Événements qui déclenchent des workflows](/actions/reference/events-that-trigger-workflows) ».
|
||||
|
||||
You can configure your CD workflow to run when a {% data variables.product.product_name %} event occurs (for example, when new code is pushed to the default branch of your repository), on a set schedule, manually, or when an external event occurs using the repository dispatch webhook. For more information about when your workflow can run, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows)."
|
||||
{% data variables.product.prodname_actions %} fournit des fonctionnalités qui vous permettent de mieux contrôler les déploiements. Par exemple, vous pouvez utiliser des environnements pour exiger l’approbation d’un travail, restreindre les branches pouvant déclencher un workflow ou limiter l’accès aux secrets. Vous pouvez utiliser la concurrence pour limiter votre pipeline CD à un déploiement en cours et un déploiement en attente au maximum. Pour plus d’informations sur ces fonctionnalités, consultez « [Déploiement avec GitHub Actions](/actions/deployment/deploying-with-github-actions) » et « [Utilisation d’environnements pour le déploiement](/actions/deployment/using-environments-for-deployment) ».
|
||||
|
||||
{% data variables.product.prodname_actions %} provides features that give you more control over deployments. For example, you can use environments to require approval for a job to proceed, restrict which branches can trigger a workflow, or limit access to secrets. You can use concurrency to limit your CD pipeline to a maximum of one in-progress deployment and one pending deployment. For more information about these features, see "[Deploying with GitHub Actions](/actions/deployment/deploying-with-github-actions)" and "[Using environments for deployment](/actions/deployment/using-environments-for-deployment)."
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 or ghes > 3.4 %}
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.4 %}
|
||||
|
||||
## Using OpenID Connect to access cloud resources
|
||||
## Utilisation d’OpenID Connect pour accéder aux ressources cloud
|
||||
|
||||
{% data reusables.actions.about-oidc-short-overview %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Starter workflows and third party actions
|
||||
## Workflows de démarrage et actions tierces
|
||||
|
||||
{% data reusables.actions.cd-templates-actions %}
|
||||
|
||||
## Further reading
|
||||
## Pour aller plus loin
|
||||
|
||||
- [Deploying with GitHub Actions](/actions/deployment/deploying-with-github-actions)
|
||||
- [Using environments for deployment](/actions/deployment/using-environments-for-deployment){% ifversion fpt or ghec %}
|
||||
- "[Managing billing for {% data variables.product.prodname_actions %}](/billing/managing-billing-for-github-actions)"{% endif %}
|
||||
- [Déploiement avec GitHub Actions](/actions/deployment/deploying-with-github-actions)
|
||||
- [Utilisation d’environnements pour le déploiement](/actions/deployment/using-environments-for-deployment){% ifversion fpt or ghec %}
|
||||
- « [Gestion de la facturation pour {% data variables.product.prodname_actions %}](/billing/managing-billing-for-github-actions) »{% endif %}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Deploying with GitHub Actions
|
||||
intro: Learn how to control deployments with features like environments and concurrency.
|
||||
title: Déploiement avec GitHub Actions
|
||||
intro: Apprenez à contrôler les déploiements à l’aide de fonctionnalités comme les environnements et la concurrence.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -12,34 +12,38 @@ redirect_from:
|
||||
topics:
|
||||
- CD
|
||||
shortTitle: Deploy with GitHub Actions
|
||||
ms.openlocfilehash: 533d85d83bea53d34af3d8b9a47d0d4426ea4bc6
|
||||
ms.sourcegitcommit: 1309b46201604c190c63bfee47dce559003899bf
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/10/2022
|
||||
ms.locfileid: '145179183'
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Introduction
|
||||
|
||||
{% data variables.product.prodname_actions %} offers features that let you control deployments. You can:
|
||||
{% data variables.product.prodname_actions %} offre des fonctionnalités qui vous permettent de contrôler les déploiements. Vous pouvez :
|
||||
|
||||
- Trigger workflows with a variety of events.
|
||||
- Configure environments to set rules before a job can proceed and to limit access to secrets.
|
||||
- Use concurrency to control the number of deployments running at a time.
|
||||
- Déclencher des workflows avec une grande variété d’événements.
|
||||
- Configurer des environnements pour définir des règles sur la poursuite d’un travail et pour limiter l’accès aux secrets.
|
||||
- Utiliser la concurrence pour contrôler le nombre de déploiements qui peuvent s’exécuter simultanément.
|
||||
|
||||
For more information about continuous deployment, see "[About continuous deployment](/actions/deployment/about-continuous-deployment)."
|
||||
Pour plus d’informations sur le déploiement continu, consultez « [À propos du déploiement continu](/actions/deployment/about-continuous-deployment) ».
|
||||
|
||||
## Prerequisites
|
||||
## Prérequis
|
||||
|
||||
You should be familiar with the syntax for {% data variables.product.prodname_actions %}. For more information, see "[Learn {% data variables.product.prodname_actions %}](/actions/learn-github-actions)."
|
||||
Vous devez être familiarisé avec la syntaxe {% data variables.product.prodname_actions %}. Pour plus d’informations, consultez « [Découvrir {% data variables.product.prodname_actions %}](/actions/learn-github-actions) ».
|
||||
|
||||
## Triggering your deployment
|
||||
## Déclenchement de votre déploiement
|
||||
|
||||
You can use a variety of events to trigger your deployment workflow. Some of the most common are: `pull_request`, `push`, and `workflow_dispatch`.
|
||||
Vous pouvez utiliser divers événements pour déclencher votre workflow de déploiement. Les plus courants sont `pull_request`, `push` et `workflow_dispatch`.
|
||||
|
||||
For example, a workflow with the following triggers runs whenever:
|
||||
Par exemple, un workflow avec les déclencheurs suivants s’exécute quand :
|
||||
|
||||
- There is a push to the `main` branch.
|
||||
- A pull request targeting the `main` branch is opened, synchronized, or reopened.
|
||||
- Someone manually triggers it.
|
||||
- Un élément est poussé (push) vers la branche `main`.
|
||||
- Une demande de tirage (pull request) ciblant la branche `main` est ouverte, synchronisée ou rouverte.
|
||||
- Quelqu’un le déclenche manuellement.
|
||||
|
||||
```yaml
|
||||
on:
|
||||
@@ -52,23 +56,23 @@ on:
|
||||
workflow_dispatch:
|
||||
```
|
||||
|
||||
For more information, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows)."
|
||||
Pour plus d’informations sur les événements, consultez « [Événements qui déclenchent des workflows](/actions/reference/events-that-trigger-workflows) ».
|
||||
|
||||
## Using environments
|
||||
## Utilisation des environnements
|
||||
|
||||
{% data reusables.actions.about-environments %}
|
||||
|
||||
## Using concurrency
|
||||
## Utilisation de la concurrence
|
||||
|
||||
Concurrency ensures that only a single job or workflow using the same concurrency group will run at a time. You can use concurrency so that an environment has a maximum of one deployment in progress and one deployment pending at a time.
|
||||
Avec la concurrence, vous ne pouvez exécuter qu’un seul travail ou workflow d’un même groupe de concurrence à la fois. Vous pouvez utiliser la concurrence pour qu’un environnement ait au maximum un déploiement en cours et un déploiement en attente.
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** `concurrency` and `environment` are not connected. The concurrency value can be any string; it does not need to be an environment name. Additionally, if another workflow uses the same environment but does not specify concurrency, that workflow will not be subject to any concurrency rules.
|
||||
**Remarque :** `concurrency` et `environment` ne sont pas connectés. Vous pouvez utiliser n’importe quelle chaîne comme valeur de concurrence. Il n’est pas nécessaire que ce soit un nom d’environnement. En outre, si un autre workflow utilise le même environnement mais ne spécifie pas la concurrence, ce workflow ne sera soumis à aucune règle de concurrence.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
For example, when the following workflow runs, it will be paused with the status `pending` if any job or workflow that uses the `production` concurrency group is in progress. It will also cancel any job or workflow that uses the `production` concurrency group and has the status `pending`. This means that there will be a maximum of one running and one pending job or workflow in that uses the `production` concurrency group.
|
||||
Par exemple, lorsque le workflow suivant s’exécute, il est suspendu avec l’état `pending` si un travail ou un workflow qui utilise le groupe de concurrence `production` est en cours d’exécution. Cela annulera également tout travail ou workflow qui utilise le groupe de concurrence `production` et qui a l’état `pending`. Cela signifie qu’il y aura au maximum un travail ou workflow en cours d’exécution, et un autre en attente qui utilisent le groupe de concurrence `production`.
|
||||
|
||||
```yaml
|
||||
name: Deployment
|
||||
@@ -89,7 +93,7 @@ jobs:
|
||||
# ...deployment-specific steps
|
||||
```
|
||||
|
||||
You can also specify concurrency at the job level. This will allow other jobs in the workflow to proceed even if the concurrent job is `pending`.
|
||||
Vous pouvez également spécifier la concurrence au niveau du travail. Cela permet aux autres travaux du workflow de continuer à s’exécuter, même si le travail simultané est à l’état `pending`.
|
||||
|
||||
```yaml
|
||||
name: Deployment
|
||||
@@ -109,7 +113,7 @@ jobs:
|
||||
# ...deployment-specific steps
|
||||
```
|
||||
|
||||
You can also use `cancel-in-progress` to cancel any currently running job or workflow in the same concurrency group.
|
||||
Vous pouvez également utiliser `cancel-in-progress` pour annuler tout travail ou workflow en cours d’exécution dans le même groupe de concurrence.
|
||||
|
||||
```yaml
|
||||
name: Deployment
|
||||
@@ -132,42 +136,41 @@ jobs:
|
||||
# ...deployment-specific steps
|
||||
```
|
||||
|
||||
For guidance on writing deployment-specific steps, see "[Finding deployment examples](#finding-deployment-examples)."
|
||||
Pour obtenir des conseils sur l’écriture d’étapes spécifiques au déploiement, consultez « [Trouver des exemples de déploiement](#finding-deployment-examples) ».
|
||||
|
||||
## Viewing deployment history
|
||||
## Consultation de l’historique de déploiement
|
||||
|
||||
When a {% data variables.product.prodname_actions %} workflow deploys to an environment, the environment is displayed on the main page of the repository. For more information about viewing deployments to environments, see "[Viewing deployment history](/developers/overview/viewing-deployment-history)."
|
||||
Lorsqu’un workflow {% data variables.product.prodname_actions %} est déployé dans un environnement, l’environnement s’affiche dans la page principale du dépôt. Pour plus d’informations sur l’affichage des déploiements dans les environnements, consultez « [Affichage de l’historique des déploiements](/developers/overview/viewing-deployment-history) ».
|
||||
|
||||
## Monitoring workflow runs
|
||||
## Monitoring des exécutions de workflows
|
||||
|
||||
Every workflow run generates a real-time graph that illustrates the run progress. You can use this graph to monitor and debug deployments. For more information see, "[Using the visualization graph](/actions/monitoring-and-troubleshooting-workflows/using-the-visualization-graph)."
|
||||
Chaque exécution de workflow génère un graphe en temps réel qui illustre la progression de l’exécution. Vous pouvez utiliser ce graphe pour monitorer et déboguer les déploiements. Pour plus d’informations, consultez « [Utilisation du graphe de visualisation](/actions/monitoring-and-troubleshooting-workflows/using-the-visualization-graph) ».
|
||||
|
||||
You can also view the logs of each workflow run and the history of workflow runs. For more information, see "[Viewing workflow run history](/actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history)."
|
||||
Vous pouvez également afficher les journaux d’activité de chaque exécution de workflow, ainsi que l’historique des exécutions de workflows. Pour plus d’informations, consultez « [Affichage de l’historique des exécutions de workflows](/actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history) ».
|
||||
|
||||
## Tracking deployments through apps
|
||||
## Suivi des déploiements via des applications
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
If your personal account or organization on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %} is integrated with Microsoft Teams or Slack, you can track deployments that use environments through Microsoft Teams or Slack. For example, you can receive notifications through the app when a deployment is pending approval, when a deployment is approved, or when the deployment status changes. For more information about integrating Microsoft Teams or Slack, see "[GitHub extensions and integrations](/github/customizing-your-github-workflow/exploring-integrations/github-extensions-and-integrations#team-communication-tools)."
|
||||
{% ifversion fpt or ghec %} Si votre compte personnel ou professionnel {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.product.product_location %}{% endif %} est intégré à Microsoft Teams ou Slack, vous pouvez suivre les déploiements qui utilisent des environnements via Microsoft Teams ou Slack. Par exemple, vous pouvez recevoir des notifications via l’application lorsqu’un déploiement est en attente d’approbation, lorsqu’un déploiement est approuvé ou lorsque l’état du déploiement change. Pour plus d’informations sur l’intégration à Microsoft Teams ou Slack, consultez « [Extensions et intégrations GitHub](/github/customizing-your-github-workflow/exploring-integrations/github-extensions-and-integrations#team-communication-tools) ».
|
||||
{% endif %}
|
||||
|
||||
You can also build an app that uses deployment and deployment status webhooks to track deployments. {% data reusables.actions.environment-deployment-event %} For more information, see "[Apps](/developers/apps)" and "[Webhook events and payloads](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment)."
|
||||
Vous pouvez également créer une application qui utilise des webhooks de déploiement et d’état de déploiement pour effectuer le suivi des déploiements. {% data reusables.actions.environment-deployment-event %} Pour plus d’informations, consultez « [Applications](/developers/apps) » et « [Événements et charges utiles de webhook ](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#deployment) ».
|
||||
|
||||
{% ifversion fpt or ghes or ghec %}
|
||||
|
||||
## Choosing a runner
|
||||
## Choix de l’exécuteur
|
||||
|
||||
You can run your deployment workflow on {% data variables.product.company_short %}-hosted runners or on self-hosted runners. Traffic from {% data variables.product.company_short %}-hosted runners can come from a [wide range of network addresses](/rest/reference/meta#get-github-meta-information). If you are deploying to an internal environment and your company restricts external traffic into private networks, {% data variables.product.prodname_actions %} workflows running on {% data variables.product.company_short %}-hosted runners may not be able to communicate with your internal services or resources. To overcome this, you can host your own runners. For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners)" and "[About GitHub-hosted runners](/actions/using-github-hosted-runners/about-github-hosted-runners)."
|
||||
Vous pouvez exécuter votre workflow de déploiement sur des exécuteurs hébergés dans {% data variables.product.company_short %} ou sur des exécuteurs auto-hébergés. Le trafic provenant des exécuteurs hébergés dans {% data variables.product.company_short %} peut provenir d’une [large plage d’adresses réseau](/rest/reference/meta#get-github-meta-information). Si vous effectuez un déploiement dans un environnement interne et si votre entreprise restreint le trafic externe vers les réseaux privés, les workflows {% data variables.product.prodname_actions %} s’exécutant sur des exécuteurs hébergés dans {% data variables.product.company_short %} pourront ne pas pouvoir communiquer avec vos services ou ressources internes. Pour surmonter ce problème, vous pouvez héberger vos propres exécuteurs. Pour plus d’informations, consultez « [À propos des exécuteurs auto-hébergés](/actions/hosting-your-own-runners/about-self-hosted-runners) et « [À propos des exécuteurs hébergés dans GitHub](/actions/using-github-hosted-runners/about-github-hosted-runners) ».
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Displaying a status badge
|
||||
## Affichage d’un badge d’état
|
||||
|
||||
You can use a status badge to display the status of your deployment workflow. {% data reusables.repositories.actions-workflow-status-badge-intro %}
|
||||
Vous pouvez utiliser un badge d’état pour afficher l’état de votre workflow de déploiement. {% data reusables.repositories.actions-workflow-status-badge-intro %}
|
||||
|
||||
For more information, see "[Adding a workflow status badge](/actions/managing-workflow-runs/adding-a-workflow-status-badge)."
|
||||
Pour plus d’informations, consultez « [Ajout d’un badge d’état de workflow](/actions/managing-workflow-runs/adding-a-workflow-status-badge) ».
|
||||
|
||||
## Finding deployment examples
|
||||
## Trouver des exemples de déploiements
|
||||
|
||||
This article demonstrated features of {% data variables.product.prodname_actions %} that you can add to your deployment workflows.
|
||||
Cet article a montré les fonctionnalités de {% data variables.product.prodname_actions %} que vous pouvez ajouter à vos workflows de déploiement.
|
||||
|
||||
{% data reusables.actions.cd-templates-actions %}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Deploying to Amazon Elastic Container Service
|
||||
intro: You can deploy to Amazon Elastic Container Service (ECS) as part of your continuous deployment (CD) workflows.
|
||||
title: Déploiement sur Amazon Elastic Container Service
|
||||
intro: Vous pouvez effectuer un déploiement sur ECS (Amazon Elastic Container Service) dans le cadre de vos workflows de déploiement continu (CD).
|
||||
redirect_from:
|
||||
- /actions/guides/deploying-to-amazon-elastic-container-service
|
||||
- /actions/deployment/deploying-to-amazon-elastic-container-service
|
||||
@@ -15,37 +15,40 @@ topics:
|
||||
- Containers
|
||||
- Amazon ECS
|
||||
shortTitle: Deploy to Amazon ECS
|
||||
ms.openlocfilehash: 259a3fd5bc0076f60d0c08f356b3ec9914effe89
|
||||
ms.sourcegitcommit: fcf3546b7cc208155fb8acdf68b81be28afc3d2d
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/11/2022
|
||||
ms.locfileid: '147881105'
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build a containerized application, push it to [Amazon Elastic Container Registry (ECR)](https://aws.amazon.com/ecr/), and deploy it to [Amazon Elastic Container Service (ECS)](https://aws.amazon.com/ecs/) when there is a push to the `main` branch.
|
||||
Ce guide explique comment utiliser {% data variables.product.prodname_actions %} pour créer une application conteneurisée, l’envoyer (push) à [Amazon Elastic Container Registry (INTUNE)](https://aws.amazon.com/ecr/) et la déployer sur [Amazon Elastic Container Service (ECS)](https://aws.amazon.com/ecs/) en cas d’envoi (push) vers la branche `main`.
|
||||
|
||||
On every new push to `main` in your {% data variables.product.company_short %} repository, the {% data variables.product.prodname_actions %} workflow builds and pushes a new container image to Amazon ECR, and then deploys a new task definition to Amazon ECS.
|
||||
À chaque envoi (push) `main` dans votre référentiel {% data variables.product.company_short %}, le workflow {% data variables.product.prodname_actions %} génère et envoie (push) une nouvelle image conteneur vers Amazon ECR, puis déploie une nouvelle définition de tâche vers Amazon ECS.
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.4 %}
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 or ghes > 3.4 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and ["Configuring OpenID Connect in Amazon Web Services"](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services).
|
||||
**Remarque** : {% data reusables.actions.about-oidc-short-overview %} et [« Configuration d’OpenID Connect dans Amazon Web Services »](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services).
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
## Prérequis
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps for Amazon ECR and ECS:
|
||||
Avant de créer votre workflow {% data variables.product.prodname_actions %}, vous devez suivre les étapes de configuration suivantes pour Amazon ECR et ECS :
|
||||
|
||||
1. Create an Amazon ECR repository to store your images.
|
||||
1. Créez un référentiel Amazon ECR pour stocker vos images.
|
||||
|
||||
For example, using [the AWS CLI](https://aws.amazon.com/cli/):
|
||||
Par exemple à l’aide de l’interface [CLI AWS](https://aws.amazon.com/cli/) :
|
||||
|
||||
{% raw %}```bash{:copy}
|
||||
aws ecr create-repository \
|
||||
{% raw %}```bash{:copy} aws ecr create-repository \
|
||||
--repository-name MY_ECR_REPOSITORY \
|
||||
--region MY_AWS_REGION
|
||||
```{% endraw %}
|
||||
@@ -143,12 +146,8 @@ jobs:
|
||||
# push it to ECR so that it can
|
||||
# be deployed to ECS.
|
||||
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
|
||||
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG{% endraw %}
|
||||
{%- ifversion actions-save-state-set-output-envs %}
|
||||
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
|
||||
{%- else %}
|
||||
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
|
||||
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG"
|
||||
{%- endif %}{% raw %}
|
||||
|
||||
- name: Fill in the new image ID in the Amazon ECS task definition
|
||||
id: task-def
|
||||
@@ -167,14 +166,14 @@ jobs:
|
||||
wait-for-service-stability: true{% endraw %}
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
## Ressources supplémentaires
|
||||
|
||||
For the original starter workflow, see [`aws.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/aws.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
Pour le workflow de démarrage d’origine, consultez [`aws.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/aws.yml) dans le référentiel {% data variables.product.prodname_actions %} `starter-workflows`.
|
||||
|
||||
For more information on the services used in these examples, see the following documentation:
|
||||
Pour plus d’informations sur les services utilisés dans ces exemples, consultez la documentation suivante :
|
||||
|
||||
* "[Security best practices in IAM](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html)" in the Amazon AWS documentation.
|
||||
* Official AWS "[Configure AWS Credentials](https://github.com/aws-actions/configure-aws-credentials)" action.
|
||||
* Official AWS [Amazon ECR "Login"](https://github.com/aws-actions/amazon-ecr-login) action.
|
||||
* Official AWS [Amazon ECS "Render Task Definition"](https://github.com/aws-actions/amazon-ecs-render-task-definition) action.
|
||||
* Official AWS [Amazon ECS "Deploy Task Definition"](https://github.com/aws-actions/amazon-ecs-deploy-task-definition) action.
|
||||
* « [Meilleures pratiques de sécurité dans IAM](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html) » dans la documentation Amazon AWS.
|
||||
* Action officielle AWS « [Configurer les informations d’identification AWS](https://github.com/aws-actions/configure-aws-credentials) ».
|
||||
* Action officielle AWS [« Connexion » Amazon ECR](https://github.com/aws-actions/amazon-ecr-login).
|
||||
* Action officielle AWS [« Définition de tâche de rendu » Amazon ECS.](https://github.com/aws-actions/amazon-ecs-render-task-definition)
|
||||
* Action officielle AWS [« Définition de tâche de déploiement » Amazon ECS.](https://github.com/aws-actions/amazon-ecs-deploy-task-definition)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Deploying Docker to Azure App Service
|
||||
intro: You can deploy a Docker container to Azure App Service as part of your continuous deployment (CD) workflows.
|
||||
title: Déploiement de Docker sur Azure App Service
|
||||
intro: Vous pouvez déployer un conteneur Docker sur Azure App Service dans le cadre de vos workflows de déploiement continu (CD).
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -12,34 +12,38 @@ topics:
|
||||
- Containers
|
||||
- Docker
|
||||
- Azure App Service
|
||||
ms.openlocfilehash: bfae92b757e4d3224efc1e94f1f4377a4183e4d2
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147410354'
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build and deploy a Docker container to [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
Ce guide explique comment utiliser {% data variables.product.prodname_actions %} pour créer et déployer un conteneur Docker sur [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.4 %}
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 or ghes > 3.4 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
**Remarque :** {% data reusables.actions.about-oidc-short-overview %} et « [Configuration d’OpenID Connecter dans Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure) ».
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
## Prérequis
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
Avant de créer votre workflow {% data variables.product.prodname_actions %}, vous devez suivre les étapes de configuration suivantes :
|
||||
|
||||
{% data reusables.actions.create-azure-app-plan %}
|
||||
|
||||
1. Create a web app.
|
||||
1. Créez une application web.
|
||||
|
||||
For example, you can use the Azure CLI to create an Azure App Service web app:
|
||||
Par exemple, vous pouvez utiliser Azure CLI pour créer une application web Azure App Service :
|
||||
|
||||
```bash{:copy}
|
||||
az webapp create \
|
||||
@@ -49,15 +53,15 @@ Before creating your {% data variables.product.prodname_actions %} workflow, you
|
||||
--deployment-container-image-name nginx:latest
|
||||
```
|
||||
|
||||
In the command above, replace the parameters with your own values, where `MY_WEBAPP_NAME` is a new name for the web app.
|
||||
Dans la commande ci-dessus, remplacez les paramètres par vos propres valeurs, où `MY_WEBAPP_NAME` correspond au nouveau nom de l’application web.
|
||||
|
||||
{% data reusables.actions.create-azure-publish-profile %}
|
||||
|
||||
1. Set registry credentials for your web app.
|
||||
1. Définissez les informations d’identification du Registre pour votre application web.
|
||||
|
||||
Create a {% data variables.product.pat_v1 %} with the `repo` and `read:packages` scopes. For more information, see "[Creating a {% data variables.product.pat_generic %}](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)."
|
||||
Créez un jeton d’accès personnel avec les étendues `repo` et `read:packages`. Pour plus d’informations, consultez « [Création d’un jeton d’accès personnel](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) ».
|
||||
|
||||
Set `DOCKER_REGISTRY_SERVER_URL` to `https://ghcr.io`, `DOCKER_REGISTRY_SERVER_USERNAME` to the GitHub username or organization that owns the repository, and `DOCKER_REGISTRY_SERVER_PASSWORD` to your {% data variables.product.pat_generic %} from above. This will give your web app credentials so it can pull the container image after your workflow pushes a newly built image to the registry. You can do this with the following Azure CLI command:
|
||||
Définissez `DOCKER_REGISTRY_SERVER_URL` sur `https://ghcr.io`, `DOCKER_REGISTRY_SERVER_USERNAME` sur le nom d’utilisateur GitHub ou l’organisation propriétaire du référentiel, et `DOCKER_REGISTRY_SERVER_PASSWORD` sur votre jeton d’accès personnel ci-dessus. Cela donnera à votre application web des informations d’identification qui lui permettront d’extraire l’image conteneur une fois que votre workflow aura envoyé une image nouvellement générée au Registre. Pour ce faire, vous pouvez utiliser la commande Azure CLI suivante :
|
||||
|
||||
```shell
|
||||
az webapp config appsettings set \
|
||||
@@ -66,15 +70,15 @@ Before creating your {% data variables.product.prodname_actions %} workflow, you
|
||||
--settings DOCKER_REGISTRY_SERVER_URL=https://ghcr.io DOCKER_REGISTRY_SERVER_USERNAME=MY_REPOSITORY_OWNER DOCKER_REGISTRY_SERVER_PASSWORD=MY_PERSONAL_ACCESS_TOKEN
|
||||
```
|
||||
|
||||
5. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %}
|
||||
5. Si vous le souhaitez, configurez un environnement de déploiement. {% data reusables.actions.about-environments %}
|
||||
|
||||
## Creating the workflow
|
||||
## Création du workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
Une fois les conditions préalables remplies, vous pouvez procéder à la création du workflow.
|
||||
|
||||
The following example workflow demonstrates how to build and deploy a Docker container to Azure App Service when there is a push to the `main` branch.
|
||||
L’exemple de workflow suivant montre comment créer et déployer un conteneur Docker sur Azure App Service lorsqu’il y a un envoi (push) vers la branche `main`.
|
||||
|
||||
Ensure that you set `AZURE_WEBAPP_NAME` in the workflow `env` key to the name of the web app you created.
|
||||
Veillez à définir le paramètre `AZURE_WEBAPP_NAME` de la clé `env` du workflow sur le nom de l’application web que vous avez créée.
|
||||
|
||||
{% data reusables.actions.delete-env-key %}
|
||||
|
||||
@@ -146,10 +150,10 @@ jobs:
|
||||
images: 'ghcr.io/{% raw %}${{ env.REPO }}{% endraw %}:{% raw %}${{ github.sha }}{% endraw %}'
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
## Ressources supplémentaires
|
||||
|
||||
The following resources may also be useful:
|
||||
Les ressources suivantes peuvent également être utiles :
|
||||
|
||||
* For the original starter workflow, see [`azure-container-webapp.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-container-webapp.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The action used to deploy the web app is the official Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) action.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
* Pour le workflow de démarrage d’origine, consultez [`azure-container-webapp.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-container-webapp.yml) dans le dépôt `starter-workflows` de {% data variables.product.prodname_actions %}.
|
||||
* L’action utilisée pour déployer l’application web est l’action Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) officielle.
|
||||
* Pour obtenir d’autres exemples de workflows GitHub Action qui se déploient sur Azure, reportez-vous au dépôt [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Deploying Java to Azure App Service
|
||||
intro: You can deploy your Java project to Azure App Service as part of your continuous deployment (CD) workflows.
|
||||
title: Déploiement de Java sur Azure App Service
|
||||
intro: Vous pouvez déployer votre projet Java sur Azure App Service dans le cadre de vos workflows de déploiement continu (CD).
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -11,34 +11,38 @@ topics:
|
||||
- CD
|
||||
- Java
|
||||
- Azure App Service
|
||||
ms.openlocfilehash: ede24c0173cfe0493ad529b2f5d8a03f97ade7b9
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147410098'
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build and deploy a Java project to [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
Ce guide explique comment utiliser {% data variables.product.prodname_actions %} pour créer et déployer un projet Java sur [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.4 %}
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 or ghes > 3.4 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
**Remarque :** {% data reusables.actions.about-oidc-short-overview %} et « [Configuration d’OpenID Connecter dans Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure) ».
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
## Prérequis
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
Avant de créer votre workflow {% data variables.product.prodname_actions %}, vous devez suivre les étapes de configuration suivantes :
|
||||
|
||||
{% data reusables.actions.create-azure-app-plan %}
|
||||
|
||||
1. Create a web app.
|
||||
1. Créez une application web.
|
||||
|
||||
For example, you can use the Azure CLI to create an Azure App Service web app with a Java runtime:
|
||||
Par exemple, vous pouvez utiliser Azure CLI pour créer une application web Azure App Service avec un runtime Java :
|
||||
|
||||
```bash{:copy}
|
||||
az webapp create \
|
||||
@@ -48,19 +52,19 @@ Before creating your {% data variables.product.prodname_actions %} workflow, you
|
||||
--runtime "JAVA|11-java11"
|
||||
```
|
||||
|
||||
In the command above, replace the parameters with your own values, where `MY_WEBAPP_NAME` is a new name for the web app.
|
||||
Dans la commande ci-dessus, remplacez les paramètres par vos propres valeurs, où `MY_WEBAPP_NAME` correspond à un nouveau nom de l’application web.
|
||||
|
||||
{% data reusables.actions.create-azure-publish-profile %}
|
||||
|
||||
1. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %}
|
||||
1. Si vous le souhaitez, configurez un environnement de déploiement. {% data reusables.actions.about-environments %}
|
||||
|
||||
## Creating the workflow
|
||||
## Création du workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
Une fois les conditions préalables remplies, vous pouvez procéder à la création du workflow.
|
||||
|
||||
The following example workflow demonstrates how to build and deploy a Java project to Azure App Service when there is a push to the `main` branch.
|
||||
L’exemple de workflow suivant montre comment créer et déployer un projet Java sur Azure App Service lorsqu’il existe une poussée (push) vers la branche `main`.
|
||||
|
||||
Ensure that you set `AZURE_WEBAPP_NAME` in the workflow `env` key to the name of the web app you created. If you want to use a Java version other than `11`, change `JAVA_VERSION`.
|
||||
Veillez à définir le paramètre `AZURE_WEBAPP_NAME` de la clé `env` du workflow sur le nom de l’application web que vous avez créée. Si vous souhaitez utiliser une version Java autre que `11`, modifiez `JAVA_VERSION`.
|
||||
|
||||
{% data reusables.actions.delete-env-key %}
|
||||
|
||||
@@ -124,10 +128,10 @@ jobs:
|
||||
package: '*.jar'
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
## Ressources supplémentaires
|
||||
|
||||
The following resources may also be useful:
|
||||
Les ressources suivantes peuvent également être utiles :
|
||||
|
||||
* For the original starter workflow, see [`azure-webapps-java-jar.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-java-jar.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The action used to deploy the web app is the official Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) action.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
* Pour le workflow de démarrage d’origine, consultez [`azure-webapps-java-jar.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-java-jar.yml) dans le dépôt `starter-workflows` de {% data variables.product.prodname_actions %}.
|
||||
* L’action utilisée pour déployer l’application web est l’action Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) officielle.
|
||||
* Pour obtenir d’autres exemples de workflows GitHub Action qui se déploient sur Azure, reportez-vous au dépôt [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Deploying .NET to Azure App Service
|
||||
intro: You can deploy your .NET project to Azure App Service as part of your continuous deployment (CD) workflows.
|
||||
title: Déploiement de .NET sur Azure App Service
|
||||
intro: Vous pouvez déployer votre projet .NET sur Azure App Service dans le cadre de vos workflows de déploiement continu (CD).
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -10,34 +10,38 @@ type: tutorial
|
||||
topics:
|
||||
- CD
|
||||
- Azure App Service
|
||||
ms.openlocfilehash: cb71e0016157d7d1fdd366819840ea90d104e8dc
|
||||
ms.sourcegitcommit: fb047f9450b41b24afc43d9512a5db2a2b750a2a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/10/2022
|
||||
ms.locfileid: '147410034'
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build and deploy a .NET project to [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
Ce guide explique comment utiliser {% data variables.product.prodname_actions %} pour créer et déployer un projet .NET sur [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.4 %}
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 or ghes > 3.4 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
**Remarque :** {% data reusables.actions.about-oidc-short-overview %} et « [Configuration d’OpenID Connecter dans Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure) ».
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
## Prérequis
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
Avant de créer votre workflow {% data variables.product.prodname_actions %}, vous devez suivre les étapes de configuration suivantes :
|
||||
|
||||
{% data reusables.actions.create-azure-app-plan %}
|
||||
|
||||
2. Create a web app.
|
||||
2. Créez une application web.
|
||||
|
||||
For example, you can use the Azure CLI to create an Azure App Service web app with a .NET runtime:
|
||||
Par exemple, vous pouvez utiliser Azure CLI pour créer une application web Azure App Service avec un runtime .NET :
|
||||
|
||||
```bash{:copy}
|
||||
az webapp create \
|
||||
@@ -47,19 +51,19 @@ Before creating your {% data variables.product.prodname_actions %} workflow, you
|
||||
--runtime "DOTNET|5.0"
|
||||
```
|
||||
|
||||
In the command above, replace the parameters with your own values, where `MY_WEBAPP_NAME` is a new name for the web app.
|
||||
Dans la commande ci-dessus, remplacez les paramètres par vos propres valeurs, où `MY_WEBAPP_NAME` est un nouveau nom pour l’application web.
|
||||
|
||||
{% data reusables.actions.create-azure-publish-profile %}
|
||||
|
||||
5. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %}
|
||||
5. Si vous le souhaitez, configurez un environnement de déploiement. {% data reusables.actions.about-environments %}
|
||||
|
||||
## Creating the workflow
|
||||
## Création du workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
Une fois que vous avez terminé les prérequis, vous pouvez passer à la création du workflow.
|
||||
|
||||
The following example workflow demonstrates how to build and deploy a .NET project to Azure App Service when there is a push to the `main` branch.
|
||||
L’exemple de workflow suivant montre comment créer et déployer un projet .NET sur Azure App Service lorsqu’il existe une poussée (push) vers la branche `main`.
|
||||
|
||||
Ensure that you set `AZURE_WEBAPP_NAME` in the workflow `env` key to the name of the web app you created. If the path to your project is not the repository root, change `AZURE_WEBAPP_PACKAGE_PATH`. If you use a version of .NET other than `5`, change `DOTNET_VERSION`.
|
||||
Vérifiez que vous définissez `AZURE_WEBAPP_NAME` dans la clé `env` du workflow sur le nom de l’application web que vous avez créée. Si le chemin d’accès à votre projet n’est pas la racine du dépôt, modifiez `AZURE_WEBAPP_PACKAGE_PATH`. Si vous utilisez une version de .NET autre que `5`, modifiez `DOTNET_VERSION`.
|
||||
|
||||
{% data reusables.actions.delete-env-key %}
|
||||
|
||||
@@ -134,10 +138,10 @@ jobs:
|
||||
package: {% raw %}${{ env.AZURE_WEBAPP_PACKAGE_PATH }}{% endraw %}
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
## Ressources supplémentaires
|
||||
|
||||
The following resources may also be useful:
|
||||
Les ressources suivantes peuvent également être utiles :
|
||||
|
||||
* For the original starter workflow, see [`azure-webapps-dotnet-core.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-dotnet-core.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The action used to deploy the web app is the official Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) action.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
* Pour le workflow de démarrage d’origine, consultez [`azure-webapps-dotnet-core.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-dotnet-core.yml) dans le dépôt `starter-workflows` de {% data variables.product.prodname_actions %}.
|
||||
* L’action utilisée pour déployer l’application web est l’action Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) officielle.
|
||||
* Pour obtenir d’autres exemples de workflows GitHub Action qui se déploient sur Azure, reportez-vous au dépôt [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Deploying Node.js to Azure App Service
|
||||
intro: You can deploy your Node.js project to Azure App Service as part of your continuous deployment (CD) workflows.
|
||||
title: Déploiement de Node.js sur Azure App Service
|
||||
intro: Vous pouvez déployer votre projet Node.js sur Azure App Service dans le cadre de vos workflows de déploiement continu (CD).
|
||||
redirect_from:
|
||||
- /actions/guides/deploying-to-azure-app-service
|
||||
- /actions/deployment/deploying-to-azure-app-service
|
||||
@@ -16,34 +16,38 @@ topics:
|
||||
- Node
|
||||
- JavaScript
|
||||
- Azure App Service
|
||||
ms.openlocfilehash: d4b5a5f19098d2b84b63ae56791814eadb0fcb72
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147410170'
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build, test, and deploy a Node.js project to [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
Ce guide explique comment utiliser {% data variables.product.prodname_actions %} pour créer, tester et déployer un projet Node.js sur [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.4 %}
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 or ghes > 3.4 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
**Remarque :** {% data reusables.actions.about-oidc-short-overview %} et « [Configuration d’OpenID Connecter dans Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure) ».
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
## Prérequis
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
Avant de créer votre workflow {% data variables.product.prodname_actions %}, vous devez suivre les étapes de configuration suivantes :
|
||||
|
||||
{% data reusables.actions.create-azure-app-plan %}
|
||||
|
||||
2. Create a web app.
|
||||
2. Créez une application web.
|
||||
|
||||
For example, you can use the Azure CLI to create an Azure App Service web app with a Node.js runtime:
|
||||
Par exemple, vous pouvez utiliser Azure CLI pour créer une application web Azure App Service avec un runtime Node.js :
|
||||
|
||||
```bash{:copy}
|
||||
az webapp create \
|
||||
@@ -53,19 +57,19 @@ Before creating your {% data variables.product.prodname_actions %} workflow, you
|
||||
--runtime "NODE|14-lts"
|
||||
```
|
||||
|
||||
In the command above, replace the parameters with your own values, where `MY_WEBAPP_NAME` is a new name for the web app.
|
||||
Dans la commande ci-dessus, remplacez les paramètres par vos propres valeurs, où `MY_WEBAPP_NAME` correspond à un nouveau nom de l’application web.
|
||||
|
||||
{% data reusables.actions.create-azure-publish-profile %}
|
||||
|
||||
5. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %}
|
||||
5. Si vous le souhaitez, configurez un environnement de déploiement. {% data reusables.actions.about-environments %}
|
||||
|
||||
## Creating the workflow
|
||||
## Création du workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
Une fois les conditions préalables remplies, vous pouvez procéder à la création du workflow.
|
||||
|
||||
The following example workflow demonstrates how to build, test, and deploy the Node.js project to Azure App Service when there is a push to the `main` branch.
|
||||
L’exemple de workflow suivant montre comment créer, tester et déployer le projet Node.js sur Azure App Service lorsqu’il existe une poussée (push) vers la branche `main`.
|
||||
|
||||
Ensure that you set `AZURE_WEBAPP_NAME` in the workflow `env` key to the name of the web app you created. If the path to your project is not the repository root, change `AZURE_WEBAPP_PACKAGE_PATH` to your project path. If you use a version of Node.js other than `10.x`, change `NODE_VERSION` to the version that you use.
|
||||
Veillez à définir le paramètre `AZURE_WEBAPP_NAME` de la clé `env` du workflow sur le nom de l’application web que vous avez créée. Si le chemin d’accès à votre projet n’est pas la racine du dépôt, remplacez `AZURE_WEBAPP_PACKAGE_PATH` par le chemin d’accès de votre projet. Si vous utilisez une version de Node.js autre que `10.x`, remplacez `NODE_VERSION` par la version que vous utilisez.
|
||||
|
||||
{% data reusables.actions.delete-env-key %}
|
||||
|
||||
@@ -129,12 +133,11 @@ jobs:
|
||||
package: {% raw %}${{ env.AZURE_WEBAPP_PACKAGE_PATH }}{% endraw %}
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
## Ressources supplémentaires
|
||||
|
||||
The following resources may also be useful:
|
||||
Les ressources suivantes peuvent également être utiles :
|
||||
|
||||
* For the original starter workflow, see [`azure-webapps-node.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-node.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The action used to deploy the web app is the official Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) action.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the
|
||||
[actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
* The "[Create a Node.js web app in Azure](https://docs.microsoft.com/azure/app-service/quickstart-nodejs)" quickstart in the Azure web app documentation demonstrates using {% data variables.product.prodname_vscode %} with the [Azure App Service extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureappservice).
|
||||
* Pour le workflow de démarrage d’origine, consultez [`azure-webapps-node.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-node.yml) dans le dépôt `starter-workflows` de {% data variables.product.prodname_actions %}.
|
||||
* L’action utilisée pour déployer l’application web est l’action Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) officielle.
|
||||
* Pour obtenir d’autres exemples de workflows GitHub Action qui se déploient sur Azure, reportez-vous au dépôt [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples).
|
||||
* Le guide de démarrage rapide « [Créer une application web Node.js dans Azure](https://docs.microsoft.com/azure/app-service/quickstart-nodejs) » dans la documentation de l’application web Azure illustre l’utilisation de {% data variables.product.prodname_vscode %} avec l’[extension Azure App Service](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureappservice).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Deploying PHP to Azure App Service
|
||||
intro: You can deploy your PHP project to Azure App Service as part of your continuous deployment (CD) workflows.
|
||||
title: Déploiement de PHP sur Azure App Service
|
||||
intro: Vous pouvez déployer votre projet PHP sur Azure App Service dans le cadre de vos workflows de déploiement continu (CD).
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -10,34 +10,38 @@ type: tutorial
|
||||
topics:
|
||||
- CD
|
||||
- Azure App Service
|
||||
ms.openlocfilehash: 28314e1ccea9af232ff86712e86d7e6aec2d61a7
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147410162'
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build and deploy a PHP project to [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
Ce guide explique comment utiliser {% data variables.product.prodname_actions %} pour créer et déployer un projet PHP sur [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.4 %}
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 or ghes > 3.4 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
**Remarque :** {% data reusables.actions.about-oidc-short-overview %} et « [Configuration d’OpenID Connecter dans Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure) ».
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
## Prérequis
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
Avant de créer votre workflow {% data variables.product.prodname_actions %}, vous devez suivre les étapes de configuration suivantes :
|
||||
|
||||
{% data reusables.actions.create-azure-app-plan %}
|
||||
|
||||
2. Create a web app.
|
||||
2. Créez une application web.
|
||||
|
||||
For example, you can use the Azure CLI to create an Azure App Service web app with a PHP runtime:
|
||||
Par exemple, vous pouvez utiliser Azure CLI pour créer une application web Azure App Service avec un runtime PHP :
|
||||
|
||||
```bash{:copy}
|
||||
az webapp create \
|
||||
@@ -47,19 +51,19 @@ Before creating your {% data variables.product.prodname_actions %} workflow, you
|
||||
--runtime "php|7.4"
|
||||
```
|
||||
|
||||
In the command above, replace the parameters with your own values, where `MY_WEBAPP_NAME` is a new name for the web app.
|
||||
Dans la commande ci-dessus, remplacez les paramètres par vos propres valeurs, où `MY_WEBAPP_NAME` correspond au nouveau nom de l’application web.
|
||||
|
||||
{% data reusables.actions.create-azure-publish-profile %}
|
||||
|
||||
5. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %}
|
||||
5. Si vous le souhaitez, configurez un environnement de déploiement. {% data reusables.actions.about-environments %}
|
||||
|
||||
## Creating the workflow
|
||||
## Création du workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
Une fois les conditions préalables remplies, vous pouvez procéder à la création du workflow.
|
||||
|
||||
The following example workflow demonstrates how to build and deploy a PHP project to Azure App Service when there is a push to the `main` branch.
|
||||
L’exemple de workflow suivant montre comment créer et déployer un projet PHP sur Azure App Service lorsqu’il existe une poussée (push) vers la branche `main`.
|
||||
|
||||
Ensure that you set `AZURE_WEBAPP_NAME` in the workflow `env` key to the name of the web app you created. If the path to your project is not the repository root, change `AZURE_WEBAPP_PACKAGE_PATH` to the path to your project. If you use a version of PHP other than `8.x`, change`PHP_VERSION` to the version that you use.
|
||||
Veillez à définir le paramètre `AZURE_WEBAPP_NAME` de la clé `env` du workflow sur le nom de l’application web que vous avez créée. Si le chemin d’accès à votre projet n’est pas la racine du référentiel, remplacez `AZURE_WEBAPP_PACKAGE_PATH` par le chemin d’accès à votre projet. Si vous utilisez une version de PHP autre que `8.x`, remplacez `PHP_VERSION` par la version que vous utilisez.
|
||||
|
||||
{% data reusables.actions.delete-env-key %}
|
||||
|
||||
@@ -102,11 +106,7 @@ jobs:
|
||||
id: composer-cache
|
||||
if: steps.check_files.outputs.files_exists == 'true'
|
||||
run: |
|
||||
{%- ifversion actions-save-state-set-output-envs %}
|
||||
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||
{%- else %}
|
||||
echo "::set-output name=dir::$(composer config cache-files-dir)"
|
||||
{%- endif %}
|
||||
|
||||
- name: Set up dependency caching for faster installs
|
||||
uses: {% data reusables.actions.action-cache %}
|
||||
@@ -149,10 +149,10 @@ jobs:
|
||||
package: .
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
## Ressources supplémentaires
|
||||
|
||||
The following resources may also be useful:
|
||||
Les ressources suivantes peuvent également être utiles :
|
||||
|
||||
* For the original starter workflow, see [`azure-webapps-php.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-php.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The action used to deploy the web app is the official Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) action.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
* Pour le workflow de démarrage d’origine, consultez [`azure-webapps-php.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-php.yml) dans le dépôt `starter-workflows` de {% data variables.product.prodname_actions %}.
|
||||
* L’action utilisée pour déployer l’application web est l’action Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) officielle.
|
||||
* Pour obtenir d’autres exemples de workflows GitHub Action qui se déploient sur Azure, reportez-vous au dépôt [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Deploying Python to Azure App Service
|
||||
intro: You can deploy your Python project to Azure App Service as part of your continuous deployment (CD) workflows.
|
||||
title: Déploiement de Python sur Azure App Service
|
||||
intro: Vous pouvez déployer votre projet Python sur Azure App Service dans le cadre de vos workflows de déploiement continu (CD).
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -11,34 +11,38 @@ topics:
|
||||
- CD
|
||||
- Python
|
||||
- Azure App Service
|
||||
ms.openlocfilehash: c9f1bc719068a250aaabfbb8dcb3581335dabdb1
|
||||
ms.sourcegitcommit: 5f9527483381cfb1e41f2322f67c80554750a47d
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/12/2022
|
||||
ms.locfileid: '147886813'
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build and deploy a Python project to [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
Ce guide explique comment utiliser {% data variables.product.prodname_actions %} pour créer et déployer un projet Python sur [Azure App Service](https://azure.microsoft.com/services/app-service/).
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.4 %}
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 or ghes > 3.4 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
**Remarque :** {% data reusables.actions.about-oidc-short-overview %} et « [Configuration d’OpenID Connecter dans Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure) ».
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
## Prérequis
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
Avant de créer votre workflow {% data variables.product.prodname_actions %}, vous devez suivre les étapes de configuration suivantes :
|
||||
|
||||
{% data reusables.actions.create-azure-app-plan %}
|
||||
|
||||
1. Create a web app.
|
||||
1. Créez une application web.
|
||||
|
||||
For example, you can use the Azure CLI to create an Azure App Service web app with a Python runtime:
|
||||
Par exemple, vous pouvez utiliser Azure CLI pour créer une application web Azure App Service avec un runtime Python :
|
||||
|
||||
```bash{:copy}
|
||||
az webapp create \
|
||||
@@ -48,21 +52,21 @@ Before creating your {% data variables.product.prodname_actions %} workflow, you
|
||||
--runtime "python|3.8"
|
||||
```
|
||||
|
||||
In the command above, replace the parameters with your own values, where `MY_WEBAPP_NAME` is a new name for the web app.
|
||||
Dans la commande ci-dessus, remplacez les paramètres par vos propres valeurs, où `MY_WEBAPP_NAME` est un nouveau nom pour l’application web.
|
||||
|
||||
{% data reusables.actions.create-azure-publish-profile %}
|
||||
|
||||
1. Add an app setting called `SCM_DO_BUILD_DURING_DEPLOYMENT` and set the value to `1`.
|
||||
1. Ajoutez un paramètres d’application appelé `SCM_DO_BUILD_DURING_DEPLOYMENT` et définissez sa valeur sur `1`.
|
||||
|
||||
5. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %}
|
||||
5. Si vous le souhaitez, configurez un environnement de déploiement. {% data reusables.actions.about-environments %}
|
||||
|
||||
## Creating the workflow
|
||||
## Création du workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
Une fois que vous avez terminé les prérequis, vous pouvez passer à la création du workflow.
|
||||
|
||||
The following example workflow demonstrates how to build and deploy a Python project to Azure App Service when there is a push to the `main` branch.
|
||||
L’exemple de workflow suivant montre comment créer et déployer un projet Python sur Azure App Service lorsqu’il existe une poussée (push) vers la branche `main`.
|
||||
|
||||
Ensure that you set `AZURE_WEBAPP_NAME` in the workflow `env` key to the name of the web app you created. If you use a version of Python other than `3.8`, change `PYTHON_VERSION` to the version that you use.
|
||||
Vérifiez que vous définissez `AZURE_WEBAPP_NAME` dans la clé `env` du workflow sur le nom de l’application web que vous avez créée. Si vous utilisez une version de Python autre que `3.8`, remplacez `PYTHON_VERSION` par la version que vous utilisez.
|
||||
|
||||
{% data reusables.actions.delete-env-key %}
|
||||
|
||||
@@ -141,10 +145,10 @@ jobs:
|
||||
publish-profile: {% raw %}${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}{% endraw %}
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
## Ressources supplémentaires
|
||||
|
||||
The following resources may also be useful:
|
||||
Les ressources suivantes peuvent également être utiles :
|
||||
|
||||
* For the original starter workflow, see [`azure-webapps-python.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-python.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The action used to deploy the web app is the official Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) action.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
* Pour le workflow de démarrage d’origine, consultez [`azure-webapps-python.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-webapps-python.yml) dans le dépôt `starter-workflows` de {% data variables.product.prodname_actions %}.
|
||||
* L’action utilisée pour déployer l’application web est l’action Azure [`Azure/webapps-deploy`](https://github.com/Azure/webapps-deploy) officielle.
|
||||
* Pour obtenir d’autres exemples de workflows GitHub Action qui se déploient sur Azure, reportez-vous au dépôt [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Deploying to Azure Kubernetes Service
|
||||
intro: You can deploy your project to Azure Kubernetes Service (AKS) as part of your continuous deployment (CD) workflows.
|
||||
title: Déploiement sur Azure Kubernetes Service
|
||||
intro: Vous pouvez déployer votre projet sur AKS (Azure Kubernetes Service) dans le cadre de vos workflows de déploiement continu (CD).
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -10,47 +10,51 @@ type: tutorial
|
||||
topics:
|
||||
- CD
|
||||
- Azure Kubernetes Service
|
||||
ms.openlocfilehash: 5c3052f1f432663a38be6aa15376c186c96193ca
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147410122'
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build and deploy a project to [Azure Kubernetes Service](https://azure.microsoft.com/services/kubernetes-service/).
|
||||
Ce guide explique comment utiliser {% data variables.product.prodname_actions %} pour créer et déployer un projet sur [Azure Kubernetes Service](https://azure.microsoft.com/services/kubernetes-service/).
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.4 %}
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 or ghes > 3.4 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
**Remarque :** {% data reusables.actions.about-oidc-short-overview %} et « [Configuration d’OpenID Connecter dans Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure) ».
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
## Prérequis
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
Avant de créer votre workflow {% data variables.product.prodname_actions %}, vous devez suivre les étapes de configuration suivantes :
|
||||
|
||||
1. Create a target AKS cluster and an Azure Container Registry (ACR). For more information, see "[Quickstart: Deploy an AKS cluster by using the Azure portal - Azure Kubernetes Service](https://docs.microsoft.com/azure/aks/kubernetes-walkthrough-portal)" and "[Quickstart - Create registry in portal - Azure Container Registry](https://docs.microsoft.com/azure/container-registry/container-registry-get-started-portal)" in the Azure documentation.
|
||||
1. Créez un cluster AKS cible et un registre de conteneurs Azure (ACR). Pour plus d’informations, consultez « [Démarrage rapide – Déployer un cluster AKS avec le portail Azure – Azure Kubernetes Service](https://docs.microsoft.com/azure/aks/kubernetes-walkthrough-portal) » et « [Démarrage rapide – Créer un registre dans le portail – Azure Container Registry](https://docs.microsoft.com/azure/container-registry/container-registry-get-started-portal) » dans la documentation Azure.
|
||||
|
||||
1. Create a secret called `AZURE_CREDENTIALS` to store your Azure credentials. For more information about how to find this information and structure the secret, see [the `Azure/login` action documentation](https://github.com/Azure/login#configure-a-service-principal-with-a-secret).
|
||||
1. Créez un secret appelé `AZURE_CREDENTIALS` pour stocker vos informations d’identification Azure. Pour plus d’informations sur la façon de trouver ces informations et de structurer le secret, consultez [la documentation de l’action `Azure/login`](https://github.com/Azure/login#configure-a-service-principal-with-a-secret).
|
||||
|
||||
## Creating the workflow
|
||||
## Création du workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
Une fois les conditions préalables remplies, vous pouvez procéder à la création du workflow.
|
||||
|
||||
The following example workflow demonstrates how to build and deploy a project to Azure Kubernetes Service when code is pushed to your repository.
|
||||
L’exemple de workflow suivant montre comment générer et déployer un projet sur Azure Kubernetes Service lorsque le code est poussé (push) vers votre dépôt.
|
||||
|
||||
Under the workflow `env` key, change the following values:
|
||||
- `AZURE_CONTAINER_REGISTRY` to the name of your container registry
|
||||
- `PROJECT_NAME` to the name of your project
|
||||
- `RESOURCE_GROUP` to the resource group containing your AKS cluster
|
||||
- `CLUSTER_NAME` to the name of your AKS cluster
|
||||
Sous la clé `env` de workflow, remplacez les valeurs suivantes :
|
||||
- `AZURE_CONTAINER_REGISTRY` par le nom de votre registre de conteneurs
|
||||
- `PROJECT_NAME` par le nom de votre projet
|
||||
- `RESOURCE_GROUP` par le groupe de ressources contenant votre cluster AKS
|
||||
- `CLUSTER_NAME` par le nom de votre cluster AKS
|
||||
|
||||
This workflow uses the `helm` render engine for the [`azure/k8s-bake` action](https://github.com/Azure/k8s-bake). If you will use the `helm` render engine, change the value of `CHART_PATH` to the path to your helm file. Change `CHART_OVERRIDE_PATH` to an array of override file paths. If you use a different render engine, update the input parameters sent to the `azure/k8s-bake` action.
|
||||
Ce workflow utilise le moteur de rendu `helm` pour l’[action `azure/k8s-bake`](https://github.com/Azure/k8s-bake). Si vous envisagez d’utiliser le moteur de rendu `helm`, remplacez la valeur de `CHART_PATH` par le chemin d’accès à votre fichier helm. Remplacez `CHART_OVERRIDE_PATH` par un tableau de chemins de fichiers de remplacement. Si vous utilisez un autre moteur de rendu, mettez à jour les paramètres d’entrée envoyés à l’action `azure/k8s-bake`.
|
||||
|
||||
```yaml{:copy}
|
||||
{% data reusables.actions.actions-not-certified-by-github-comment %}
|
||||
@@ -119,10 +123,10 @@ jobs:
|
||||
{% raw %}${{ env.PROJECT_NAME }}{% endraw %}
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
## Ressources supplémentaires
|
||||
|
||||
The following resources may also be useful:
|
||||
Les ressources suivantes peuvent également être utiles :
|
||||
|
||||
* For the original starter workflow, see [`azure-kubernetes-service.yml `](https://github.com/actions/starter-workflows/blob/main/deployments/azure-kubernetes-service.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The actions used to in this workflow are the official Azure [`Azure/login`](https://github.com/Azure/login),[`Azure/aks-set-context`](https://github.com/Azure/aks-set-context), [`Azure/CLI`](https://github.com/Azure/CLI), [`Azure/k8s-bake`](https://github.com/Azure/k8s-bake), and [`Azure/k8s-deploy`](https://github.com/Azure/k8s-deploy)actions.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
* Pour le workflow de démarrage d’origine, consultez [`azure-kubernetes-service.yml `](https://github.com/actions/starter-workflows/blob/main/deployments/azure-kubernetes-service.yml) dans le dépôt `starter-workflows` de {% data variables.product.prodname_actions %}.
|
||||
* Les actions utilisées dans ce workflow sont les actions Azure [`Azure/login`](https://github.com/Azure/login), [`Azure/aks-set-context`](https://github.com/Azure/aks-set-context), [`Azure/CLI`](https://github.com/Azure/CLI), [`Azure/k8s-bake`](https://github.com/Azure/k8s-bake) et [`Azure/k8s-deploy`](https://github.com/Azure/k8s-deploy) officielles.
|
||||
* Pour obtenir d’autres exemples de workflows GitHub Action qui se déploient sur Azure, reportez-vous au dépôt [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Deploying to Azure Static Web App
|
||||
intro: You can deploy your web app to Azure Static Web App as part of your continuous deployment (CD) workflows.
|
||||
title: Déploiement sur Azure Static Web Apps
|
||||
intro: Vous pouvez déployer votre application web sur Azure Static Web App dans le cadre de vos workflows de déploiement continu (CD).
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
@@ -10,46 +10,50 @@ type: tutorial
|
||||
topics:
|
||||
- CD
|
||||
- Azure Static Web Apps
|
||||
ms.openlocfilehash: 3e5b9a90e91e237fbd1b5679624ed3cdb3865856
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147410546'
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build and deploy a web app to [Azure Static Web Apps](https://azure.microsoft.com/services/app-service/static/).
|
||||
Ce guide explique comment utiliser {% data variables.product.prodname_actions %} pour générer et déployer une application web sur [Azure Static Web Apps](https://azure.microsoft.com/services/app-service/static/).
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.4 %}
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 or ghes > 3.4 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %} and "[Configuring OpenID Connect in Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure)."
|
||||
**Remarque :** {% data reusables.actions.about-oidc-short-overview %} et « [Configuration d’OpenID Connecter dans Azure](/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure) ».
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
## Prérequis
|
||||
|
||||
Before creating your {% data variables.product.prodname_actions %} workflow, you will first need to complete the following setup steps:
|
||||
Pour pouvoir créer votre flux de travail {% data variables.product.prodname_actions %}, vous devez d’abord suivre la procédure de configuration ci-dessous :
|
||||
|
||||
1. Create an Azure Static Web App using the 'Other' option for deployment source. For more information, see "[Quickstart: Building your first static site in the Azure portal](https://docs.microsoft.com/azure/static-web-apps/get-started-portal)" in the Azure documentation.
|
||||
1. Créez une application Azure Static Web Apps en utilisant l’option « Autre » comme source de déploiement. Pour plus d’informations, consultez « [Démarrage rapide : Création d’un premier site statique sur le Portail Azure](https://docs.microsoft.com/azure/static-web-apps/get-started-portal) » dans la documentation Azure.
|
||||
|
||||
2. Create a secret called `AZURE_STATIC_WEB_APPS_API_TOKEN` with the value of your static web app deployment token. For more information about how to find your deployment token, see "[Reset deployment tokens in Azure Static Web Apps](https://docs.microsoft.com/azure/static-web-apps/deployment-token-management)" in the Azure documentation.
|
||||
2. Créez un secret appelé `AZURE_STATIC_WEB_APPS_API_TOKEN` avec la valeur de votre jeton de déploiement d’application Static Web Apps. Pour savoir comment trouver votre jeton de déploiement, consultez « [Réinitialisation des jetons de déploiement dans Azure Static Web Apps](https://docs.microsoft.com/azure/static-web-apps/deployment-token-management) » dans la documentation Azure.
|
||||
|
||||
## Creating the workflow
|
||||
## Création du flux de travail
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
Une fois que vous avez rempli les prérequis, vous pouvez passer à la création du flux de travail.
|
||||
|
||||
The following example workflow demonstrates how to build and deploy an Azure static web app when there is a push to the `main` branch or when a pull request targeting `main` is opened, synchronized, or reopened. The workflow also tears down the corresponding pre-production deployment when a pull request targeting `main` is closed.
|
||||
L’exemple de flux de travail suivant montre comment générer et déployer une application Azure Static Web Apps en cas d’envoi (push) vers la branche `main` ou lorsqu’une demande de tirage (pull request) ciblant `main` est ouverte, synchronisée ou rouverte. Le flux de travail supprime également le déploiement de préproduction correspondant dès lors qu’une demande de tirage visant `main` est fermée.
|
||||
|
||||
Under the workflow `env` key, change the following values:
|
||||
- `APP_LOCATION` to the location of your client code
|
||||
- `API_LOCATION` to the location of your API source code. If `API_LOCATION` is not relevant, you can delete the variable and the lines where it is used.
|
||||
- `APP_ARTIFACT_LOCATION` to the location of your client code build output
|
||||
Sous la clé de flux de travail `env`, remplacez les valeurs suivantes :
|
||||
- `APP_LOCATION` par l’emplacement de votre code client ;
|
||||
- `API_LOCATION` par l’emplacement de votre code source d’API (si `API_LOCATION` n’est pas pertinent, vous pouvez supprimer la variable et les lignes où elle est utilisée) ;
|
||||
- `APP_ARTIFACT_LOCATION` par l’emplacement de la sortie de build de votre code client.
|
||||
|
||||
For more information about these values, see "[Build configuration for Azure Static Web Apps](https://docs.microsoft.com/azure/static-web-apps/build-configuration?tabs=github-actions)" in the Azure documentation.
|
||||
Pour plus d’informations sur ces valeurs, consultez « [Configuration de build pour Azure Static Web Apps](https://docs.microsoft.com/azure/static-web-apps/build-configuration?tabs=github-actions) » dans la documentation Azure.
|
||||
|
||||
```yaml{:copy}
|
||||
{% data reusables.actions.actions-not-certified-by-github-comment %}
|
||||
@@ -107,10 +111,10 @@ jobs:
|
||||
action: "close"
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
## Ressources supplémentaires
|
||||
|
||||
The following resources may also be useful:
|
||||
Les ressources suivantes peuvent également être utiles :
|
||||
|
||||
* For the original starter workflow, see [`azure-staticwebapp.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-staticwebapp.yml) in the {% data variables.product.prodname_actions %} `starter-workflows` repository.
|
||||
* The action used to deploy the web app is the official Azure [`Azure/static-web-apps-deploy`](https://github.com/Azure/static-web-apps-deploy) action.
|
||||
* For more examples of GitHub Action workflows that deploy to Azure, see the [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples) repository.
|
||||
* Pour le workflow de démarrage d’origine, consultez [`azure-staticwebapp.yml`](https://github.com/actions/starter-workflows/blob/main/deployments/azure-staticwebapp.yml) dans le dépôt `starter-workflows` de {% data variables.product.prodname_actions %}.
|
||||
* L’action utilisée pour déployer l’application web est l’action Azure [`Azure/static-web-apps-deploy`](https://github.com/Azure/static-web-apps-deploy) officielle.
|
||||
* Pour obtenir d’autres exemples de workflows GitHub Action qui se déploient sur Azure, reportez-vous au dépôt [actions-workflow-samples](https://github.com/Azure/actions-workflow-samples).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Deploying to Google Kubernetes Engine
|
||||
intro: You can deploy to Google Kubernetes Engine as part of your continuous deployment (CD) workflows.
|
||||
title: Déploiement sur Google Kubernetes Engine
|
||||
intro: Vous pouvez déployer sur le moteur Google Kubernetes dans le cadre de vos workflows de déploiement continu (CD).
|
||||
redirect_from:
|
||||
- /actions/guides/deploying-to-google-kubernetes-engine
|
||||
- /actions/deployment/deploying-to-google-kubernetes-engine
|
||||
@@ -15,122 +15,121 @@ topics:
|
||||
- Containers
|
||||
- Google Kubernetes Engine
|
||||
shortTitle: Deploy to Google Kubernetes Engine
|
||||
ms.openlocfilehash: 0572a326d52654b256e0e1ad7fe9c9c4e9d547ac
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147409546'
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide explains how to use {% data variables.product.prodname_actions %} to build a containerized application, push it to Google Container Registry (GCR), and deploy it to Google Kubernetes Engine (GKE) when there is a push to the `main` branch.
|
||||
Ce guide explique comment utiliser {% data variables.product.prodname_actions %} pour créer une application conteneurisée, l’envoyer (push) à Google Container Registry (GCR) et la déployer sur Google Kubernetes Engine (GKE) lors d’un envoi (push) à la branche `main`.
|
||||
|
||||
GKE is a managed Kubernetes cluster service from Google Cloud that can host your containerized workloads in the cloud or in your own datacenter. For more information, see [Google Kubernetes Engine](https://cloud.google.com/kubernetes-engine).
|
||||
GKE est un service de clusters Kubernetes managés à partir de Google Cloud qui peut héberger vos charges de travail conteneurisées dans le cloud ou dans votre propre centre de données. Pour plus d’informations, consultez [Google Kubernetes Engine](https://cloud.google.com/kubernetes-engine).
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.4 %}
|
||||
{% ifversion fpt or ghec or ghae-issue-4856 or ghes > 3.4 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data reusables.actions.about-oidc-short-overview %}
|
||||
**Remarque** : {% data reusables.actions.about-oidc-short-overview %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
## Prérequis
|
||||
|
||||
Before you proceed with creating the workflow, you will need to complete the following steps for your Kubernetes project. This guide assumes the root of your project already has a `Dockerfile` and a Kubernetes Deployment configuration file. For an example, see [google-github-actions](https://github.com/google-github-actions/setup-gcloud/tree/master/example-workflows/gke).
|
||||
Avant de continuer à créer le workflow, vous devez effectuer les étapes suivantes pour votre projet Kubernetes. Ce guide suppose que la racine de votre projet dispose déjà d’un fichier `Dockerfile` et d’un fichier config de déploiement Kubernetes. Pour obtenir un exemple, consultez [google-github-actions](https://github.com/google-github-actions/setup-gcloud/tree/master/example-workflows/gke).
|
||||
|
||||
### Creating a GKE cluster
|
||||
### Création d’un cluster GKE
|
||||
|
||||
To create the GKE cluster, you will first need to authenticate using the `gcloud` CLI. For more information on this step, see the following articles:
|
||||
Pour créer le cluster GKE, vous devez d’abord vous authentifier à l’aide de l’interface CLI `gcloud`. Pour plus d’informations sur cette étape, consultez les articles suivants :
|
||||
- [`gcloud auth login`](https://cloud.google.com/sdk/gcloud/reference/auth/login)
|
||||
- [`gcloud` CLI](https://cloud.google.com/sdk/gcloud/reference)
|
||||
- [`gcloud` CLI and Cloud SDK](https://cloud.google.com/sdk/gcloud#the_gcloud_cli_and_cloud_sdk)
|
||||
- [Interface CLI `gcloud`](https://cloud.google.com/sdk/gcloud/reference)
|
||||
- [`gcloud` CLI et Kit de développement logiciel (SDK) cloud](https://cloud.google.com/sdk/gcloud#the_gcloud_cli_and_cloud_sdk)
|
||||
|
||||
For example:
|
||||
Par exemple :
|
||||
|
||||
{% raw %}
|
||||
```bash{:copy}
|
||||
$ gcloud container clusters create $GKE_CLUSTER \
|
||||
--project=$GKE_PROJECT \
|
||||
--zone=$GKE_ZONE
|
||||
--project=$GKE_PROJECT \
|
||||
--zone=$GKE_ZONE
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
### Enabling the APIs
|
||||
### Activation des API
|
||||
|
||||
Enable the Kubernetes Engine and Container Registry APIs. For example:
|
||||
Activez les API Kubernetes Engine et Container Registry. Par exemple :
|
||||
|
||||
{% raw %}
|
||||
```bash{:copy}
|
||||
$ gcloud services enable \
|
||||
containerregistry.googleapis.com \
|
||||
container.googleapis.com
|
||||
containerregistry.googleapis.com \
|
||||
container.googleapis.com
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
### Configuring a service account and storing its credentials
|
||||
### Configuration d’un compte de service et stockage de ses informations d’identification
|
||||
|
||||
This procedure demonstrates how to create the service account for your GKE integration. It explains how to create the account, add roles to it, retrieve its keys, and store them as a base64-encoded encrypted repository secret named `GKE_SA_KEY`.
|
||||
Cette procédure montre comment créer le compte de service pour votre intégration GKE. Il explique comment créer le compte, ajouter des rôles à celui-ci, récupérer ses clés et les stocker en tant que secret de référentiel chiffré codé en base64 nommé `GKE_SA_KEY`.
|
||||
|
||||
1. Create a new service account:
|
||||
{% raw %}
|
||||
1. Créer un nouveau compte de service : {% raw %}
|
||||
```
|
||||
$ gcloud iam service-accounts create $SA_NAME
|
||||
```
|
||||
{% endraw %}
|
||||
1. Retrieve the email address of the service account you just created:
|
||||
{% raw %}
|
||||
1. Récupérer l’adresse e-mail du compte de service que vous venez de créer : {% raw %}
|
||||
```
|
||||
$ gcloud iam service-accounts list
|
||||
```
|
||||
{% endraw %}
|
||||
1. Add roles to the service account. Note: Apply more restrictive roles to suit your requirements.
|
||||
1. Ajoutez des rôles au compte de service. Remarque : appliquez des rôles plus restrictifs pour répondre à vos besoins.
|
||||
{% raw %}
|
||||
```
|
||||
$ gcloud projects add-iam-policy-binding $GKE_PROJECT \
|
||||
--member=serviceAccount:$SA_EMAIL \
|
||||
--role=roles/container.admin
|
||||
--member=serviceAccount:$SA_EMAIL \
|
||||
--role=roles/container.admin
|
||||
$ gcloud projects add-iam-policy-binding $GKE_PROJECT \
|
||||
--member=serviceAccount:$SA_EMAIL \
|
||||
--role=roles/storage.admin
|
||||
--member=serviceAccount:$SA_EMAIL \
|
||||
--role=roles/storage.admin
|
||||
$ gcloud projects add-iam-policy-binding $GKE_PROJECT \
|
||||
--member=serviceAccount:$SA_EMAIL \
|
||||
--role=roles/container.clusterViewer
|
||||
--member=serviceAccount:$SA_EMAIL \
|
||||
--role=roles/container.clusterViewer
|
||||
```
|
||||
{% endraw %}
|
||||
1. Download the JSON keyfile for the service account:
|
||||
{% raw %}
|
||||
1. Téléchargez le fichier de clés JSON pour le compte de service : {% raw %}
|
||||
```
|
||||
$ gcloud iam service-accounts keys create key.json --iam-account=$SA_EMAIL
|
||||
```
|
||||
{% endraw %}
|
||||
1. Store the service account key as a secret named `GKE_SA_KEY`:
|
||||
{% raw %}
|
||||
1. Stockez la clé de compte de service en tant que secret nommé `GKE_SA_KEY` : {% raw %}
|
||||
```
|
||||
$ export GKE_SA_KEY=$(cat key.json | base64)
|
||||
```
|
||||
{% endraw %}
|
||||
For more information about how to store a secret, see "[Encrypted secrets](/actions/security-guides/encrypted-secrets)."
|
||||
{% endraw %} Pour plus d’informations sur la façon de stocker un secret, consultez « [Secrets chiffrés](/actions/security-guides/encrypted-secrets) ».
|
||||
|
||||
### Storing your project name
|
||||
### Stockage du nom de votre projet
|
||||
|
||||
Store the name of your project as a secret named `GKE_PROJECT`. For more information about how to store a secret, see "[Encrypted secrets](/actions/security-guides/encrypted-secrets)."
|
||||
Stockez le nom de votre projet en tant que secret nommé `GKE_PROJECT`. Pour plus d’informations sur la façon de stocker un secret, consultez « [Secrets chiffrés](/actions/security-guides/encrypted-secrets) ».
|
||||
|
||||
### (Optional) Configuring kustomize
|
||||
Kustomize is an optional tool used for managing YAML specs. After creating a `kustomization` file, the workflow below can be used to dynamically set fields of the image and pipe in the result to `kubectl`. For more information, see [kustomize usage](https://github.com/kubernetes-sigs/kustomize#usage).
|
||||
### (Facultatif) Configuration de kustomize
|
||||
Kustomize est un outil facultatif utilisé pour gérer les spécifications YAML. Après avoir créé un fichier `kustomization`, le workflow ci-dessous peut être utilisé pour définir dynamiquement les champs de l’image et du canal dans le résultat sur `kubectl`. Pour plus d’informations, consultez « [Utilisation de kustomize](https://github.com/kubernetes-sigs/kustomize#usage) ».
|
||||
|
||||
### (Optional) Configure a deployment environment
|
||||
### Si vous le souhaitez, configurez un environnement de déploiement.
|
||||
|
||||
{% data reusables.actions.about-environments %}
|
||||
|
||||
## Creating the workflow
|
||||
## Création du workflow
|
||||
|
||||
Once you've completed the prerequisites, you can proceed with creating the workflow.
|
||||
Une fois les conditions préalables remplies, vous pouvez procéder à la création du workflow.
|
||||
|
||||
The following example workflow demonstrates how to build a container image and push it to GCR. It then uses the Kubernetes tools (such as `kubectl` and `kustomize`) to pull the image into the cluster deployment.
|
||||
L’exemple de workflow suivant montre comment créer une image conteneur et l’envoyer à GCR. Il utilise ensuite les outils Kubernetes (tels que `kubectl` et `kustomize`) pour extraire l’image dans le déploiement du cluster.
|
||||
|
||||
Under the `env` key, change the value of `GKE_CLUSTER` to the name of your cluster, `GKE_ZONE` to your cluster zone, `DEPLOYMENT_NAME` to the name of your deployment, and `IMAGE` to the name of your image.
|
||||
Sous la clé `env`, remplacez la valeur de `GKE_CLUSTER` par le nom de votre cluster, `GKE_ZONE` par votre zone de cluster, `DEPLOYMENT_NAME` par le nom de votre déploiement et `IMAGE` par le nom de votre image.
|
||||
|
||||
{% data reusables.actions.delete-env-key %}
|
||||
|
||||
@@ -210,11 +209,11 @@ jobs:
|
||||
kubectl get services -o wide
|
||||
```
|
||||
|
||||
## Additional resources
|
||||
## Ressources supplémentaires
|
||||
|
||||
For more information on the tools used in these examples, see the following documentation:
|
||||
Pour plus d’informations sur les outils utilisés dans ces exemples, consultez la documentation suivante :
|
||||
|
||||
* For the full starter workflow, see the ["Build and Deploy to GKE" workflow](https://github.com/actions/starter-workflows/blob/main/deployments/google.yml).
|
||||
* For more starter workflows and accompanying code, see Google's [{% data variables.product.prodname_actions %} example workflows](https://github.com/google-github-actions/setup-gcloud/tree/master/example-workflows/).
|
||||
* The Kubernetes YAML customization engine: [Kustomize](https://kustomize.io/).
|
||||
* "[Deploying a containerized web application](https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-app)" in the Google Kubernetes Engine documentation.
|
||||
* Pour obtenir le workflow de démarrage complet, consultez le [workflows « Générer et déployer sur GKE ».](https://github.com/actions/starter-workflows/blob/main/deployments/google.yml)
|
||||
* Pour obtenir plus de workflow de démarrage et de code associé, consultez les [exemples de workflows {% data variables.product.prodname_actions %}](https://github.com/google-github-actions/setup-gcloud/tree/master/example-workflows/) de Google.
|
||||
* Moteur de personnalisation Kubernetes YAML : [Kustomize](https://kustomize.io/).
|
||||
* « [Déploiement d’une application web conteneurisée](https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-app) » dans la documentation Google Kubernetes Engine.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: 'Using concurrency, expressions, and a test matrix'
|
||||
shortTitle: 'Use concurrency, expressions, and a test matrix'
|
||||
intro: 'How to use advanced {% data variables.product.prodname_actions %} features for continuous integration (CI).'
|
||||
title: 'Utilisation de la concurrence, d’expressions et d’une matrice de test'
|
||||
shortTitle: 'Using concurrency, expressions, and a test matrix'
|
||||
intro: 'Comment utiliser les fonctionnalités avancées de {% data variables.product.prodname_actions %} pour l’intégration continue (CI).'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '>= 3.5'
|
||||
@@ -10,38 +10,32 @@ versions:
|
||||
type: how_to
|
||||
topics:
|
||||
- Workflows
|
||||
ms.openlocfilehash: f4edac59fdbcc8f8825a51e25b737b94b17128b0
|
||||
ms.sourcegitcommit: fb047f9450b41b24afc43d9512a5db2a2b750a2a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/10/2022
|
||||
ms.locfileid: '147496579'
|
||||
---
|
||||
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Example overview
|
||||
## Présentation des exemples
|
||||
|
||||
{% data reusables.actions.example-workflow-intro-ci %} When this workflow is triggered, it tests your code using a matrix of test combinations with `npm test`.
|
||||
{% data reusables.actions.example-workflow-intro-ci %} Quand ce workflow est déclenché, il teste votre code à l’aide d’une matrice de combinaisons de test avec `npm test`.
|
||||
|
||||
{% data reusables.actions.example-diagram-intro %}
|
||||
|
||||

|
||||

|
||||
|
||||
## Features used in this example
|
||||
## Fonctionnalités utilisées dans cet exemple
|
||||
|
||||
{% data reusables.actions.example-table-intro %}
|
||||
|
||||
| **Feature** | **Implementation** |
|
||||
| **Fonctionnalité** | **Implémentation** |
|
||||
| --- | --- |
|
||||
{% data reusables.actions.workflow-dispatch-table-entry %}
|
||||
{% data reusables.actions.pull-request-table-entry %}
|
||||
{% data reusables.actions.cron-table-entry %}
|
||||
{% data reusables.actions.permissions-table-entry %}
|
||||
{% data reusables.actions.concurrency-table-entry %}
|
||||
| Running the job on different runners, depending on the repository: | [`runs-on`](/actions/using-jobs/choosing-the-runner-for-a-job)|
|
||||
{% data reusables.actions.if-conditions-table-entry %}
|
||||
| Using a matrix to create different test configurations: | [`matrix`](/actions/using-jobs/using-a-build-matrix-for-your-jobs)|
|
||||
{% data reusables.actions.checkout-action-table-entry %}
|
||||
{% data reusables.actions.setup-node-table-entry %}
|
||||
| Caching dependencies: | [`actions/cache`](/actions/advanced-guides/caching-dependencies-to-speed-up-workflows)|
|
||||
| Running tests on the runner: | `npm test`|
|
||||
{% data reusables.actions.workflow-dispatch-table-entry %} {% data reusables.actions.pull-request-table-entry %} {% data reusables.actions.cron-table-entry %} {% data reusables.actions.permissions-table-entry %} {% data reusables.actions.concurrency-table-entry %} | Exécution du travail sur différents exécuteurs, selon le dépôt : | [`runs-on`](/actions/using-jobs/choosing-the-runner-for-a-job)| {% data reusables.actions.if-conditions-table-entry %} | Utilisation d’une matrice pour créer différentes configurations de test : | [`matrix`](/actions/using-jobs/using-a-build-matrix-for-your-jobs)| {% data reusables.actions.checkout-action-table-entry %} {% data reusables.actions.setup-node-table-entry %} | Mise en cache des dépendances : | [`actions/cache`](/actions/advanced-guides/caching-dependencies-to-speed-up-workflows)| | Exécution de tests sur l’exécuteur : | `npm test`|
|
||||
|
||||
## Example workflow
|
||||
## Exemple de flux de travail
|
||||
|
||||
{% data reusables.actions.example-docs-engineering-intro %} [`test.yml`](https://github.com/github/docs/blob/main/.github/workflows/test.yml).
|
||||
|
||||
@@ -112,7 +106,7 @@ jobs:
|
||||
# NOT clone them initially and instead, include them manually
|
||||
# only for the test groups that we know need the files.
|
||||
lfs: {% raw %}${{ matrix.test-group == 'content' }}{% endraw %}
|
||||
# Enables cloning the Early Access repo later with the relevant {% data variables.product.pat_generic %}
|
||||
# Enables cloning the Early Access repo later with the relevant PAT
|
||||
persist-credentials: 'false'
|
||||
|
||||
- name: Figure out which docs-early-access branch to checkout, if internal repo
|
||||
@@ -211,15 +205,15 @@ jobs:
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
## Understanding the example
|
||||
## Vue d’ensemble de l’exemple
|
||||
|
||||
{% data reusables.actions.example-explanation-table-intro %}
|
||||
{% data reusables.actions.example-explanation-table-intro %}
|
||||
|
||||
<table style="table-layout: fixed;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:60%"><b>Code</b></th>
|
||||
<th style="width:40%"><b>Explanation</b></th>
|
||||
<th style="width:40%"><b>Explication</b></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -244,7 +238,7 @@ on:
|
||||
</td>
|
||||
<td>
|
||||
|
||||
The `on` keyword lets you define the events that trigger when the workflow is run. You can define multiple events here. For more information, see "[Triggering a workflow](/actions/using-workflows/triggering-a-workflow#using-events-to-trigger-workflows)."
|
||||
Le mot clé `on` vous permet de définir les événements qui se déclenchent quand le workflow s’exécute. Vous pouvez définir ici plusieurs événements. Pour plus d’informations, consultez « [Déclenchement d’un workflow](/actions/using-workflows/triggering-a-workflow#using-events-to-trigger-workflows) ».
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -256,7 +250,7 @@ The `on` keyword lets you define the events that trigger when the workflow is ru
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Add the `workflow_dispatch` event if you want to be able to manually run this workflow in the UI. For more information, see [`workflow_dispatch`](/actions/reference/events-that-trigger-workflows#workflow_dispatch).
|
||||
Ajoutez l’événement `workflow_dispatch` si vous souhaitez pouvoir exécuter manuellement ce workflow dans l’IU. Pour plus d’informations, consultez [`workflow_dispatch`](/actions/reference/events-that-trigger-workflows#workflow_dispatch).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -268,7 +262,7 @@ Add the `workflow_dispatch` event if you want to be able to manually run this wo
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Add the `pull_request` event, so that the workflow runs automatically every time a pull request is created or updated. For more information, see [`pull_request`](/actions/using-workflows/events-that-trigger-workflows#pull_request).
|
||||
Ajoutez l’événement `pull_request` pour que le workflow s’exécute automatiquement chaque fois qu’une demande de tirage est créée ou mise à jour. Pour plus d’informations, consultez [`pull_request`](/actions/using-workflows/events-that-trigger-workflows#pull_request).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -282,7 +276,7 @@ Add the `pull_request` event, so that the workflow runs automatically every time
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Add the `push` event, so that the workflow runs automatically every time a commit is pushed to a branch matching the filter `main`. For more information, see [`push`](/actions/using-workflows/events-that-trigger-workflows#push).
|
||||
Ajoutez l’événement `push` pour que le workflow s’exécute automatiquement chaque fois qu’un commit est poussé vers une branche correspondant au filtre `main`. Pour plus d’informations, consultez [`push`](/actions/using-workflows/events-that-trigger-workflows#push).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -296,7 +290,7 @@ permissions:
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Modifies the default permissions granted to `GITHUB_TOKEN`. This will vary depending on the needs of your workflow. For more information, see "[Assigning permissions to jobs](/actions/using-jobs/assigning-permissions-to-jobs)."
|
||||
Modifie les autorisations par défaut octroyées à `GITHUB_TOKEN`. Cela varie en fonction des besoins de votre workflow. Pour plus d’informations, consultez « [Affectation d’autorisations à des travaux](/actions/using-jobs/assigning-permissions-to-jobs) ».
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -310,7 +304,7 @@ concurrency:
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Creates a concurrency group for specific events, and uses the `||` operator to define fallback values. For more information, see "[Using concurrency](/actions/using-jobs/using-concurrency)."
|
||||
Crée un groupe d’accès concurrentiel pour des événements spécifiques, et utilise l’opérateur `||` afin de définir les valeurs de secours. Pour plus d’informations, consultez « [Utilisation de la concurrence](/actions/using-jobs/using-concurrency) ».
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -322,7 +316,7 @@ Creates a concurrency group for specific events, and uses the `||` operator to d
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Cancels any currently running job or workflow in the same concurrency group.
|
||||
Annule tout travail ou workflow en cours d’exécution dans le même groupe d’accès concurrentiel.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -334,7 +328,7 @@ jobs:
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Groups together all the jobs that run in the workflow file.
|
||||
Regroupe tous les travaux qui s’exécutent dans le fichier de workflow.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -346,7 +340,7 @@ Groups together all the jobs that run in the workflow file.
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Defines a job with the ID `test` that is stored within the `jobs` key.
|
||||
Définit un travail ayant l’ID `test` stocké dans la clé `jobs`.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -358,7 +352,7 @@ Defines a job with the ID `test` that is stored within the `jobs` key.
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Configures the job to run on a {% data variables.product.prodname_dotcom %}-hosted runner or a self-hosted runner, depending on the repository running the workflow. In this example, the job will run on a self-hosted runner if the repository is named `docs-internal` and is within the `github` organization. If the repository doesn't match this path, then it will run on an `ubuntu-latest` runner hosted by {% data variables.product.prodname_dotcom %}. For more information on these options see "[Choosing the runner for a job](/actions/using-jobs/choosing-the-runner-for-a-job)."
|
||||
Configure le travail pour qu’il s’exécute sur un exécuteur hébergé par {% data variables.product.prodname_dotcom %} ou sur un exécuteur autohébergé, selon le dépôt qui exécute le workflow. Dans cet exemple, le travail s’exécute sur un exécuteur autohébergé si le dépôt se nomme `docs-internal`, et s’il se trouve dans l’organisation `github`. Si le dépôt ne correspond pas à ce chemin, il s’exécute sur un exécuteur `ubuntu-latest` hébergé par {% data variables.product.prodname_dotcom %}. Pour plus d’informations sur ces options, consultez « [Choix de l’exécuteur pour un travail](/actions/using-jobs/choosing-the-runner-for-a-job) ».
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -370,7 +364,7 @@ Configures the job to run on a {% data variables.product.prodname_dotcom %}-host
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Sets the maximum number of minutes to let the job run before it is automatically canceled. For more information, see [`timeout-minutes`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes).
|
||||
Définit le nombre maximal de minutes d’exécution du travail avant qu’il ne soit automatiquement annulé. Pour plus d’informations, consultez [`timeout-minutes`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -381,7 +375,7 @@ Sets the maximum number of minutes to let the job run before it is automatically
|
||||
```
|
||||
</td>
|
||||
<td>
|
||||
This section defines the build matrix for your jobs.
|
||||
Cette section définit la matrice de build de vos travaux.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -393,7 +387,7 @@ Sets the maximum number of minutes to let the job run before it is automatically
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Setting `fail-fast` to `false` prevents {% data variables.product.prodname_dotcom %} from cancelling all in-progress jobs if any matrix job fails.
|
||||
L’affectation de la valeur `false` à `fail-fast` empêche {% data variables.product.prodname_dotcom %} d’annuler tous les travaux en cours en cas d’échec d’un travail de matrice.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -416,7 +410,7 @@ Setting `fail-fast` to `false` prevents {% data variables.product.prodname_dotco
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Creates a matrix named `test-group`, with an array of test groups. These values match the names of test groups that will be run by `npm test`.
|
||||
Crée une matrice nommée `test-group`, avec un tableau de groupes de test. Ces valeurs correspondent aux noms des groupes de test qui sont exécutés par `npm test`.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -428,7 +422,7 @@ Creates a matrix named `test-group`, with an array of test groups. These values
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Groups together all the steps that will run as part of the `test` job. Each job in a workflow has its own `steps` section.
|
||||
Regroupe toutes les étapes qui vont s’exécuter dans le cadre du travail `test`. Chaque travail d’un workflow a sa propre section `steps`.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -444,7 +438,7 @@ Groups together all the steps that will run as part of the `test` job. Each job
|
||||
</td>
|
||||
<td>
|
||||
|
||||
The `uses` keyword tells the job to retrieve the action named `actions/checkout`. This is an action that checks out your repository and downloads it to the runner, allowing you to run actions against your code (such as testing tools). You must use the checkout action any time your workflow will run against the repository's code or you are using an action defined in the repository. Some extra options are provided to the action using the `with` key.
|
||||
Le mot clé `uses` indique au travail de récupérer l’action nommée `actions/checkout`. Il s’agit d’une action qui extrait votre dépôt et le télécharge dans l’exécuteur, ce qui vous permet d’exécuter des actions sur votre code (par exemple des outils de test). Vous devez utiliser l’action d’extraction chaque fois que votre workflow s’exécute sur le code du dépôt, ou que vous utilisez une action définie dans le dépôt. Certaines options supplémentaires sont fournies à l’action à l’aide du mot-clé `with`.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -484,7 +478,7 @@ The `uses` keyword tells the job to retrieve the action named `actions/checkout`
|
||||
</td>
|
||||
<td>
|
||||
|
||||
If the current repository is the `github/docs-internal` repository, this step uses the `actions/github-script` action to run a script to check if there is a branch called `docs-early-access`.
|
||||
Si le dépôt actuel est le dépôt `github/docs-internal`, cette étape utilise l’action `actions/github-script` pour exécuter un script permettant de vérifier s’il existe une branche appelée `docs-early-access`.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -503,7 +497,7 @@ If the current repository is the `github/docs-internal` repository, this step us
|
||||
</td>
|
||||
<td>
|
||||
|
||||
If the current repository is the `github/docs-internal` repository, this step checks out the branch from the `github/docs-early-access` that was identified in the previous step.
|
||||
Si le dépôt actuel est le dépôt `github/docs-internal`, cette étape extrait la branche du dépôt `github/docs-early-access` identifié à l’étape précédente.
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
@@ -520,7 +514,7 @@ If the current repository is the `github/docs-internal` repository, this step ch
|
||||
</td>
|
||||
<td>
|
||||
|
||||
If the current repository is the `github/docs-internal` repository, this step uses the `run` keyword to execute shell commands to move the `docs-early-access` repository's folders into the main repository's folders.
|
||||
Si le dépôt actuel est le dépôt `github/docs-internal`, cette étape utilise le mot clé `run` pour exécuter les commandes d’interpréteur de commandes afin de déplacer les dossiers du dépôt `docs-early-access` vers les dossiers du dépôt principal.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -533,7 +527,7 @@ If the current repository is the `github/docs-internal` repository, this step us
|
||||
</td>
|
||||
<td>
|
||||
|
||||
This step runs a command to check out LFS objects from the repository.
|
||||
Cette étape exécute une commande pour extraire les objets LFS du dépôt.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -552,7 +546,7 @@ This step runs a command to check out LFS objects from the repository.
|
||||
</td>
|
||||
<td>
|
||||
|
||||
This step uses the `trilom/file-changes-action` action to gather the files changed in the pull request, so they can be analyzed in the next step. This example is pinned to a specific version of the action, using the `a6ca26c14274c33b15e6499323aac178af06ad4b` SHA.
|
||||
Cette étape utilise l’action `trilom/file-changes-action` pour regrouper les fichiers changés dans la demande de tirage (pull request) afin qu’ils puissent être analysés à l’étape suivante. Cet exemple est épinglé à une version spécifique de l’action, à l’aide de la valeur SHA `a6ca26c14274c33b15e6499323aac178af06ad4b`.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -566,7 +560,7 @@ This step uses the `trilom/file-changes-action` action to gather the files chang
|
||||
</td>
|
||||
<td>
|
||||
|
||||
This step runs a shell command that uses an output from the previous step to create a file containing the list of files changed in the pull request.
|
||||
Cette étape exécute une commande d’interpréteur de commandes qui utilise une sortie de l’étape précédente pour créer un fichier contenant la liste des fichiers changés dans la demande de tirage.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -582,7 +576,7 @@ This step runs a shell command that uses an output from the previous step to cre
|
||||
</td>
|
||||
<td>
|
||||
|
||||
This step uses the `actions/setup-node` action to install the specified version of the `node` software package on the runner, which gives you access to the `npm` command.
|
||||
Cette étape utilise l’action `actions/setup-node` pour installer la version spécifiée du package logiciel `node` sur l’exécuteur, ce qui vous permet d’accéder à la commande `npm`.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -595,7 +589,7 @@ This step uses the `actions/setup-node` action to install the specified version
|
||||
</td>
|
||||
<td>
|
||||
|
||||
This step runs the `npm ci` shell command to install the npm software packages for the project.
|
||||
Cette étape exécute la commande d’interpréteur de commandes `npm ci` pour installer les packages logiciels npm du projet.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -611,7 +605,7 @@ This step runs the `npm ci` shell command to install the npm software packages f
|
||||
</td>
|
||||
<td>
|
||||
|
||||
This step uses the `actions/cache` action to cache the Next.js build, so that the workflow will attempt to retrieve a cache of the build, and not rebuild it from scratch every time. For more information, see "[Caching dependencies to speed up workflows](/actions/using-workflows/caching-dependencies-to-speed-up-workflows)."
|
||||
Cette étape utilise l’action `actions/cache` pour mettre en cache la build Next.js. Ainsi, le workflow tente de récupérer une mise en cache de la build, au lieu d’effectuer une regénération à partir de zéro à chaque fois. Pour plus d’informations, consultez « [Mise en cache des dépendances pour accélérer les workflows](/actions/using-workflows/caching-dependencies-to-speed-up-workflows) ».
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -624,7 +618,7 @@ This step uses the `actions/cache` action to cache the Next.js build, so that th
|
||||
</td>
|
||||
<td>
|
||||
|
||||
This step runs the build script.
|
||||
Cette étape exécute le script de build.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -640,12 +634,12 @@ This step runs the build script.
|
||||
</td>
|
||||
<td>
|
||||
|
||||
This step runs the tests using `npm test`, and the test matrix provides a different value for {% raw %}`${{ matrix.test-group }}`{% endraw %} for each job in the matrix. It uses the `DIFF_FILE` environment variable to know which files have changed, and uses the `CHANGELOG_CACHE_FILE_PATH` environment variable for the changelog cache file.
|
||||
Cette étape exécute les tests à l’aide de `npm test`. La matrice de test fournit une valeur différente pour {% raw %}`${{ matrix.test-group }}`{% endraw %} pour chaque travail de la matrice. Elle utilise la variable d’environnement `DIFF_FILE` pour identifier les fichiers qui ont changé ainsi que la variable d’environnement `CHANGELOG_CACHE_FILE_PATH` pour identifier le fichier cache du journal des modifications.
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
## Next steps
|
||||
## Étapes suivantes
|
||||
|
||||
{% data reusables.actions.learning-actions %}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Monitoring and troubleshooting self-hosted runners
|
||||
intro: You can monitor your self-hosted runners to view their activity and diagnose common issues.
|
||||
title: Surveillance des exécuteurs auto-hébergés et résolution des problèmes
|
||||
intro: Vous pouvez surveiller vos exécuteurs auto-hébergés pour voir leur activité et diagnostiquer les problèmes courants.
|
||||
redirect_from:
|
||||
- /actions/hosting-your-own-runners/checking-the-status-of-self-hosted-runners
|
||||
- /github/automating-your-workflow-with-github-actions/checking-the-status-of-self-hosted-runners
|
||||
@@ -11,119 +11,117 @@ versions:
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
type: tutorial
|
||||
miniTocMaxHeadingLevel: 3
|
||||
defaultPlatform: linux
|
||||
shortTitle: Monitor & troubleshoot
|
||||
ms.openlocfilehash: 57ca9cad51c1936171fcadd73497cf313dd86dd7
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147065633'
|
||||
---
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Checking the status of a self-hosted runner
|
||||
## Vérification de l’état d’un exécuteur auto-hébergé
|
||||
|
||||
{% data reusables.actions.self-hosted-runner-management-permissions-required %}
|
||||
|
||||
{% data reusables.actions.self-hosted-runner-navigate-repo-and-org %}
|
||||
{% data reusables.organizations.settings-sidebar-actions-runners %}
|
||||
1. Under "Runners", you can view a list of registered runners, including the runner's name, labels, and status.
|
||||
{% data reusables.actions.self-hosted-runner-navigate-repo-and-org %} {% data reusables.organizations.settings-sidebar-actions-runners %}
|
||||
1. Sous « Exécuteurs », vous pouvez consulter la liste des exécuteurs inscrits, y compris le nom, les étiquettes et le statut de l’exécuteur.
|
||||
|
||||
The status can be one of the following:
|
||||
Il peut s’agir d'un des états suivants :
|
||||
|
||||
* **Idle**: The runner is connected to {% data variables.product.product_name %} and is ready to execute jobs.
|
||||
* **Active**: The runner is currently executing a job.
|
||||
* **Offline**: The runner is not connected to {% data variables.product.product_name %}. This could be because the machine is offline, the self-hosted runner application is not running on the machine, or the self-hosted runner application cannot communicate with {% data variables.product.product_name %}.
|
||||
* **Inactif** : l’exécuteur est connecté à {% data variables.product.product_name %} et est prêt à exécuter des travaux.
|
||||
* **Actif** : l’exécuteur exécute actuellement un travail.
|
||||
* **Hors connexion** : l’exécuteur n’est pas connecté à {% data variables.product.product_name %}. Cela peut être dû au fait que la machine est hors connexion, que l’application d’exécuteur auto-hébergé n’est pas en cours d’exécution sur la machine ou que l’application d’exécuteur auto-hébergé ne peut pas communiquer avec {% data variables.product.product_name %}.
|
||||
|
||||
## Troubleshooting network connectivity
|
||||
## Résolution des problèmes de connectivité réseau
|
||||
|
||||
### Checking self-hosted runner network connectivity
|
||||
### Vérification de la connectivité réseau d’un exécuteur auto-hébergé
|
||||
|
||||
You can use the self-hosted runner application's `run` script with the `--check` parameter to check that a self-hosted runner can access all required network services on {% data variables.location.product_location %}.
|
||||
Vous pouvez utiliser le script `run` de l’application d’exécuteur auto-hébergé avec le paramètre `--check` pour vérifier qu’un exécuteur auto-hébergé peut accéder à tous les services réseau requis sur {% data variables.product.product_location %}.
|
||||
|
||||
In addition to `--check`, you must provide two arguments to the script:
|
||||
En plus de `--check`, vous devez fournir deux arguments au script :
|
||||
|
||||
* `--url` with the URL to your {% data variables.product.company_short %} repository, organization, or enterprise. For example, `--url https://github.com/octo-org/octo-repo`.
|
||||
* `--pat` with the value of a {% data variables.product.pat_v1 %}, which must have the `workflow` scope{% ifversion pat-v2%}, or a {% data variables.product.pat_v2 %} with workflows read and write access {% endif %}. For example, `--pat ghp_abcd1234`. For more information, see "[Creating a {% data variables.product.pat_generic %}](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)."
|
||||
* `--url` avec l’URL de votre dépôt, organisation ou entreprise {% data variables.product.company_short %}. Par exemple : `--url https://github.com/octo-org/octo-repo`.
|
||||
* `--pat` avec la valeur d’un jeton d’accès personnel, qui doit avoir l’étendue `workflow`. Par exemple : `--pat ghp_abcd1234`. Pour plus d’informations, consultez « [Création d’un jeton d’accès personnel](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) ».
|
||||
|
||||
For example:
|
||||
Par exemple :
|
||||
|
||||
{% mac %}
|
||||
|
||||
{% data reusables.actions.self-hosted-runner-check-mac-linux %}
|
||||
|
||||
{% endmac %}
|
||||
{% linux %}
|
||||
{% endmac %} {% linux %}
|
||||
|
||||
{% data reusables.actions.self-hosted-runner-check-mac-linux %}
|
||||
|
||||
{% endlinux %}
|
||||
{% windows %}
|
||||
{% endlinux %} {% windows %}
|
||||
|
||||
```shell
|
||||
run.cmd --check --url https://github.com/YOUR-ORG/YOUR-REPO --pat GHP_ABCD1234
|
||||
run.cmd --check --url <em>https://github.com/octo-org/octo-repo</em> --pat <em>ghp_abcd1234</em>
|
||||
```
|
||||
|
||||
{% endwindows %}
|
||||
|
||||
The script tests each service, and outputs either a `PASS` or `FAIL` for each one. If you have any failing checks, you can see more details on the problem in the log file for the check. The log files are located in the `_diag` directory where you installed the runner application, and the path of the log file for each check is shown in the console output of the script.
|
||||
Le script teste chaque service et génère une sortie `PASS` ou `FAIL` pour chacun d’eux. Si vous avez des vérifications ayant échoué, vous pouvez voir plus d’informations sur le problème dans le fichier journal concernant la vérification. Les fichiers journaux se trouvent dans le répertoire `_diag` où vous avez installé l’application d’exécuteur, et le chemin d’accès du fichier journal pour chaque vérification s’affiche dans la sortie de console du script.
|
||||
|
||||
If you have any failing checks, you should also verify that your self-hosted runner machine meets all the communication requirements. For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners#communication-requirements)."
|
||||
Si vous avez des vérifications ayant échoué, vous devez également vérifier que votre machine d’exécuteur auto-hébergé répond à toutes les exigences de communication. Pour plus d’informations, consultez « [About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners#communication-requirements) ».
|
||||
|
||||
### Disabling TLS certificate verification
|
||||
{% ifversion ghes %}
|
||||
By default, the self-hosted runner application verifies the TLS certificate for {% data variables.product.product_name %}. If your {% data variables.product.product_name %} has a self-signed or internally-issued certificate, you may wish to disable TLS certificate verification for testing purposes.
|
||||
{% else %}
|
||||
By default, the self-hosted runner application verifies the TLS certificate for {% data variables.product.product_name %}. If you encounter network problems, you may wish to disable TLS certificate verification for testing purposes.
|
||||
### Désactivation de la vérification de certificat TLS
|
||||
{% ifversion ghes %} Par défaut, l’application d’exécuteur auto-hébergé vérifie le certificat TLS pour {% data variables.product.product_name %}. Si votre {% data variables.product.product_name %} possède un certificat auto-signé ou émis en interne, vous pouvez désactiver la vérification du certificat TLS à des fins de test.
|
||||
{% else %} Par défaut, l’application d’exécuteur auto-hébergé vérifie le certificat TLS pour {% data variables.product.product_name %}. Si vous rencontrez des problèmes réseau, vous pouvez désactiver la vérification de certificat TLS à des fins de test.
|
||||
{% endif %}
|
||||
|
||||
To disable TLS certification verification in the self-hosted runner application, set the `GITHUB_ACTIONS_RUNNER_TLS_NO_VERIFY` environment variable to `1` before configuring and running the self-hosted runner application.
|
||||
Pour désactiver la vérification de la certification TLS dans l’application de l’exécuteur auto-hébergé, définissez la variable d’environnement `GITHUB_ACTIONS_RUNNER_TLS_NO_VERIFY` sur `1` avant de configurer et d’exécuter l’application d’exécuteur auto-hébergé.
|
||||
|
||||
```shell
|
||||
export GITHUB_ACTIONS_RUNNER_TLS_NO_VERIFY=1
|
||||
./config.sh --url https://github.com/YOUR-ORG/YOUR-REPO --token
|
||||
./config.sh --url <em>https://github.com/octo-org/octo-repo</em> --token
|
||||
./run.sh
|
||||
```
|
||||
|
||||
{% warning %}
|
||||
|
||||
**Warning**: Disabling TLS verification is not recommended since TLS provides privacy and data integrity between the self-hosted runner application and {% data variables.product.product_name %}. We recommend that you install the {% data variables.product.product_name %} certificate in the operating system certificate store for your self-hosted runner. For guidance on how to install the {% data variables.product.product_name %} certificate, check with your operating system vendor.
|
||||
**Avertissement** : La désactivation de la vérification TLS n’est pas recommandée, car TLS assure la confidentialité et l’intégrité des données entre l’application d’exécuteur auto-hébergé et {% data variables.product.product_name %}. Nous vous recommandons d’installer le certificat {% data variables.product.product_name %} dans le magasin de certificats du système d’exploitation pour votre exécuteur auto-hébergé. Pour obtenir des conseils sur l’installation du certificat {% data variables.product.product_name %}, contactez votre fournisseur de système d’exploitation.
|
||||
|
||||
{% endwarning %}
|
||||
|
||||
## Reviewing the self-hosted runner application log files
|
||||
## Examen des fichiers journaux d’application d’exécuteur auto-hébergé
|
||||
|
||||
You can monitor the status of the self-hosted runner application and its activities. Log files are kept in the `_diag` directory where you installed the runner application, and a new log is generated each time the application is started. The filename begins with *Runner_*, and is followed by a UTC timestamp of when the application was started.
|
||||
Vous pouvez surveiller l’état de l’application d’exécuteur auto-hébergé et ses activités. Les fichiers journaux sont conservés dans le répertoire `_diag` où vous avez installé l’application d’exécuteur, et un nouveau journal est généré chaque fois que l’application est démarrée. Le nom de fichier commence par *Runner_* et est suivi d’un horodatage UTC du démarrage de l’application.
|
||||
|
||||
For detailed logs on workflow job executions, see the next section describing the *Worker_* files.
|
||||
Pour obtenir des journaux détaillés sur les exécutions des travaux de workflow, consultez la section suivante décrivant les fichiers *Worker_* .
|
||||
|
||||
## Reviewing a job's log file
|
||||
## Examen du fichier journal d’un travail
|
||||
|
||||
The self-hosted runner application creates a detailed log file for each job that it processes. These files are stored in the `_diag` directory where you installed the runner application, and the filename begins with *Worker_*.
|
||||
L’application d’exécuteur auto-hébergé crée un fichier journal détaillé pour chaque travail qu’elle traite. Ces fichiers sont stockés dans le répertoire `_diag` où vous avez installé l’application d’exécuteur, et le nom de fichier commence par *Worker_* .
|
||||
|
||||
{% linux %}
|
||||
|
||||
## Using journalctl to check the self-hosted runner application service
|
||||
## Utilisation de journalctl pour vérifier le service d’application d’exécuteur auto-hébergé
|
||||
|
||||
For Linux-based self-hosted runners running the application using a service, you can use `journalctl` to monitor their real-time activity. The default systemd-based service uses the following naming convention: `actions.runner.<org>-<repo>.<runnerName>.service`. This name is truncated if it exceeds 80 characters, so the preferred way of finding the service's name is by checking the _.service_ file. For example:
|
||||
Pour les exécuteurs auto-hébergés basés sur Linux qui exécutent l’application à l’aide d’un service, vous pouvez utiliser `journalctl` pour surveiller leur activité en temps réel. Le service basé sur systemd par défaut utilise la convention d’affectation de noms suivante : `actions.runner.<org>-<repo>.<runnerName>.service`. Ce nom est tronqué s’il dépasse 80 caractères. Par conséquent, la meilleure façon de trouver le nom du service est de vérifier le fichier _.service_. Par exemple :
|
||||
|
||||
```shell
|
||||
$ cat ~/actions-runner/.service
|
||||
actions.runner.octo-org-octo-repo.runner01.service
|
||||
```
|
||||
|
||||
If this fails due to the service being installed elsewhere, you can find the service name in the list of running services. For example, on most Linux systems you can use the `systemctl` command:
|
||||
Si cela échoue du fait que le service est installé ailleurs, vous pouvez rechercher le nom du service dans la liste des services en cours d’exécution. Par exemple, sur la plupart des systèmes Linux, vous pouvez utiliser la commande `systemctl` :
|
||||
|
||||
```shell
|
||||
$ systemctl --type=service | grep actions.runner
|
||||
actions.runner.octo-org-octo-repo.hostname.service loaded active running GitHub Actions Runner (octo-org-octo-repo.hostname)
|
||||
```
|
||||
|
||||
You can use `journalctl` to monitor the real-time activity of the self-hosted runner:
|
||||
Vous pouvez utiliser `journalctl` pour surveiller l’activité en temps réel de l’exécuteur auto-hébergé :
|
||||
|
||||
```shell
|
||||
$ sudo journalctl -u actions.runner.octo-org-octo-repo.runner01.service -f
|
||||
```
|
||||
|
||||
In this example output, you can see `runner01` start, receive a job named `testAction`, and then display the resulting status:
|
||||
Dans cet exemple de sortie, vous pouvez voir `runner01` démarrer, recevoir un travail nommé `testAction`, puis afficher l’état résultant :
|
||||
|
||||
```shell
|
||||
Feb 11 14:57:07 runner01 runsvc.sh[962]: Starting Runner listener with startup type: service
|
||||
@@ -135,23 +133,23 @@ Feb 11 16:06:54 runner01 runsvc.sh[962]: 2020-02-11 16:06:54Z: Running job: test
|
||||
Feb 11 16:07:10 runner01 runsvc.sh[962]: 2020-02-11 16:07:10Z: Job testAction completed with result: Succeeded
|
||||
```
|
||||
|
||||
To view the `systemd` configuration, you can locate the service file here: `/etc/systemd/system/actions.runner.<org>-<repo>.<runnerName>.service`.
|
||||
If you want to customize the self-hosted runner application service, do not directly modify this file. Follow the instructions described in "[Configuring the self-hosted runner application as a service](/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service#customizing-the-self-hosted-runner-service)."
|
||||
Pour afficher la configuration `systemd`, vous pouvez localiser le fichier de service ici : `/etc/systemd/system/actions.runner.<org>-<repo>.<runnerName>.service`.
|
||||
Si vous souhaitez personnaliser le service d’application d’exécuteur auto-hébergé, ne modifiez pas directement ce fichier. Suivez les instructions décrites dans « [Configuration de l’application d’exécuteur auto-hébergé en tant que service](/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service#customizing-the-self-hosted-runner-service) ».
|
||||
|
||||
{% endlinux %}
|
||||
|
||||
{% mac %}
|
||||
|
||||
## Using `launchd` to check the self-hosted runner application service
|
||||
## Utilisation de `launchd` pour vérifier le service de l’application d’exécuteur auto-hébergé
|
||||
|
||||
For macOS-based self-hosted runners running the application as a service, you can use `launchctl` to monitor their real-time activity. The default launchd-based service uses the following naming convention: `actions.runner.<org>-<repo>.<runnerName>`. This name is truncated if it exceeds 80 characters, so the preferred way of finding the service's name is by checking the _.service_ file in the runner directory:
|
||||
Pour les exécuteurs auto-hébergés basés sur macOS qui exécutent l’application en tant que service, vous pouvez utiliser `launchctl` pour surveiller leur activité en temps réel. Le service par défaut basé sur launchd utilise la convention d’affectation de noms suivante : `actions.runner.<org>-<repo>.<runnerName>`. Ce nom est tronqué s’il dépasse 80 caractères, de sorte que la meilleure façon de rechercher le nom du service consiste à vérifier le fichier _.service_ dans le répertoire de l’exécuteur :
|
||||
|
||||
```shell
|
||||
% cat ~/actions-runner/.service
|
||||
/Users/exampleUsername/Library/LaunchAgents/actions.runner.octo-org-octo-repo.runner01.plist
|
||||
```
|
||||
|
||||
The `svc.sh` script uses `launchctl` to check whether the application is running. For example:
|
||||
Le script `svc.sh` utilise `launchctl` pour vérifier si l’application est en cours d’exécution. Par exemple :
|
||||
|
||||
```shell
|
||||
$ ./svc.sh status
|
||||
@@ -161,25 +159,25 @@ Started:
|
||||
379 0 actions.runner.example.runner01
|
||||
```
|
||||
|
||||
The resulting output includes the process ID and the name of the application’s `launchd` service.
|
||||
La sortie obtenue inclut l’ID de processus et le nom du service `launchd` de l’application.
|
||||
|
||||
To view the `launchd` configuration, you can locate the service file here: `/Users/exampleUsername/Library/LaunchAgents/actions.runner.<repoName>.<runnerName>.service`.
|
||||
If you want to customize the self-hosted runner application service, do not directly modify this file. Follow the instructions described in "[Configuring the self-hosted runner application as a service](/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service#customizing-the-self-hosted-runner-service-1)."
|
||||
Pour afficher la configuration `launchd`, vous pouvez localiser le fichier de service ici : `/Users/exampleUsername/Library/LaunchAgents/actions.runner.<repoName>.<runnerName>.service`.
|
||||
Si vous souhaitez personnaliser le service d’application d’exécuteur auto-hébergé, ne modifiez pas directement ce fichier. Suivez les instructions décrites dans « [Configuration de l’application d’exécuteur auto-hébergé en tant que service](/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service#customizing-the-self-hosted-runner-service-1) ».
|
||||
|
||||
{% endmac %}
|
||||
|
||||
{% windows %}
|
||||
|
||||
## Using PowerShell to check the self-hosted runner application service
|
||||
## Utilisation de PowerShell pour vérifier le service de l’application d’exécuteur auto-hébergé
|
||||
|
||||
For Windows-based self-hosted runners running the application as a service, you can use PowerShell to monitor their real-time activity. The service uses the naming convention `GitHub Actions Runner (<org>-<repo>.<runnerName>)`. You can also find the service's name by checking the _.service_ file in the runner directory:
|
||||
Pour les exécuteurs auto-hébergés basés sur Windows qui exécutent l’application en tant que service, vous pouvez utiliser PowerShell pour surveiller leur activité en temps réel. Le service utilise la convention d’affectation de noms `GitHub Actions Runner (<org>-<repo>.<runnerName>)`. Vous pouvez également rechercher le nom du service en vérifiant le fichier _.service_ dans le répertoire de l’exécuteur :
|
||||
|
||||
```shell
|
||||
PS C:\actions-runner> Get-Content .service
|
||||
actions.runner.octo-org-octo-repo.runner01.service
|
||||
```
|
||||
|
||||
You can view the status of the runner in the Windows _Services_ application (`services.msc`). You can also use PowerShell to check whether the service is running:
|
||||
Vous pouvez afficher l’état de l’exécuteur dans l’application Windows _Services_ (`services.msc`). Vous pouvez également utiliser PowerShell pour vérifier si le service est en cours d’exécution :
|
||||
|
||||
```shell
|
||||
PS C:\actions-runner> Get-Service "actions.runner.octo-org-octo-repo.runner01.service" | Select-Object Name, Status
|
||||
@@ -188,7 +186,7 @@ Name Status
|
||||
actions.runner.octo-org-octo-repo.runner01.service Running
|
||||
```
|
||||
|
||||
You can use PowerShell to check the recent activity of the self-hosted runner. In this example output, you can see the application start, receive a job named `testAction`, and then display the resulting status:
|
||||
Vous pouvez utiliser PowerShell pour vérifier l’activité récente de l’exécuteur auto-hébergé. Dans cet exemple de sortie, vous pouvez voir le démarrage de l’application, recevoir un travail nommé `testAction`, puis afficher l’état résultant :
|
||||
|
||||
```shell
|
||||
PS C:\actions-runner> Get-EventLog -LogName Application -Source ActionsRunnerService
|
||||
@@ -207,34 +205,34 @@ PS C:\actions-runner> Get-EventLog -LogName Application -Source ActionsRunnerSer
|
||||
|
||||
{% endwindows %}
|
||||
|
||||
## Monitoring the automatic update process
|
||||
## Surveillance du processus de mise à jour automatique
|
||||
|
||||
We recommend that you regularly check the automatic update process, as the self-hosted runner will not be able to process jobs if it falls below a certain version threshold. The self-hosted runner application automatically updates itself, but note that this process does not include any updates to the operating system or other software; you will need to separately manage these updates.
|
||||
Nous vous recommandons de vérifier régulièrement le processus de mise à jour automatique, car l’exécuteur auto-hébergé ne pourra pas traiter les travaux s’il tombe en dessous d’un certain seuil de version. L’application d’exécuteur auto-hébergé est automatiquement mise à jour, mais notez que ce processus n’inclut aucune mise à jour du système d’exploitation ni d’autres logiciels. Vous devez gérer séparément ces mises à jour.
|
||||
|
||||
You can view the update activities in the *Runner_* log files. For example:
|
||||
Vous pouvez afficher les activités de mise à jour dans les fichiers journaux *Runner_* . Par exemple :
|
||||
|
||||
```shell
|
||||
[Feb 12 12:37:07 INFO SelfUpdater] An update is available.
|
||||
```
|
||||
|
||||
In addition, you can find more information in the _SelfUpdate_ log files located in the `_diag` directory where you installed the runner application.
|
||||
En outre, vous trouverez plus d’informations dans les fichiers journaux _SelfUpdate_ situés dans le répertoire `_diag` où vous avez installé l’application d’exécuteur.
|
||||
|
||||
{% linux %}
|
||||
|
||||
## Troubleshooting containers in self-hosted runners
|
||||
## Résolution des problèmes liés aux conteneurs dans les exécuteurs auto-hébergés
|
||||
|
||||
### Checking that Docker is installed
|
||||
### Vérification de l’installation de Docker
|
||||
|
||||
If your jobs require containers, then the self-hosted runner must be Linux-based and needs to have Docker installed. Check that your self-hosted runner has Docker installed and that the service is running.
|
||||
Si vos travaux nécessitent des conteneurs, l’exécuteur auto-hébergé doit être basé sur Linux et Docker doit être installé. Vérifiez que votre exécuteur auto-hébergé dispose de Docker et que le service est en cours d’exécution.
|
||||
|
||||
You can use `systemctl` to check the service status:
|
||||
Vous pouvez utiliser `systemctl` pour vérifier l’état du service :
|
||||
|
||||
```shell
|
||||
$ sudo systemctl is-active docker.service
|
||||
active
|
||||
```
|
||||
|
||||
If Docker is not installed, then dependent actions will fail with the following errors:
|
||||
Si Docker n’est pas installé, les actions dépendantes échouent avec les erreurs suivantes :
|
||||
|
||||
```shell
|
||||
[2020-02-13 16:56:10Z INFO DockerCommandManager] Which: 'docker'
|
||||
@@ -242,15 +240,15 @@ If Docker is not installed, then dependent actions will fail with the following
|
||||
[2020-02-13 16:56:10Z ERR StepsRunner] Caught exception from step: System.IO.FileNotFoundException: File not found: 'docker'
|
||||
```
|
||||
|
||||
### Checking the Docker permissions
|
||||
### Vérification des autorisations Docker
|
||||
|
||||
If your job fails with the following error:
|
||||
Si votre travail échoue avec l’erreur suivante :
|
||||
|
||||
```shell
|
||||
dial unix /var/run/docker.sock: connect: permission denied
|
||||
```
|
||||
|
||||
Check that the self-hosted runner's service account has permission to use the Docker service. You can identify this account by checking the configuration of the self-hosted runner in `systemd`. For example:
|
||||
Vérifiez que le compte de service de l’exécuteur auto-hébergé dispose de l’autorisation nécessaire pour utiliser le service Docker. Vous pouvez identifier ce compte en vérifiant la configuration de l’exécuteur auto-hébergé dans `systemd`. Par exemple :
|
||||
|
||||
```shell
|
||||
$ sudo systemctl show -p User actions.runner.octo-org-octo-repo.runner01.service
|
||||
@@ -260,26 +258,9 @@ User=runner-user
|
||||
{% endlinux %}
|
||||
|
||||
{% ifversion ghes %}
|
||||
## Resolving runners that are offline after an upgrade of {% data variables.location.product_location %}
|
||||
## Résolution des exécuteurs hors connexion après une mise à niveau de {% data variables.product.product_location %}
|
||||
|
||||
{% data reusables.actions.upgrade-runners-before-upgrade-ghes %}
|
||||
|
||||
If your runners are offline for this reason, manually update the runners. For more information, see the installation instructions for [the latest release](https://github.com/actions/runner/releases/latest) in the actions/runner repository.
|
||||
Si vos exécuteurs sont hors connexion pour cette raison, mettez à jour manuellement les exécuteurs. Pour plus d’informations, consultez les instructions d’installation pour [la dernière version](https://github.com/actions/runner/releases/latest) dans le dépôt actions/runner.
|
||||
{% endif %}
|
||||
|
||||
### Checking which Docker engine is installed on the runner
|
||||
|
||||
If your build fails with the following error:
|
||||
|
||||
```shell
|
||||
Error: Input required and not supplied: java-version
|
||||
```
|
||||
|
||||
Check which Docker engine is installed on your self-hosted runner. To pass the inputs of an action into the Docker container, the runner uses environment variables that might contain dashes as part of their names. The action may not able to get the inputs if the Docker engine is not a binary executable, but is instead a shell wrapper or a link (for example, a Docker engine installed on Linux using `snap`). To address this error, configure your self-hosted runner to use a different Docker engine.
|
||||
|
||||
To check if your Docker engine was installed using `snap`, use the `which` command. In the following example, the Docker engine was installed using `snap`:
|
||||
|
||||
```shell
|
||||
$ which docker
|
||||
/snap/bin/docker
|
||||
```
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Removing self-hosted runners
|
||||
intro: 'You can permanently remove a self-hosted runner from a repository{% ifversion fpt %} or organization{% elsif ghec or ghes or gahe %}, an organization, or an enterprise{% endif %}.'
|
||||
title: Suppression d’exécuteurs auto-hébergés
|
||||
intro: 'Vous pouvez supprimer définitivement un exécuteur autohébergé d’un dépôt{% ifversion fpt %} ou d’une organisation{% elsif ghec or ghes or gahe %}, d’une organisation ou d’une entreprise{% endif %}.'
|
||||
redirect_from:
|
||||
- /github/automating-your-workflow-with-github-actions/removing-self-hosted-runners
|
||||
- /actions/automating-your-workflow-with-github-actions/removing-self-hosted-runners
|
||||
@@ -11,92 +11,54 @@ versions:
|
||||
ghec: '*'
|
||||
type: tutorial
|
||||
shortTitle: Remove self-hosted runners
|
||||
ms.openlocfilehash: d47a2e348f2d1a79342934e70115314d9e62f6f0
|
||||
ms.sourcegitcommit: fb047f9450b41b24afc43d9512a5db2a2b750a2a
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/11/2022
|
||||
ms.locfileid: '145086685'
|
||||
---
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
## Removing a runner from a repository
|
||||
## Suppression d’un exécuteur d’un dépôt
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** {% data reusables.actions.self-hosted-runner-removal-impact %}
|
||||
**Remarque :** {% data reusables.actions.self-hosted-runner-removal-impact %}
|
||||
|
||||
{% data reusables.actions.self-hosted-runner-auto-removal %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
To remove a self-hosted runner from a user repository you must be the repository owner. For an organization repository, you must be an organization owner or have admin access to the repository. We recommend that you also have access to the self-hosted runner machine. For information about how to remove a self-hosted runner with the REST API, see "[Self-hosted runners](/rest/reference/actions#self-hosted-runners)."
|
||||
Pour supprimer un exécuteur auto-hébergé d’un dépôt utilisateur, vous devez être propriétaire du dépôt. Pour un dépôt d’organisation, vous devez être propriétaire de l’organisation ou disposer d’un accès administrateur au dépôt. Nous vous recommandons également d’avoir accès à la machine de l’exécuteur auto-hébergé. Pour obtenir des informations sur la façon de supprimer un exécuteur auto-hébergé avec l’API REST, consultez « [Exécuteurs auto-hébergés](/rest/reference/actions#self-hosted-runners) ».
|
||||
|
||||
{% data reusables.actions.self-hosted-runner-reusing %}
|
||||
{% ifversion fpt or ghec or ghes > 3.3 or ghae > 3.3 %}
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
{% data reusables.repositories.sidebar-settings %}
|
||||
{% data reusables.repositories.settings-sidebar-actions-runners %}
|
||||
{% data reusables.actions.settings-sidebar-actions-runner-selection %}
|
||||
{% data reusables.actions.self-hosted-runner-removing-a-runner-updated %}
|
||||
{% elsif ghae or ghes < 3.4 %}
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
{% data reusables.repositories.sidebar-settings %}
|
||||
{% data reusables.repositories.settings-sidebar-actions-runners %}
|
||||
{% data reusables.actions.self-hosted-runner-removing-a-runner %}
|
||||
{% endif %}
|
||||
{% data reusables.actions.self-hosted-runner-reusing %} {% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5091 %} {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% data reusables.repositories.settings-sidebar-actions-runners %} {% data reusables.actions.settings-sidebar-actions-runner-selection %} {% data reusables.actions.self-hosted-runner-removing-a-runner-updated %} {% elsif ghae or ghes < 3.4 %} {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% data reusables.repositories.settings-sidebar-actions-runners %} {% data reusables.actions.self-hosted-runner-removing-a-runner %} {% endif %}
|
||||
|
||||
## Removing a runner from an organization
|
||||
## Suppression d’un exécuteur d’une organisation
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** {% data reusables.actions.self-hosted-runner-removal-impact %}
|
||||
**Remarque :** {% data reusables.actions.self-hosted-runner-removal-impact %}
|
||||
|
||||
{% data reusables.actions.self-hosted-runner-auto-removal %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
To remove a self-hosted runner from an organization, you must be an organization owner. We recommend that you also have access to the self-hosted runner machine. For information about how to remove a self-hosted runner with the REST API, see "[Self-hosted runners](/rest/reference/actions#self-hosted-runners)."
|
||||
Pour supprimer un exécuteur auto-hébergé d’une organisation, vous devez être propriétaire de l’organisation. Nous vous recommandons également d’avoir accès à la machine de l’exécuteur auto-hébergé. Pour obtenir des informations sur la façon de supprimer un exécuteur auto-hébergé avec l’API REST, consultez « [Exécuteurs auto-hébergés](/rest/reference/actions#self-hosted-runners) ».
|
||||
|
||||
{% data reusables.actions.self-hosted-runner-reusing %}
|
||||
{% ifversion fpt or ghes > 3.3 or ghec %}
|
||||
{% data reusables.organizations.navigate-to-org %}
|
||||
{% data reusables.organizations.org_settings %}
|
||||
{% data reusables.organizations.settings-sidebar-actions-runners %}
|
||||
{% data reusables.actions.settings-sidebar-actions-runner-selection %}
|
||||
{% data reusables.actions.self-hosted-runner-removing-a-runner-updated %}
|
||||
{% elsif ghes < 3.4 or ghae %}
|
||||
{% data reusables.organizations.navigate-to-org %}
|
||||
{% data reusables.organizations.org_settings %}
|
||||
{% data reusables.organizations.settings-sidebar-actions-runners %}
|
||||
{% data reusables.actions.self-hosted-runner-removing-a-runner %}
|
||||
{% endif %}
|
||||
{% data reusables.actions.self-hosted-runner-reusing %} {% ifversion fpt or ghes > 3.3 or ghec %} {% data reusables.organizations.navigate-to-org %} {% data reusables.organizations.org_settings %} {% data reusables.organizations.settings-sidebar-actions-runners %} {% data reusables.actions.settings-sidebar-actions-runner-selection %} {% data reusables.actions.self-hosted-runner-removing-a-runner-updated %} {% elsif ghes < 3.4 or ghae %} {% data reusables.organizations.navigate-to-org %} {% data reusables.organizations.org_settings %} {% data reusables.organizations.settings-sidebar-actions-runners %} {% data reusables.actions.self-hosted-runner-removing-a-runner %} {% endif %}
|
||||
|
||||
## Removing a runner from an enterprise
|
||||
## Suppression d’un exécuteur d’une entreprise
|
||||
|
||||
{% ifversion fpt %}
|
||||
If you use {% data variables.product.prodname_ghe_cloud %}, you can also remove runners from an enterprise. For more information, see the [{% data variables.product.prodname_ghe_cloud %} documentation](/enterprise-cloud@latest/actions/hosting-your-own-runners/removing-self-hosted-runners#removing-a-runner-from-an-enterprise).
|
||||
{% endif %}
|
||||
{% ifversion ghec or ghes or ghae %}
|
||||
{% note %}
|
||||
{% ifversion fpt %} Si vous utilisez {% data variables.product.prodname_ghe_cloud %}, vous pouvez également supprimer des exécuteurs d’une entreprise. Pour plus d’informations, consultez la [documentation {% data variables.product.prodname_ghe_cloud %}](/enterprise-cloud@latest/actions/hosting-your-own-runners/removing-self-hosted-runners#removing-a-runner-from-an-enterprise).
|
||||
{% endif %} {% ifversion ghec or ghes or ghae %} {% note %}
|
||||
|
||||
**Note:** {% data reusables.actions.self-hosted-runner-removal-impact %}
|
||||
**Remarque :** {% data reusables.actions.self-hosted-runner-removal-impact %}
|
||||
|
||||
{% data reusables.actions.self-hosted-runner-auto-removal %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
To remove a self-hosted runner from an enterprise, you must be an enterprise owner. We recommend that you also have access to the self-hosted runner machine. For information about how to remove a self-hosted runner with the REST API, see the enterprise endpoints in the [{% data variables.product.prodname_actions %} REST API](/rest/reference/actions#self-hosted-runners).
|
||||
Pour supprimer un exécuteur auto-hébergé d’une entreprise, vous devez être propriétaire de l’entreprise. Nous vous recommandons également d’avoir accès à la machine de l’exécuteur auto-hébergé. Pour obtenir des informations sur la façon de supprimer un exécuteur auto-hébergé avec l’API REST, consultez les points de terminaison de l’entreprise dans l’[API REST {% data variables.product.prodname_actions %}](/rest/reference/actions#self-hosted-runners).
|
||||
|
||||
{% data reusables.actions.self-hosted-runner-reusing %}
|
||||
{% ifversion ghec or ghes > 3.3 or ghae > 3.3 %}
|
||||
{% data reusables.enterprise-accounts.access-enterprise %}
|
||||
{% data reusables.enterprise-accounts.policies-tab %}
|
||||
{% data reusables.enterprise-accounts.actions-tab %}
|
||||
{% data reusables.enterprise-accounts.actions-runners-tab %}
|
||||
{% data reusables.actions.settings-sidebar-actions-runner-selection %}
|
||||
{% data reusables.actions.self-hosted-runner-removing-a-runner-updated %}
|
||||
{% elsif ghae or ghes < 3.4 %}
|
||||
{% data reusables.enterprise-accounts.access-enterprise %}
|
||||
{% data reusables.enterprise-accounts.policies-tab %}
|
||||
{% data reusables.enterprise-accounts.actions-tab %}
|
||||
{% data reusables.enterprise-accounts.actions-runners-tab %}
|
||||
{% data reusables.actions.self-hosted-runner-removing-a-runner %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% data reusables.actions.self-hosted-runner-reusing %} {% ifversion ghec or ghes > 3.3 or ghae-issue-5091 %} {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.policies-tab %} {% data reusables.enterprise-accounts.actions-tab %} {% data reusables.enterprise-accounts.actions-runners-tab %} {% data reusables.actions.settings-sidebar-actions-runner-selection %} {% data reusables.actions.self-hosted-runner-removing-a-runner-updated %} {% elsif ghae or ghes < 3.4 %} {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.policies-tab %} {% data reusables.enterprise-accounts.actions-tab %} {% data reusables.enterprise-accounts.actions-runners-tab %} {% data reusables.actions.self-hosted-runner-removing-a-runner %} {% endif %} {% endif %}
|
||||
|
||||
@@ -1,76 +1,81 @@
|
||||
---
|
||||
title: Running scripts before or after a job
|
||||
intro: 'Scripts can automatically execute on a self-hosted runner, directly before or after a job.'
|
||||
title: Exécution de scripts avant ou après un travail
|
||||
intro: 'Les scripts peuvent s’exécuter automatiquement sur un exécuteur autohébergé, juste avant ou après un travail.'
|
||||
versions:
|
||||
feature: job-hooks-for-runners
|
||||
type: tutorial
|
||||
miniTocMaxHeadingLevel: 3
|
||||
shortTitle: Run a script before or after a job
|
||||
ms.openlocfilehash: 11b2f63cd70c5276f0626a6016593553d1bedd0c
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147067649'
|
||||
---
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: This feature is currently in beta and is subject to change.
|
||||
**Remarque** : Cette fonctionnalité est actuellement en version bêta et est sujette à modification.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
## About pre- and post-job scripts
|
||||
## À propos des scripts antérieurs et postérieurs aux travaux
|
||||
|
||||
You can automatically execute scripts on a self-hosted runner, either before a job runs, or after a job finishes running. You could use these scripts to support the job's requirements, such as building or tearing down a runner environment, or cleaning out directories. You could also use these scripts to track telemetry of how your runners are used.
|
||||
Vous pouvez exécuter automatiquement des scripts sur un exécuteur auto-hébergé, soit avant l’exécution d’un travail, soit après son exécution. Vous pouvez utiliser ces scripts pour prendre en charge les exigences du travail, telles que la création ou la suppression d’un environnement d’exécuteur ou le nettoyage des répertoires. Vous pouvez également utiliser ces scripts pour suivre les données de télémétrie de la façon dont vos exécuteurs sont utilisés.
|
||||
|
||||
The custom scripts are automatically triggered when a specific environment variable is set on the runner; the environment variable must contain the absolute path to the script. For more information, see "[Triggering the scripts](#triggering-the-scripts)" below.
|
||||
Les scripts personnalisés sont automatiquement déclenchés lorsqu’une variable d’environnement spécifique est définie sur l’exécuteur. La variable d’environnement doit contenir le chemin absolu vers le script. Pour plus d’informations, consultez « [Déclenchement des scripts](#triggering-the-scripts) » ci-dessous.
|
||||
|
||||
The following scripting languages are supported:
|
||||
Les langages de script suivants sont pris en charge :
|
||||
|
||||
- **Bash**: Uses `bash` and can fallback to `sh`. Executes by running `-e {pathtofile}`.
|
||||
- **PowerShell**: Uses `pwsh` and can fallback to `powershell`. Executes by running `-command \". '{pathtofile}'\"`.
|
||||
- **Bash** : utilise `bash` et peut basculer vers `sh`. S’exécute en exécutant `-e {pathtofile}`.
|
||||
- **PowerShell** : utilise `pwsh` et peut basculer vers `powershell`. S’exécute en exécutant `-command \". '{pathtofile}'\"`.
|
||||
|
||||
## Writing the scripts
|
||||
## Écriture des scripts
|
||||
|
||||
Your custom scripts can use the following features:
|
||||
Vos scripts personnalisés peuvent utiliser les fonctionnalités suivantes :
|
||||
|
||||
- **Environment variables**: Scripts have access to the default environment variables. The full webhook event payload can be found in `GITHUB_EVENT_PATH`. For more information, see "[Environment variables](/actions/learn-github-actions/environment-variables#default-environment-variables)."
|
||||
- **Workflow commands**: Scripts can use workflow commands. For more information, see ["Workflow commands for {% data variables.product.prodname_actions %}"](/actions/using-workflows/workflow-commands-for-github-actions){% ifversion actions-save-state-set-output-envs %}{% else %}, with the exception of `save-state` and `set-output`, which are not supported by these scripts{% endif %}. Scripts can also use environment files. For more information, see [Environment files](/actions/using-workflows/workflow-commands-for-github-actions#environment-files).
|
||||
- **Variables d’environnement** : Les scripts ont accès aux variables d’environnement par défaut. La charge utile d’événement webhook complète est disponible dans `GITHUB_EVENT_PATH`. Pour en savoir plus, consultez « [Variables d’environnement](/actions/learn-github-actions/environment-variables#default-environment-variables) ».
|
||||
- **Commandes de workflow** : les scripts peuvent utiliser des commandes de workflow. Pour plus d’informations, consultez [« Commandes de workflow pour {% data variables.product.prodname_actions %} »](/actions/using-workflows/workflow-commands-for-github-actions), à l’exception de `save-state` et `set-output`, qui ne sont pas pris en charge par ces scripts. Les scripts peuvent également utiliser des fichiers d’environnement. Pour plus d’informations, consultez [Fichiers d’environnement](/actions/using-workflows/workflow-commands-for-github-actions#environment-files).
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: Avoid using your scripts to output sensitive information to the console, as anyone with read access to the repository might be able to see the output in the UI logs.
|
||||
**Remarque** : Évitez d’utiliser vos scripts pour générer des informations sensibles pour la console, car toute personne disposant d’un accès en lecture au dépôt peut voir la sortie dans les journaux d’interface utilisateur.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
### Handling exit codes
|
||||
### Gestion des codes de sortie
|
||||
|
||||
For pre-job scripts, exit code `0` indicates that the script completed successfully, and the job will then proceed to run. If there is any other exit code, the job will not run and will be marked as failed. To see the results of your pre-job scripts, check the logs for `Set up runner` entries. For more information on checking the logs, see "[Viewing logs to diagnose failures](/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs#viewing-logs-to-diagnose-failures)."
|
||||
Pour les scripts antérieurs aux travaux, le code de sortie `0` indique que le script s’est terminé correctement et que le travail va ensuite s’exécuter. S’il existe un autre code de sortie, le travail ne sera pas exécuté et sera marqué comme ayant échoué. Pour afficher les résultats de vos scripts antérieurs aux travaux, vérifiez les journaux à la recherche d’entrées `Set up runner`. Pour plus d’informations sur la vérification des journaux, consultez « [Affichage des journaux pour diagnostiquer les défaillances](/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs#viewing-logs-to-diagnose-failures) ».
|
||||
|
||||
The [`continue-on-error`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idcontinue-on-error) setting is not supported for use by these scripts.
|
||||
Le paramètre [`continue-on-error`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idcontinue-on-error) n’est pas pris en charge pour une utilisation par ces scripts.
|
||||
|
||||
## Triggering the scripts
|
||||
## Déclenchement des scripts
|
||||
|
||||
The custom scripts must be located on the runner, but should not be stored in the `actions-runner` application directory. The scripts are executed in the security context of the service account that's running the runner service.
|
||||
Les scripts personnalisés doivent se trouver sur l’exécuteur, mais ne doivent pas être stockés dans le répertoire de l’application `actions-runner`. Les scripts sont exécutés dans le contexte de sécurité du compte de service qui exécute le service d’exécuteur.
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: The triggered scripts are processed synchronously, so they will block job execution while they are running.
|
||||
**Remarque** : Les scripts déclenchés sont traités de manière synchrone, de manière à bloquer l’exécution des travaux pendant leur exécution.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
The scripts are automatically executed when the runner has the following environment variables containing an absolute path to the script:
|
||||
- `ACTIONS_RUNNER_HOOK_JOB_STARTED`: The script defined in this environment variable is triggered when a job has been assigned to a runner, but before the job starts running.
|
||||
- `ACTIONS_RUNNER_HOOK_JOB_COMPLETED`: The script defined in this environment variable is triggered after the job has finished processing.
|
||||
Les scripts sont exécutés automatiquement lorsque l’exécuteur possède les variables d’environnement suivantes contenant un chemin absolu vers le script :
|
||||
- `ACTIONS_RUNNER_HOOK_JOB_STARTED` : le script défini dans cette variable d’environnement est déclenché quand un travail a été affecté à un exécuteur, mais avant l’exécution du travail.
|
||||
- `ACTIONS_RUNNER_HOOK_JOB_COMPLETED` : le script défini dans cette variable d’environnement est déclenché une fois que le travail a terminé le traitement.
|
||||
|
||||
To set these environment variables, you can either add them to the operating system, or add them to a file named `.env` within the self-hosted runner application directory. For example, the following `.env` entry will have the runner automatically run a script named `cleanup_script.sh` before each job runs:
|
||||
Pour définir ces variables d’environnement, vous pouvez les ajouter au système d’exploitation ou les ajouter à un fichier nommé `.env` dans le répertoire d’application d’exécuteur auto-hébergé. Par exemple, l’entrée `.env` suivante entraîne l’exécution automatique par l’exécuteur d’un script nommé `cleanup_script.sh` avant l’exécution de chaque travail :
|
||||
|
||||
```bash
|
||||
ACTIONS_RUNNER_HOOK_JOB_STARTED=/cleanup_script.sh
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
## Dépannage
|
||||
|
||||
|
||||
### No timeout setting
|
||||
### Pas de paramètre de délai d’attente
|
||||
|
||||
There is currently no timeout setting available for scripts executed by `ACTIONS_RUNNER_HOOK_JOB_STARTED` or `ACTIONS_RUNNER_HOOK_JOB_COMPLETED`. As a result, you could consider adding timeout handling to your script.
|
||||
Il n’existe actuellement aucun paramètre de délai d’attente disponible pour les scripts exécutés par `ACTIONS_RUNNER_HOOK_JOB_STARTED` ou `ACTIONS_RUNNER_HOOK_JOB_COMPLETED`. Par conséquent, vous pouvez envisager d’ajouter la gestion des délais d’expiration à votre script.
|
||||
|
||||
### Reviewing the workflow run log
|
||||
### Examen du journal d’exécution de workflow
|
||||
|
||||
To confirm whether your scripts are executing, you can review the logs for that job. The scripts will be listed within separate steps for either `Set up runner` or `Complete runner`, depending on which environment variable is triggering the script. For more information on checking the logs, see "[Viewing logs to diagnose failures](/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs#viewing-logs-to-diagnose-failures)."
|
||||
Pour vérifier si vos scripts s’exécutent, vous pouvez passer en revue les journaux pour ce travail. Les scripts sont répertoriés dans des étapes distinctes pour `Set up runner` ou `Complete runner`, selon la variable d’environnement qui déclenche le script. Pour plus d’informations sur la vérification des journaux, consultez « [Affichage des journaux pour diagnostiquer les défaillances](/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs#viewing-logs-to-diagnose-failures) ».
|
||||
|
||||
@@ -1,35 +1,38 @@
|
||||
---
|
||||
title: Expressions
|
||||
shortTitle: Expressions
|
||||
intro: You can evaluate expressions in workflows and actions.
|
||||
intro: Vous pouvez évaluer des expressions dans les workflows et les actions.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
miniTocMaxHeadingLevel: 3
|
||||
ms.openlocfilehash: 94bd9f7a43d4325e497a776357711adf64c0d7ba
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147614222'
|
||||
---
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
## À propos des expressions
|
||||
|
||||
## About expressions
|
||||
Vous pouvez utiliser des expressions pour définir par programmation des variables d’environnement dans les fichiers de workflow et les contextes d’accès. Une expression peut être une combinaison quelconque de valeurs littérales, de références à un contexte ou de fonctions. Vous pouvez combiner des littéraux, des références de contexte et des fonctions à l’aide d’opérateurs. Pour plus d’informations sur les contextes, consultez « [Contextes](/actions/learn-github-actions/contexts) ».
|
||||
|
||||
You can use expressions to programmatically set environment variables in workflow files and access contexts. An expression can be any combination of literal values, references to a context, or functions. You can combine literals, context references, and functions using operators. For more information about contexts, see "[Contexts](/actions/learn-github-actions/contexts)."
|
||||
Les expressions sont couramment utilisées avec le mot clé conditionnel `if` dans un fichier de workflow pour déterminer si une étape doit être exécutée ou non. Quand une condition `if` est `true`, l’étape s’exécute.
|
||||
|
||||
Expressions are commonly used with the conditional `if` keyword in a workflow file to determine whether a step should run. When an `if` conditional is `true`, the step will run.
|
||||
Vous devez utiliser une syntaxe spécifique pour indiquer à {% data variables.product.prodname_dotcom %} d’évaluer une expression plutôt que de la traiter comme une chaîne.
|
||||
|
||||
You need to use specific syntax to tell {% data variables.product.prodname_dotcom %} to evaluate an expression rather than treat it as a string.
|
||||
|
||||
{% raw %}
|
||||
`${{ <expression> }}`
|
||||
{% raw %} `${{ <expression> }}`
|
||||
{% endraw %}
|
||||
|
||||
{% data reusables.actions.expression-syntax-if %} For more information about `if` conditionals, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/articles/workflow-syntax-for-github-actions/#jobsjob_idif)."
|
||||
{% data reusables.actions.expression-syntax-if %} Pour plus d’informations sur les conditions `if`, consultez « [Syntaxe de workflow pour {% data variables.product.prodname_actions %}](/articles/workflow-syntax-for-github-actions/#jobsjob_idif) ».
|
||||
|
||||
{% data reusables.actions.context-injection-warning %}
|
||||
|
||||
#### Example expression in an `if` conditional
|
||||
#### Exemple d’expression dans une condition `if`
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
@@ -37,7 +40,7 @@ steps:
|
||||
if: {% raw %}${{ <expression> }}{% endraw %}
|
||||
```
|
||||
|
||||
#### Example setting an environment variable
|
||||
#### Exemple de définition d’une variable d’environnement
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
@@ -46,18 +49,18 @@ env:
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
## Literals
|
||||
## Littéraux
|
||||
|
||||
As part of an expression, you can use `boolean`, `null`, `number`, or `string` data types.
|
||||
Dans le cadre d’une expression, vous pouvez utiliser des types de données `boolean`, `null`, `number` ou `string`.
|
||||
|
||||
| Data type | Literal value |
|
||||
| Type de données | Valeur littérale |
|
||||
|-----------|---------------|
|
||||
| `boolean` | `true` or `false` |
|
||||
| `boolean` | `true` ou `false` |
|
||||
| `null` | `null` |
|
||||
| `number` | Any number format supported by JSON. |
|
||||
| `string` | You don't need to enclose strings in `{% raw %}${{{% endraw %}` and `{% raw %}}}{% endraw %}`. However, if you do, you must use single quotes (`'`) around the string. To use a literal single quote, escape the literal single quote using an additional single quote (`''`). Wrapping with double quotes (`"`) will throw an error. |
|
||||
| `number` | Tout format de nombre pris en charge par JSON. |
|
||||
| `string` | Vous n’avez pas besoin de placer les chaînes entre `{% raw %}${{{% endraw %}` et `{% raw %}}}{% endraw %}`. Toutefois, si vous le faites, vous devez utiliser des guillemets simples (`'`) autour de la chaîne. Pour utiliser un guillemet simple littéral, échappez le guillemet simple littéral en utilisant un guillemet simple supplémentaire (`''`). L’utilisation de guillemets doubles (`"`) génère une erreur. |
|
||||
|
||||
#### Example
|
||||
#### Exemple
|
||||
|
||||
{% raw %}
|
||||
|
||||
@@ -75,105 +78,105 @@ env:
|
||||
|
||||
{% endraw %}
|
||||
|
||||
## Operators
|
||||
## Opérateurs
|
||||
|
||||
| Operator | Description |
|
||||
| Opérateur | Description |
|
||||
| --- | --- |
|
||||
| `( )` | Logical grouping |
|
||||
| `( )` | Regroupement logique |
|
||||
| `[ ]` | Index
|
||||
| `.` | Property de-reference |
|
||||
| `.` | Annulation de référence de propriété |
|
||||
| `!` | Not |
|
||||
| `<` | Less than |
|
||||
| `<=` | Less than or equal |
|
||||
| `>` | Greater than |
|
||||
| `>=` | Greater than or equal |
|
||||
| `==` | Equal |
|
||||
| `!=` | Not equal |
|
||||
| `&&` | And |
|
||||
| <code>\|\|</code> | Or |
|
||||
| `<` | Inférieur à |
|
||||
| `<=` | Inférieur ou égal à |
|
||||
| `>` | Supérieur à |
|
||||
| `>=` | Supérieur ou égal à |
|
||||
| `==` | Égal à |
|
||||
| `!=` | Différent de |
|
||||
| `&&` | and |
|
||||
| <code>\|\|</code> | ou |
|
||||
|
||||
{% data variables.product.prodname_dotcom %} performs loose equality comparisons.
|
||||
{% data variables.product.prodname_dotcom %} effectue des comparaisons d’égalité faible.
|
||||
|
||||
* If the types do not match, {% data variables.product.prodname_dotcom %} coerces the type to a number. {% data variables.product.prodname_dotcom %} casts data types to a number using these conversions:
|
||||
* Si les types ne correspondent pas, {% data variables.product.prodname_dotcom %} impose un type numéral. {% data variables.product.prodname_dotcom %} convertit les types de données en nombre à l’aide des conversions suivantes :
|
||||
|
||||
| Type | Result |
|
||||
| Type | Résultats |
|
||||
| --- | --- |
|
||||
| Null | `0` |
|
||||
| Boolean | `true` returns `1` <br /> `false` returns `0` |
|
||||
| String | Parsed from any legal JSON number format, otherwise `NaN`. <br /> Note: empty string returns `0`. |
|
||||
| Booléen | `true` retourne `1` <br /> `false` retourne `0` |
|
||||
| String | Analysé depuis n’importe quel format de nombre JSON légal ; sinon `NaN`. <br /> Remarque : une chaîne vide retourne `0`. |
|
||||
| Array | `NaN` |
|
||||
| Object | `NaN` |
|
||||
* A comparison of one `NaN` to another `NaN` does not result in `true`. For more information, see the "[NaN Mozilla docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN)."
|
||||
* {% data variables.product.prodname_dotcom %} ignores case when comparing strings.
|
||||
* Objects and arrays are only considered equal when they are the same instance.
|
||||
* Une comparaison entre un `NaN` et un autre `NaN` n’entraîne pas `true`. Pour plus d’informations, consultez les « [documents Mozilla sur NaN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN) ».
|
||||
* {% data variables.product.prodname_dotcom %} ignore la casse lors de la comparaison de chaînes.
|
||||
* Les objets et les tableaux sont considérés comme égaux uniquement lorsqu’ils sont une même instance.
|
||||
|
||||
## Functions
|
||||
## Fonctions
|
||||
|
||||
{% data variables.product.prodname_dotcom %} offers a set of built-in functions that you can use in expressions. Some functions cast values to a string to perform comparisons. {% data variables.product.prodname_dotcom %} casts data types to a string using these conversions:
|
||||
{% data variables.product.prodname_dotcom %} offre un ensemble de fonctions intégrées que vous pouvez utiliser dans des expressions. Certaines fonctions convertissent les valeurs en chaîne pour effectuer des comparaisons. {% data variables.product.prodname_dotcom %} convertit les types de données en chaîne à l’aide des conversions suivantes :
|
||||
|
||||
| Type | Result |
|
||||
| Type | Résultats |
|
||||
| --- | --- |
|
||||
| Null | `''` |
|
||||
| Boolean | `'true'` or `'false'` |
|
||||
| Number | Decimal format, exponential for large numbers |
|
||||
| Array | Arrays are not converted to a string |
|
||||
| Object | Objects are not converted to a string |
|
||||
| Booléen | `'true'` ou `'false'` |
|
||||
| Nombre | Format décimal, exponentiel pour de grands nombres |
|
||||
| Array | Les tableaux ne sont pas convertis en chaîne |
|
||||
| Object | Les objets ne sont pas convertis en chaîne |
|
||||
|
||||
### contains
|
||||
|
||||
`contains( search, item )`
|
||||
|
||||
Returns `true` if `search` contains `item`. If `search` is an array, this function returns `true` if the `item` is an element in the array. If `search` is a string, this function returns `true` if the `item` is a substring of `search`. This function is not case sensitive. Casts values to a string.
|
||||
Retourne `true` si `search` contient `item`. Si `search` est un tableau, cette fonction retourne `true` si `item` est un élément dans le tableau. Si `search` est une chaîne, cette fonction retourne `true` si l’élément `item` est une sous-chaîne de `search`. Cette fonction ne respecte pas la casse. Convertit les valeurs en chaîne.
|
||||
|
||||
#### Example using a string
|
||||
#### Exemple utilisant une chaîne
|
||||
|
||||
`contains('Hello world', 'llo')` returns `true`.
|
||||
`contains('Hello world', 'llo')` retourne `true`.
|
||||
|
||||
#### Example using an object filter
|
||||
#### Exemple utilisant un filtre d’objet
|
||||
|
||||
`contains(github.event.issue.labels.*.name, 'bug')` returns `true` if the issue related to the event has a label "bug".
|
||||
`contains(github.event.issue.labels.*.name, 'bug')` retourne `true` si le problème lié à l’événement a une étiquette « bug ».
|
||||
|
||||
For more information, see "[Object filters](#object-filters)."
|
||||
Pour plus d’informations, consultez « [Filtres d’objet ](#object-filters) ».
|
||||
|
||||
#### Example matching an array of strings
|
||||
#### Exemple mettant en correspondance un tableau de chaînes
|
||||
|
||||
Instead of writing `github.event_name == "push" || github.event_name == "pull_request"`, you can use `contains()` with `fromJson()` to check if an array of strings contains an `item`.
|
||||
Au lieu d’écrire `github.event_name == "push" || github.event_name == "pull_request"`, vous pouvez utiliser `contains()` avec `fromJson()` pour vérifier si un tableau de chaînes contient un `item`.
|
||||
|
||||
For example, `contains(fromJson('["push", "pull_request"]'), github.event_name)` returns `true` if `github.event_name` is "push" or "pull_request".
|
||||
Par exemple, `contains(fromJson('["push", "pull_request"]'), github.event_name)` retourne `true` si `github.event_name` est « push » ou « pull_request ».
|
||||
|
||||
### startsWith
|
||||
|
||||
`startsWith( searchString, searchValue )`
|
||||
|
||||
Returns `true` when `searchString` starts with `searchValue`. This function is not case sensitive. Casts values to a string.
|
||||
Retourne `true` quand `searchString` commence par `searchValue`. Cette fonction ne respecte pas la casse. Convertit les valeurs en chaîne.
|
||||
|
||||
#### Example
|
||||
#### Exemple
|
||||
|
||||
`startsWith('Hello world', 'He')` returns `true`.
|
||||
`startsWith('Hello world', 'He')` retourne `true`.
|
||||
|
||||
### endsWith
|
||||
|
||||
`endsWith( searchString, searchValue )`
|
||||
|
||||
Returns `true` if `searchString` ends with `searchValue`. This function is not case sensitive. Casts values to a string.
|
||||
Retourne `true` si `searchString` se termine par `searchValue`. Cette fonction ne respecte pas la casse. Convertit les valeurs en chaîne.
|
||||
|
||||
#### Example
|
||||
#### Exemple
|
||||
|
||||
`endsWith('Hello world', 'ld')` returns `true`.
|
||||
`endsWith('Hello world', 'ld')` retourne `true`.
|
||||
|
||||
### format
|
||||
|
||||
`format( string, replaceValue0, replaceValue1, ..., replaceValueN)`
|
||||
|
||||
Replaces values in the `string`, with the variable `replaceValueN`. Variables in the `string` are specified using the `{N}` syntax, where `N` is an integer. You must specify at least one `replaceValue` and `string`. There is no maximum for the number of variables (`replaceValueN`) you can use. Escape curly braces using double braces.
|
||||
Remplace les valeurs dans la chaîne `string`, par la variable `replaceValueN`. Les variables dans la chaîne `string` sont spécifiées à l’aide de la syntaxe `{N}`, où `N` est un entier. Vous devez spécifier au moins une valeur `replaceValue` et une chaîne `string`. Il n’existe pas de maximum pour le nombre de variables (`replaceValueN`) utilisables. Échappez les accolades à l’aide d’accolades doubles.
|
||||
|
||||
#### Example
|
||||
#### Exemple
|
||||
|
||||
`format('Hello {0} {1} {2}', 'Mona', 'the', 'Octocat')`
|
||||
|
||||
Returns 'Hello Mona the Octocat'.
|
||||
Retourne « Hello Mona the Octocat ».
|
||||
|
||||
#### Example escaping braces
|
||||
#### Exemple d’échappement d’accolades
|
||||
|
||||
{% raw %}
|
||||
```js
|
||||
@@ -181,37 +184,37 @@ format('{{Hello {0} {1} {2}!}}', 'Mona', 'the', 'Octocat')
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
Returns '{Hello Mona the Octocat!}'.
|
||||
Retourne « {Hello Mona the Octocat!} ».
|
||||
|
||||
### join
|
||||
|
||||
`join( array, optionalSeparator )`
|
||||
|
||||
The value for `array` can be an array or a string. All values in `array` are concatenated into a string. If you provide `optionalSeparator`, it is inserted between the concatenated values. Otherwise, the default separator `,` is used. Casts values to a string.
|
||||
La valeur pour `array` peut être un tableau ou une chaîne. Toutes les valeurs contenues dans `array` sont concaténées en une chaîne. Si vous fournissez `optionalSeparator`, il est inséré entre les valeurs concaténées. Sinon, le séparateur par défaut `,` est utilisé. Convertit les valeurs en chaîne.
|
||||
|
||||
#### Example
|
||||
#### Exemple
|
||||
|
||||
`join(github.event.issue.labels.*.name, ', ')` may return 'bug, help wanted'
|
||||
`join(github.event.issue.labels.*.name, ', ')` peut retourner « bug, help wanted »
|
||||
|
||||
### toJSON
|
||||
|
||||
`toJSON(value)`
|
||||
|
||||
Returns a pretty-print JSON representation of `value`. You can use this function to debug the information provided in contexts.
|
||||
Retourne une représentation JSON d’impression formatée de `value`. Vous pouvez utiliser cette fonction pour déboguer les informations fournies dans les contextes.
|
||||
|
||||
#### Example
|
||||
#### Exemple
|
||||
|
||||
`toJSON(job)` might return `{ "status": "Success" }`
|
||||
`toJSON(job)` peut retourner `{ "status": "Success" }`
|
||||
|
||||
### fromJSON
|
||||
|
||||
`fromJSON(value)`
|
||||
|
||||
Returns a JSON object or JSON data type for `value`. You can use this function to provide a JSON object as an evaluated expression or to convert environment variables from a string.
|
||||
Retourne un objet JSON ou un type de données JSON pour `value`. Vous pouvez utiliser cette fonction pour fournir un objet JSON en tant qu’expression évaluée ou pour convertir des variables d’environnement à partir d’une chaîne.
|
||||
|
||||
#### Example returning a JSON object
|
||||
#### Exemple de retour d’un objet JSON
|
||||
|
||||
This workflow sets a JSON matrix in one job, and passes it to the next job using an output and `fromJSON`.
|
||||
Ce workflow définit une matrice JSON dans un travail et le transmet au travail suivant à l’aide d’une sortie et de `fromJSON`.
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
@@ -223,12 +226,8 @@ jobs:
|
||||
outputs:
|
||||
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||
steps:
|
||||
- id: set-matrix{% endraw %}
|
||||
{%- ifversion actions-save-state-set-output-envs %}
|
||||
run: echo "matrix={\"include\":[{\"project\":\"foo\",\"config\":\"Debug\"},{\"project\":\"bar\",\"config\":\"Release\"}]}" >> $GITHUB_OUTPUT
|
||||
{%- else %}
|
||||
- id: set-matrix
|
||||
run: echo "::set-output name=matrix::{\"include\":[{\"project\":\"foo\",\"config\":\"Debug\"},{\"project\":\"bar\",\"config\":\"Release\"}]}"
|
||||
{%- endif %}{% raw %}
|
||||
job2:
|
||||
needs: job1
|
||||
runs-on: ubuntu-latest
|
||||
@@ -239,9 +238,9 @@ jobs:
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
#### Example returning a JSON data type
|
||||
#### Exemple retournant un type de données JSON
|
||||
|
||||
This workflow uses `fromJSON` to convert environment variables from a string to a Boolean or integer.
|
||||
Ce workflow utilise `fromJSON` pour convertir les variables d’environnement d’une chaîne en booléen ou entier.
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
@@ -264,37 +263,37 @@ jobs:
|
||||
|
||||
`hashFiles(path)`
|
||||
|
||||
Returns a single hash for the set of files that matches the `path` pattern. You can provide a single `path` pattern or multiple `path` patterns separated by commas. The `path` is relative to the `GITHUB_WORKSPACE` directory and can only include files inside of the `GITHUB_WORKSPACE`. This function calculates an individual SHA-256 hash for each matched file, and then uses those hashes to calculate a final SHA-256 hash for the set of files. If the `path` pattern does not match any files, this returns an empty string. For more information about SHA-256, see "[SHA-2](https://en.wikipedia.org/wiki/SHA-2)."
|
||||
Retourne un hachage unique pour l’ensemble des fichiers qui correspondent au modèle `path`. Vous pouvez fournir un modèle `path` unique ou plusieurs modèles `path` séparés par des virgules. L’élément `path` est relatif au répertoire `GITHUB_WORKSPACE` et ne peut inclure que des fichiers à l’intérieur de `GITHUB_WORKSPACE`. Cette fonction calcule un hachage SHA-256 individuel pour chaque fichier correspondant, puis utilise ces hachages pour calculer un hachage SHA-256 final pour l’ensemble de fichiers. Si le modèle `path` ne correspond à aucun fichier, une chaîne vide est retournée. Pour plus d’informations sur SHA-256, consultez « [SHA-2](https://en.wikipedia.org/wiki/SHA-2) ».
|
||||
|
||||
You can use pattern matching characters to match file names. Pattern matching is case-insensitive on Windows. For more information about supported pattern matching characters, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/using-workflows/workflow-syntax-for-github-actions/#filter-pattern-cheat-sheet)."
|
||||
Vous pouvez utiliser des caractères de correspondance de modèle pour mettre en correspondance des noms de fichiers. La correspondance de modèle n’est pas sensible à la casse sur Windows. Pour plus d’informations sur les caractères de correspondance de modèle pris en charge, consultez « [Syntaxe de workflow pour {% data variables.product.prodname_actions %}](/actions/using-workflows/workflow-syntax-for-github-actions/#filter-pattern-cheat-sheet) ».
|
||||
|
||||
#### Example with a single pattern
|
||||
#### Exemple avec un modèle unique
|
||||
|
||||
Matches any `package-lock.json` file in the repository.
|
||||
Correspond à n’importe quel fichier `package-lock.json` dans le dépôt.
|
||||
|
||||
`hashFiles('**/package-lock.json')`
|
||||
|
||||
#### Example with multiple patterns
|
||||
#### Exemple avec plusieurs modèles
|
||||
|
||||
Creates a hash for any `package-lock.json` and `Gemfile.lock` files in the repository.
|
||||
Crée un hachage pour n’importe quels fichiers `package-lock.json` et `Gemfile.lock` dans le dépôt.
|
||||
|
||||
`hashFiles('**/package-lock.json', '**/Gemfile.lock')`
|
||||
|
||||
|
||||
{% ifversion fpt or ghes > 3.3 or ghae > 3.3 or ghec %}
|
||||
## Status check functions
|
||||
{% ifversion fpt or ghes > 3.3 or ghae-issue-5504 or ghec %}
|
||||
## Fonctions de vérification d’état
|
||||
|
||||
You can use the following status check functions as expressions in `if` conditionals. A default status check of `success()` is applied unless you include one of these functions. For more information about `if` conditionals, see "[Workflow syntax for GitHub Actions](/articles/workflow-syntax-for-github-actions/#jobsjob_idif)" and "[Metadata syntax for GitHub Composite Actions](/actions/creating-actions/metadata-syntax-for-github-actions/#runsstepsif)".
|
||||
Vous pouvez utiliser les fonctions de vérification d’état suivantes en tant qu’expressions dans les conditions `if`. Une vérification d’état par défaut de `success()` est appliquée, sauf si vous incluez l’une de ces fonctions. Pour plus d’informations sur les conditions `if`, consultez « [Syntaxe de workflow pour GitHub Actions](/articles/workflow-syntax-for-github-actions/#jobsjob_idif)» et « [Syntaxe des métadonnées pour les actions composites GitHub](/actions/creating-actions/metadata-syntax-for-github-actions/#runsstepsif)».
|
||||
{% else %}
|
||||
## Check Functions
|
||||
You can use the following status check functions as expressions in `if` conditionals. A default status check of `success()` is applied unless you include one of these functions. For more information about `if` conditionals, see "[Workflow syntax for GitHub Actions](/articles/workflow-syntax-for-github-actions/#jobsjob_idif)".
|
||||
## Fonctions de vérification
|
||||
Vous pouvez utiliser les fonctions de vérification d’état suivantes en tant qu’expressions dans les conditions `if`. Une vérification d’état par défaut de `success()` est appliquée, sauf si vous incluez l’une de ces fonctions. Pour plus d’informations sur les conditions `if`, consultez « [Syntaxe de workflow pour GitHub Actions](/articles/workflow-syntax-for-github-actions/#jobsjob_idif) ».
|
||||
{% endif %}
|
||||
|
||||
### success
|
||||
|
||||
Returns `true` when none of the previous steps have failed or been canceled.
|
||||
Retourne `true` quand aucune des étapes précédentes n’a échoué ou n’a été annulée.
|
||||
|
||||
#### Example
|
||||
#### Exemple
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
@@ -303,31 +302,31 @@ steps:
|
||||
if: {% raw %}${{ success() }}{% endraw %}
|
||||
```
|
||||
|
||||
### always
|
||||
### toujours
|
||||
|
||||
Causes the step to always execute, and returns `true`, even when canceled. A job or step will not run when a critical failure prevents the task from running. For example, if getting sources failed.
|
||||
Provoque l’exécution systématique de l’étape et retourne `true`, même lorsqu’elle est annulée. Un travail ou une étape ne s’exécute pas quand un échec critique empêche l’exécution de la tâche. Par exemple, si l’obtention des sources a échoué.
|
||||
|
||||
#### Example
|
||||
#### Exemple
|
||||
|
||||
```yaml
|
||||
if: {% raw %}${{ always() }}{% endraw %}
|
||||
```
|
||||
|
||||
### cancelled
|
||||
### annulé
|
||||
|
||||
Returns `true` if the workflow was canceled.
|
||||
Retourne `true` si le workflow a été annulé.
|
||||
|
||||
#### Example
|
||||
#### Exemple
|
||||
|
||||
```yaml
|
||||
if: {% raw %}${{ cancelled() }}{% endraw %}
|
||||
```
|
||||
|
||||
### failure
|
||||
### échec
|
||||
|
||||
Returns `true` when any previous step of a job fails. If you have a chain of dependent jobs, `failure()` returns `true` if any ancestor job fails.
|
||||
Retourne `true` quand une étape précédente quelconque d’un travail échoue. Si vous avez une chaîne de travaux dépendants, `failure()` retourne `true` si un travail ancêtre quelconque échoue.
|
||||
|
||||
#### Example
|
||||
#### Exemple
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
@@ -336,11 +335,11 @@ steps:
|
||||
if: {% raw %}${{ failure() }}{% endraw %}
|
||||
```
|
||||
|
||||
#### failure with conditions
|
||||
#### échec avec conditions
|
||||
|
||||
You can include extra conditions for a step to run after a failure, but you must still include `failure()` to override the default status check of `success()` that is automatically applied to `if` conditions that don't contain a status check function.
|
||||
Vous pouvez inclure des conditions supplémentaires pour qu’une étape s’exécute après un échec. Toutefois, vous devez toujours inclure `failure()` pour remplacer la vérification d’état par défaut `success()`, qui s’applique automatiquement aux conditions `if` qui ne contiennent pas de fonction de vérification d’état.
|
||||
|
||||
##### Example
|
||||
##### Exemple
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
@@ -352,11 +351,11 @@ steps:
|
||||
if: {% raw %}${{ failure() && steps.demo.conclusion == 'failure' }}{% endraw %}
|
||||
```
|
||||
|
||||
## Object filters
|
||||
## Filtres d’objets
|
||||
|
||||
You can use the `*` syntax to apply a filter and select matching items in a collection.
|
||||
Vous pouvez utiliser la syntaxe `*` pour appliquer un filtre et sélectionner des éléments correspondants dans une collection.
|
||||
|
||||
For example, consider an array of objects named `fruits`.
|
||||
Par exemple, considérez un tableau d’objets nommé `fruits`.
|
||||
|
||||
```json
|
||||
[
|
||||
@@ -366,9 +365,9 @@ For example, consider an array of objects named `fruits`.
|
||||
]
|
||||
```
|
||||
|
||||
The filter `fruits.*.name` returns the array `[ "apple", "orange", "pear" ]`.
|
||||
Le filtre `fruits.*.name` retourne le tableau `[ "apple", "orange", "pear" ]`.
|
||||
|
||||
You may also use the `*` syntax on an object. For example, suppose you have an object named `vegetables`.
|
||||
Vous pouvez également utiliser la syntaxe `*` sur un objet. Par exemple, supposons que vous avez un objet nommé `vegetables`.
|
||||
|
||||
```json
|
||||
|
||||
@@ -391,7 +390,7 @@ You may also use the `*` syntax on an object. For example, suppose you have an o
|
||||
}
|
||||
```
|
||||
|
||||
The filter `vegetables.*.ediblePortions` could evaluate to:
|
||||
Le filtre `vegetables.*.ediblePortions` peut donner pour résultats :
|
||||
|
||||
```json
|
||||
|
||||
@@ -402,4 +401,4 @@ The filter `vegetables.*.ediblePortions` could evaluate to:
|
||||
]
|
||||
```
|
||||
|
||||
Since objects don't preserve order, the order of the output can not be guaranteed.
|
||||
Comme les objets ne conservent pas l’ordre, l’ordre de la sortie ne peut pas être garanti.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Finding and customizing actions
|
||||
shortTitle: Find and customize actions
|
||||
intro: 'Actions are the building blocks that power your workflow. A workflow can contain actions created by the community, or you can create your own actions directly within your application''s repository. This guide will show you how to discover, use, and customize actions.'
|
||||
title: Recherche et personnalisation d’actions
|
||||
shortTitle: Finding and customizing actions
|
||||
intro: 'Les actions sont les éléments constitutifs de votre workflow. Un workflow peut contenir des actions créées par la communauté, ou vous pouvez créer vos propres actions directement dans le référentiel de votre application. Ce guide vous montrera comment découvrir, utiliser et personnaliser les actions.'
|
||||
redirect_from:
|
||||
- /actions/automating-your-workflow-with-github-actions/using-github-marketplace-actions
|
||||
- /actions/automating-your-workflow-with-github-actions/using-actions-from-github-marketplace-in-your-workflow
|
||||
@@ -15,71 +15,75 @@ versions:
|
||||
type: how_to
|
||||
topics:
|
||||
- Fundamentals
|
||||
ms.openlocfilehash: cb2b8bb24e044bd559b0823ec7b0e4be7be1becb
|
||||
ms.sourcegitcommit: fcf3546b7cc208155fb8acdf68b81be28afc3d2d
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: fr-FR
|
||||
ms.lasthandoff: 09/11/2022
|
||||
ms.locfileid: '147063793'
|
||||
---
|
||||
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
|
||||
{% data reusables.actions.enterprise-beta %}
|
||||
{% data reusables.actions.enterprise-github-hosted-runners %}
|
||||
## Vue d’ensemble
|
||||
|
||||
## Overview
|
||||
Les actions que vous utilisez dans votre workflow peuvent être définies dans :
|
||||
|
||||
The actions you use in your workflow can be defined in:
|
||||
- Le même dépôt que votre fichier de workflow{% ifversion internal-actions %}
|
||||
- Un dépôt interne dans le même compte d’entreprise configuré pour autoriser l’accès aux workflows{% endif %}
|
||||
- Tout dépôt public
|
||||
- Une image conteneur Docker publiée sur Docker Hub
|
||||
|
||||
- The same repository as your workflow file{% ifversion internal-actions %}
|
||||
- An internal repository within the same enterprise account that is configured to allow access to workflows{% endif %}
|
||||
- Any public repository
|
||||
- A published Docker container image on Docker Hub
|
||||
|
||||
{% data variables.product.prodname_marketplace %} is a central location for you to find actions created by the {% data variables.product.prodname_dotcom %} community.{% ifversion fpt or ghec %} [{% data variables.product.prodname_marketplace %} page](https://github.com/marketplace/actions/) enables you to filter for actions by category. {% endif %}
|
||||
{% data variables.product.prodname_marketplace %} est un emplacement central où vous trouverez les actions créées par la communauté {% data variables.product.prodname_dotcom %}.{% ifversion fpt or ghec %} [La page {% data variables.product.prodname_marketplace %}](https://github.com/marketplace/actions/) vous permet de filtrer les actions par catégorie. {% endif %}
|
||||
|
||||
{% data reusables.actions.enterprise-marketplace-actions %}
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
## Browsing Marketplace actions in the workflow editor
|
||||
## Parcourir les actions de la Place de marché dans l’éditeur de workflow
|
||||
|
||||
You can search and browse actions directly in your repository's workflow editor. From the sidebar, you can search for a specific action, view featured actions, and browse featured categories. You can also view the number of stars an action has received from the {% data variables.product.prodname_dotcom %} community.
|
||||
Vous pouvez rechercher des actions et les parcourir directement dans l’éditeur de workflow de votre dépôt. Dans la barre latérale, vous pouvez rechercher une action spécifique, afficher les actions proposées et parcourir les catégories proposées. Vous pouvez également afficher le nombre d’étoiles qu’une action a reçues de la communauté {% data variables.product.prodname_dotcom %}.
|
||||
|
||||
1. In your repository, browse to the workflow file you want to edit.
|
||||
1. In the upper right corner of the file view, to open the workflow editor, click {% octicon "pencil" aria-label="The edit icon" %}.
|
||||

|
||||
1. To the right of the editor, use the {% data variables.product.prodname_marketplace %} sidebar to browse actions. Actions with the {% octicon "verified" aria-label="The verified badge" %} badge indicate {% data variables.product.prodname_dotcom %} has verified the creator of the action as a partner organization.
|
||||

|
||||
1. Dans votre dépôt, accédez au fichier de workflow que vous souhaitez modifier.
|
||||
1. Dans le coin supérieur droit de l’affichage des fichiers, pour ouvrir l’éditeur de workflow, cliquez sur {% octicon "pencil" aria-label="The edit icon" %}.
|
||||

|
||||
1. À droite de l’éditeur, utilisez la barre latérale {% data variables.product.prodname_marketplace %} pour parcourir les actions. Les actions avec le badge {% octicon "verified" aria-label="The verified badge" %} indiquent que {% data variables.product.prodname_dotcom %} a vérifié que le créateur de l’action est une organisation partenaire.
|
||||

|
||||
|
||||
## Adding an action to your workflow
|
||||
## Ajout d’une action à votre workflow
|
||||
|
||||
You can add an action to your workflow by referencing the action in your workflow file.
|
||||
Vous pouvez ajouter une action à votre workflow en référençant l’action dans votre fichier de workflow.
|
||||
|
||||
You can view the actions referenced in your {% data variables.product.prodname_actions %} workflows as dependencies in the dependency graph of the repository containing your workflows. For more information, see “[About the dependency graph](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph).”
|
||||
Vous pouvez afficher les actions référencées dans vos workflows {% data variables.product.prodname_actions %} en tant que dépendances dans le graphe des dépendances du dépôt contenant vos workflows. Pour plus d’informations, consultez « [À propos du graphe des dépendances](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph) ».
|
||||
|
||||
{% ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %}
|
||||
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6269 %}
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** To enhance security, {% data variables.product.prodname_actions %} is deprecating redirects for actions. This means that when the owner or name of an action's repository is changed, any workflows using that action with the previous name will fail.
|
||||
**Remarque :** Pour améliorer la sécurité, {% data variables.product.prodname_actions %} déprécie les redirections pour les actions. Cela signifie que lorsque le propriétaire ou le nom du dépôt d’une action est modifié, tous les workflows utilisant cette action avec le nom précédent échoueront.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
### Adding an action from {% data variables.product.prodname_marketplace %}
|
||||
### Ajout d’une action depuis {% data variables.product.prodname_marketplace %}
|
||||
|
||||
An action's listing page includes the action's version and the workflow syntax required to use the action. To keep your workflow stable even when updates are made to an action, you can reference the version of the action to use by specifying the Git or Docker tag number in your workflow file.
|
||||
La page de référencement d’une action inclut la version de l’action et la syntaxe de workflow requises pour utiliser l’action. Pour maintenir votre workflow stable même lorsque des mises à jour sont apportées à une action, vous pouvez référencer la version de l’action à utiliser en spécifiant le numéro d’étiquette Git ou Docker dans votre fichier de workflow.
|
||||
|
||||
1. Navigate to the action you want to use in your workflow.
|
||||
1. Under "Installation", click {% octicon "clippy" aria-label="The edit icon" %} to copy the workflow syntax.
|
||||

|
||||
1. Paste the syntax as a new step in your workflow. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idsteps)."
|
||||
1. If the action requires you to provide inputs, set them in your workflow. For information on inputs an action might require, see "[Using inputs and outputs with an action](/actions/learn-github-actions/finding-and-customizing-actions#using-inputs-and-outputs-with-an-action)."
|
||||
1. Accédez à l’action que vous souhaitez utiliser dans votre workflow.
|
||||
1. Sous « Installation », cliquez sur {% octicon "clippy" aria-label="The edit icon" %} pour copier la syntaxe de workflow.
|
||||

|
||||
1. Collez la syntaxe en tant que nouvelle étape dans votre workflow. Pour plus d’informations, consultez « [Syntaxe de workflow pour {% data variables.product.prodname_actions %}](/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idsteps) ».
|
||||
1. Si l’action vous oblige à fournir des entrées, définissez-les dans votre workflow. Pour obtenir des informations sur les entrées qu’une action peut nécessiter, consultez « [Utilisation d’entrées et de sorties avec une action](/actions/learn-github-actions/finding-and-customizing-actions#using-inputs-and-outputs-with-an-action) ».
|
||||
|
||||
{% data reusables.dependabot.version-updates-for-actions %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
### Adding an action from the same repository
|
||||
### Ajout d’une action à partir du même dépôt
|
||||
|
||||
If an action is defined in the same repository where your workflow file uses the action, you can reference the action with either the `{owner}/{repo}@{ref}` or `./path/to/dir` syntax in your workflow file.
|
||||
Si une action est définie dans le même dépôt que celui où votre fichier de workflow utilise l’action, vous pouvez référencer l’action avec la syntaxe `{owner}/{repo}@{ref}` ou `./path/to/dir` dans votre fichier de workflow.
|
||||
|
||||
Example repository file structure:
|
||||
Exemple de structure de fichier de dépôt :
|
||||
|
||||
```
|
||||
|-- hello-world (repository)
|
||||
@@ -91,7 +95,7 @@ Example repository file structure:
|
||||
| └── action.yml
|
||||
```
|
||||
|
||||
Example workflow file:
|
||||
Exemple de fichier de workflow :
|
||||
|
||||
```yaml
|
||||
jobs:
|
||||
@@ -104,13 +108,13 @@ jobs:
|
||||
- uses: ./.github/actions/hello-world-action
|
||||
```
|
||||
|
||||
The `action.yml` file is used to provide metadata for the action. Learn about the content of this file in "[Metadata syntax for GitHub Actions](/actions/creating-actions/metadata-syntax-for-github-actions)."
|
||||
Le fichier `action.yml` est utilisé pour fournir des métadonnées pour l’action. Découvrez le contenu de ce fichier dans « [Syntaxe de métadonnées pour GitHub Actions](/actions/creating-actions/metadata-syntax-for-github-actions) ».
|
||||
|
||||
### Adding an action from a different repository
|
||||
### Ajout d’une action à partir d’un autre dépôt
|
||||
|
||||
If an action is defined in a different repository than your workflow file, you can reference the action with the `{owner}/{repo}@{ref}` syntax in your workflow file.
|
||||
Si une action est définie dans un autre dépôt que celui de votre fichier de workflow, vous pouvez référencer l’action avec la syntaxe `{owner}/{repo}@{ref}` dans votre fichier de workflow.
|
||||
|
||||
The action must be stored in a public repository{% ifversion internal-actions %} or an internal repository that is configured to allow access to workflows. For more information, see "[Sharing actions and workflows with your enterprise](/actions/creating-actions/sharing-actions-and-workflows-with-your-enterprise)."{% else %}.{% endif %}
|
||||
L’action doit être stockée dans un dépôt public{% ifversion internal-actions %} ou un dépôt interne configuré pour autoriser l’accès aux workflows. Pour plus d’informations, consultez « [Partage d’actions et de workflows au sein de votre entreprise](/actions/creating-actions/sharing-actions-and-workflows-with-your-enterprise) ».{% else %}.{% endif %}
|
||||
|
||||
```yaml
|
||||
jobs:
|
||||
@@ -120,9 +124,9 @@ jobs:
|
||||
uses: {% data reusables.actions.action-setup-node %}
|
||||
```
|
||||
|
||||
### Referencing a container on Docker Hub
|
||||
### Référencement d’un conteneur sur Docker Hub
|
||||
|
||||
If an action is defined in a published Docker container image on Docker Hub, you must reference the action with the `docker://{image}:{tag}` syntax in your workflow file. To protect your code and data, we strongly recommend you verify the integrity of the Docker container image from Docker Hub before using it in your workflow.
|
||||
Si une action est définie dans une image conteneur Docker publiée sur Docker Hub, vous devez référencer l’action avec la syntaxe `docker://{image}:{tag}` dans votre fichier de workflow. Pour protéger votre code et vos données, nous vous recommandons vivement de vérifier l’intégrité de l’image conteneur Docker à partir de Docker Hub avant de l’utiliser dans votre workflow.
|
||||
|
||||
```yaml
|
||||
jobs:
|
||||
@@ -132,57 +136,57 @@ jobs:
|
||||
uses: docker://alpine:3.8
|
||||
```
|
||||
|
||||
For some examples of Docker actions, see the [Docker-image.yml workflow](https://github.com/actions/starter-workflows/blob/main/ci/docker-image.yml) and "[Creating a Docker container action](/articles/creating-a-docker-container-action)."
|
||||
Pour obtenir des exemples d’actions Docker, consultez le [workflow Docker-image.yml](https://github.com/actions/starter-workflows/blob/main/ci/docker-image.yml) et « [Création d’une action de conteneur Docker](/articles/creating-a-docker-container-action) ».
|
||||
|
||||
|
||||
## Using release management for your custom actions
|
||||
## Utilisation de la gestion des mises en production pour vos actions personnalisées
|
||||
|
||||
The creators of a community action have the option to use tags, branches, or SHA values to manage releases of the action. Similar to any dependency, you should indicate the version of the action you'd like to use based on your comfort with automatically accepting updates to the action.
|
||||
Les créateurs d’une action de communauté ont la possibilité d’utiliser des étiquettes, des branches ou des valeurs SHA pour gérer les mises en production de l’action. Comme pour toute dépendance, vous devez indiquer la version de l’action que vous souhaitez utiliser en fonction de votre confort avec l’acceptation automatique des mises à jour de l’action.
|
||||
|
||||
You will designate the version of the action in your workflow file. Check the action's documentation for information on their approach to release management, and to see which tag, branch, or SHA value to use.
|
||||
Vous désignerez la version de l’action dans votre fichier de workflow. Consultez la documentation de l’action pour obtenir des informations sur son approche de la gestion des mises en production et pour voir quelle balise, branche ou valeur SHA utiliser.
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** We recommend that you use a SHA value when using third-party actions. For more information, see [Security hardening for GitHub Actions](/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions)
|
||||
**Remarque :** Nous vous recommandons d’utiliser une valeur SHA lors de l’utilisation d’actions tierces. Pour plus d’informations, consultez [Durcissement de la sécurité pour GitHub Actions](/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions)
|
||||
|
||||
{% endnote %}
|
||||
|
||||
### Using tags
|
||||
### Utilisation des étiquettes
|
||||
|
||||
Tags are useful for letting you decide when to switch between major and minor versions, but these are more ephemeral and can be moved or deleted by the maintainer. This example demonstrates how to target an action that's been tagged as `v1.0.1`:
|
||||
Les étiquettes sont utiles pour vous permettre de décider quand basculer entre les versions principales et mineures, mais elles sont plus éphémères et peuvent être déplacées ou supprimées par le chargé de maintenance. Cet exemple montre comment cibler une action étiquetée `v1.0.1` :
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/javascript-action@v1.0.1
|
||||
```
|
||||
|
||||
### Using SHAs
|
||||
### Utilisation des valeurs SHA
|
||||
|
||||
If you need more reliable versioning, you should use the SHA value associated with the version of the action. SHAs are immutable and therefore more reliable than tags or branches. However this approach means you will not automatically receive updates for an action, including important bug fixes and security updates. You must use a commit's full SHA value, and not an abbreviated value. This example targets an action's SHA:
|
||||
Si vous avez besoin d’un contrôle de versions plus fiable, vous devez utiliser la valeur SHA associée à la version de l’action. Les valeurs SHA sont immuables et, par conséquent, plus fiables que les étiquettes ou les branches. Toutefois, cette approche signifie que vous ne recevrez pas automatiquement les mises à jour pour une action, y compris les mises à jour de sécurité et les correctifs de bogues importants. Vous devez utiliser la valeur SHA complète d’un commit et non une valeur abrégée. Cet exemple cible la valeur SHA d’une action :
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/javascript-action@172239021f7ba04fe7327647b213799853a9eb89
|
||||
```
|
||||
|
||||
### Using branches
|
||||
### Utilisation des branches
|
||||
|
||||
Specifying a target branch for the action means it will always run the version currently on that branch. This approach can create problems if an update to the branch includes breaking changes. This example targets a branch named `@main`:
|
||||
La spécification d’une branche cible pour l’action signifie qu’elle exécutera toujours la version figurant actuellement sur cette branche. Cette approche peut créer des problèmes si une mise à jour de la branche inclut des changements cassants. Cet exemple cible une branche nommée `@main` :
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/javascript-action@main
|
||||
```
|
||||
|
||||
For more information, see "[Using release management for actions](/actions/creating-actions/about-actions#using-release-management-for-actions)."
|
||||
Pour plus d’informations, consultez « [Utilisation de la gestion des mises en production pour les actions](/actions/creating-actions/about-actions#using-release-management-for-actions) ».
|
||||
|
||||
## Using inputs and outputs with an action
|
||||
## Utilisation d’entrées et de sorties avec une action
|
||||
|
||||
An action often accepts or requires inputs and generates outputs that you can use. For example, an action might require you to specify a path to a file, the name of a label, or other data it will use as part of the action processing.
|
||||
Une action accepte ou nécessite souvent des entrées et génère des sorties que vous pouvez utiliser. Par exemple, une action peut exiger que vous spécifiiez un chemin d’accès à un fichier, le nom d’une étiquette ou d’autres données qu’elle utilisera dans le cadre du traitement de l’action.
|
||||
|
||||
To see the inputs and outputs of an action, check the `action.yml` or `action.yaml` in the root directory of the repository.
|
||||
Pour afficher les entrées et sorties d’une action, vérifiez `action.yml` ou `action.yaml` dans le répertoire racine du dépôt.
|
||||
|
||||
In this example `action.yml`, the `inputs` keyword defines a required input called `file-path`, and includes a default value that will be used if none is specified. The `outputs` keyword defines an output called `results-file`, which tells you where to locate the results.
|
||||
Dans cet exemple de fichier `action.yml`, le mot clé `inputs` définit une entrée obligatoire appelée `file-path` et inclut une valeur par défaut qui sera utilisée si aucune valeur n’est spécifiée. Le mot clé `outputs` définit une sortie appelée `results-file`, qui vous indique où localiser les résultats.
|
||||
|
||||
```yaml
|
||||
name: "Example"
|
||||
@@ -199,11 +203,11 @@ outputs:
|
||||
|
||||
{% ifversion ghae %}
|
||||
|
||||
## Using the actions included with {% data variables.product.prodname_ghe_managed %}
|
||||
## Utilisation des actions incluses avec {% data variables.product.prodname_ghe_managed %}
|
||||
|
||||
By default, you can use most of the official {% data variables.product.prodname_dotcom %}-authored actions in {% data variables.product.prodname_ghe_managed %}. For more information, see "[Using actions in {% data variables.product.prodname_ghe_managed %}](/admin/github-actions/using-actions-in-github-ae)."
|
||||
Par défaut, vous pouvez utiliser la plupart des actions officielles créées par {% data variables.product.prodname_dotcom %} dans {% data variables.product.prodname_ghe_managed %}. Pour plus d’informations, consultez « [Utilisation d’actions dans {% data variables.product.prodname_ghe_managed %}](/admin/github-actions/using-actions-in-github-ae) ».
|
||||
{% endif %}
|
||||
|
||||
## Next steps
|
||||
## Étapes suivantes
|
||||
|
||||
To continue learning about {% data variables.product.prodname_actions %}, see "[Essential features of {% data variables.product.prodname_actions %}](/actions/learn-github-actions/essential-features-of-github-actions)."
|
||||
Pour continuer à découvrir {% data variables.product.prodname_actions %}, consultez « [Fonctionnalités essentielles de {% data variables.product.prodname_actions %}](/actions/learn-github-actions/essential-features-of-github-actions) ».
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user