π OpenHands: AI-Driven Development
chore(frontend): Update push to GH action prompt (#4276)
sp.wackbe5f9772e602
diff --git a/frontend/src/components/project-menu/ProjectMenuCard.tsx b/frontend/src/components/project-menu/ProjectMenuCard.tsxindex 6e9d29232b..596a668be7 100644--- a/frontend/src/components/project-menu/ProjectMenuCard.tsx+++ b/frontend/src/components/project-menu/ProjectMenuCard.tsx@@ -37,7 +37,8 @@ export function ProjectMenuCard({const handlePushToGitHub = () => {const rawEvent = {- content: "Please commit and push these changes to the repository.",+ content:+ "Please create a new branch and commit the changes. Then push them to the remote repository, and open up a pull request using the GitHub API and the token in the GITHUB_TOKEN environment variable",imageUrls: [],timestamp: new Date().toISOString(),};diff --git a/frontend/src/routes/app.tsx b/frontend/src/routes/app.tsxindex 11200ffed1..f3536b546b 100644--- a/frontend/src/routes/app.tsx+++ b/frontend/src/routes/app.tsx@@ -122,7 +122,7 @@ function App() {);const exportGitHubTokenToTerminal = (gitHubToken: string) => {- const command = `export GH_TOKEN=${gitHubToken}`;+ const command = `export GITHUB_TOKEN=${gitHubToken}`;const event = sendTerminalCommand(command);send(event);