You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/prompts/eol-branch.prompt.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
<!-- Download and configure Github CLI before running -->
2
2
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:
4
4
5
5
1. Open the `snooty.toml` file and make the following changes:
6
6
@@ -33,7 +33,7 @@ find ~/"$project"/source -type f -name "*.txt" | while read -r file; do
33
33
done
34
34
```
35
35
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`.
37
37
38
38
For example: `sh ~/Projects/NoindexEntireSource.sh -p Projects/docs-atlas-cli`
39
39
@@ -44,11 +44,11 @@ This script should add the following code to the top of every file in the repo:
44
44
:robots: noindex, nosnippet
45
45
```
46
46
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:
48
48
49
49
- 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.
51
51
- 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