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
{{ message }}
Repository navigation
Commit 89d975b
Browse filesBrowse the repository at this point in the historyBrowse files
Move helper function and prompt text to proper locations
- Move renderConditionAsIf to expressions.go as RenderConditionAsIf
- Extract PR context prompt to sh/pr_context_prompt.md
- Embed prompt text as resource in sh.go
- Add WritePromptTextToYAML helper for writing prompt text
- Update pr.go to use new helpers and embedded resources
- Improve code organization and maintainability
Co-authored-by: pelikhan <[email protected]>
yaml.WriteString(" **IMPORTANT**: This workflow was triggered by a comment on a pull request. The repository has been automatically checked out to the PR's branch, not the default branch.\n")
82
-
yaml.WriteString(" \n")
83
-
yaml.WriteString(" ### What This Means\n")
84
-
yaml.WriteString(" \n")
85
-
yaml.WriteString(" - The current working directory contains the code from the pull request branch\n")
86
-
yaml.WriteString(" - Any file operations you perform will be on the PR branch code\n")
87
-
yaml.WriteString(" - You can inspect, analyze, and work with the PR changes directly\n")
88
-
yaml.WriteString(" - The PR branch has been checked out using `gh pr checkout`\n")
89
-
yaml.WriteString(" \n")
90
-
yaml.WriteString(" ### Available Actions\n")
91
-
yaml.WriteString(" \n")
92
-
yaml.WriteString(" You can:\n")
93
-
yaml.WriteString(" - Review the changes in the PR by examining files\n")
94
-
yaml.WriteString(" - Run tests or linters on the PR code\n")
95
-
yaml.WriteString(" - Make additional changes to the PR branch if needed\n")
96
-
yaml.WriteString(" - Create commits on the PR branch (they will appear in the PR)\n")
97
-
yaml.WriteString(" - Switch to other branches using `git checkout` if needed\n")
98
-
yaml.WriteString(" \n")
99
-
yaml.WriteString(" ### Current Branch Information\n")
100
-
yaml.WriteString(" \n")
101
-
yaml.WriteString(" To see which branch you're currently on, you can run:\n")
**IMPORTANT**: This workflow was triggered by a comment on a pull request. The repository has been automatically checked out to the PR's branch, not the default branch.
7
+
8
+
### What This Means
9
+
10
+
- The current working directory contains the code from the pull request branch
11
+
- Any file operations you perform will be on the PR branch code
12
+
- You can inspect, analyze, and work with the PR changes directly
13
+
- The PR branch has been checked out using `gh pr checkout`
14
+
15
+
### Available Actions
16
+
17
+
You can:
18
+
- Review the changes in the PR by examining files
19
+
- Run tests or linters on the PR code
20
+
- Make additional changes to the PR branch if needed
21
+
- Create commits on the PR branch (they will appear in the PR)
22
+
- Switch to other branches using `git checkout` if needed
23
+
24
+
### Current Branch Information
25
+
26
+
To see which branch you're currently on, you can run:
0 commit comments