From ed7dd8d23604cd7bfddcffba46d93f74d5960487 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Fri, 14 Feb 2020 20:10:27 +0900 Subject: [PATCH] Update documentation --- docs/concepts-guidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts-guidelines.md b/docs/concepts-guidelines.md index ff13941..2f4bcf1 100644 --- a/docs/concepts-guidelines.md +++ b/docs/concepts-guidelines.md @@ -158,7 +158,7 @@ Allowing the action to push with a configured deploy key will trigger `on: push` How to use SSH (deploy keys) with create-pull-request action: -1. [Create an new SSH key pair](https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#generating-a-new-ssh-key) for your repository. Do not set a passphrase. +1. [Create a new SSH key pair](https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#generating-a-new-ssh-key) for your repository. Do not set a passphrase. 2. Copy the contents of the public key (.pub file) to a new repository [deploy key](https://developer.github.com/v3/guides/managing-deploy-keys/#deploy-keys) and check the box to "Allow write access." 3. Add a secret to the repository containing the entire contents of the private key. 4. As shown in the example steps below, use the [`webfactory/ssh-agent`](https://github.com/webfactory/ssh-agent) action to install the private key and clone your repository. Remember to checkout the `base` of your pull request if it's not the default branch, e.g. `git checkout my-branch`.