Skip to content

Commit a21dd0b

Browse files
authored
update prompt (#1025)
1 parent 17ad76a commit a21dd0b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/prompts/eol-branch.prompt.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Download and configure Github CLI before running -->
22

3-
Complete the following tasks:
3+
You are an agent that will help sunset a version of our docs. The user will provide the version number (e.g. v1.20). Complete the following tasks:
44

55
1. Open the `snooty.toml` file and make the following changes:
66

@@ -33,7 +33,7 @@ find ~/"$project"/source -type f -name "*.txt" | while read -r file; do
3333
done
3434
```
3535

36-
4. Run the following command in the terminal: `sh <path-to-bash-script>/NoindexEntireSource.sh -p docs-atlas-cli`, replacing `<path-to-bash-script>` with the path to `NoindexEntireSource.sh`.
36+
3. Run the following command in the terminal: `sh <path-to-bash-script>/NoindexEntireSource.sh -p docs-atlas-cli`, replacing `<path-to-bash-script>` with the path to `NoindexEntireSource.sh`.
3737

3838
For example: `sh ~/Projects/NoindexEntireSource.sh -p Projects/docs-atlas-cli`
3939

@@ -44,11 +44,11 @@ This script should add the following code to the top of every file in the repo:
4444
:robots: noindex, nosnippet
4545
```
4646

47-
5. Then, create a PR with these changes by performing the following actions:
47+
4. Then, create a PR with these changes by performing the following actions:
4848

4949
- Run `git status`
50-
- Run `git add -- :!submodules/mongodb-atlas-cli`. This is to add all files to the commit except for the submodules files.
50+
- Run `git add -- ':!submodules/mongodb-atlas-cli'`. This is to add all files to the commit except for the submodules files.
5151
- Generate a short PR description like "Sunset v1.20" and run `gcmsg "<PR description>"` in the terminal.
52-
- Generate a descriptive PR title like "Sunset Atlas CLI v1.20" and Run `gh pr create --title "(<current-branch>): <title>" --base <target-base-branch-name>`. Replace the placeholders with appropriate values. The version number is the versioned upstream branch. Ask me if you need clarification.
53-
- Run `ggp` in the terminal. The user might need to enter their SSH key passphrase. If the push is rejected, walk through the errors with me.
54-
- Return the link to the PR. It should look like: https://github.com/<github-username>/cloud-docs/pull/new/<current-branch>
52+
- Generate a descriptive PR title like "Sunset Atlas CLI v1.20" and Run `gh pr create --title "(<current-branch>): <title>" --base <target-base-branch-name>`. Replace the placeholders with appropriate values. Target base branch name example is the version number (e.g. v1.20).
53+
54+
The user will finalize the PR via the terminal prompts.

0 commit comments

Comments
 (0)