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
// This script finds all open PRs from active branches that touch content files, and adds a comment
8
-
// with a prompt to enter a slash command and update files. The idea is to help writers and other Hubbers
9
-
// update their open branches and mitigate conflicts with the main branch.
8
+
// with steps to run some commands. The idea is to help writers and other Hubbers update their
9
+
// open branches and mitigate conflicts with the main branch.
10
10
//
11
11
// [end-readme]
12
12
@@ -22,21 +22,18 @@ const options = {
22
22
}
23
23
24
24
constcomment=`
25
-
Hello! The docs-engineering team has just published an update that touches all content files in the repo. To reduce conflicts with \`main\`, we wanted to offer a programmatic option to update your branch.
25
+
👋 Hello! The docs-engineering team has just published an update that touches all content files in the repo. To reduce conflicts with \`main\`, we are sending out this message to help folks update their branches.
26
26
27
-
To take advantage of this option, in a new comment on this PR, type and enter: \`/update-content-in-branch\`.
27
+
You'll need to do the following steps in Terminal. If you're not into that, ask in #docs-engineering and we'll help out!
28
28
29
-
This is a custom slash command that will trigger a GitHub Action workflow to do the following:
29
+
1. Check out the branch associated with this PR. Don't update from \`main\` yet.
3. Commit and push the results back to your branch.
34
+
You may still have some conflicts to resolve. Feel free to ask us if you have questions or need help!
34
35
35
-
Once that's done, you can update from \`main\`. You may still have some conflicts to resolve.
36
-
37
-
Feel free to ask if you have questions or need help!
38
-
39
-
For a 5min demo of what the scripts do and why they're needed, check out https://www.loom.com/share/fa6501580b2a44d7a8a4357ee51e0c99.
36
+
For a 5min demo of what the scripts do and why they're needed, check out [this screencast](https://www.loom.com/share/fa6501580b2a44d7a8a4357ee51e0c99).
0 commit comments