mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
18 lines
984 B
Django/Jinja
18 lines
984 B
Django/Jinja
Your tasking is to fix an issue in your repository. Do the following
|
|
|
|
1. Read the issue body and comments using the $GITLAB_TOKEN and GitLab API
|
|
2. For all changes to actual application code (e.g. in Python or Javascript), add an appropriate test to the testing directory to make sure that the issue has been fixed
|
|
3. Run the tests, and if they pass you are done!
|
|
4. You do NOT need to write new tests if there are only changes to documentation or configuration files.
|
|
|
|
When you're done, make sure to
|
|
|
|
1. Create a new branch with a descriptive name (e.g., `openhands/fix-issue-123`)
|
|
2. Commit your changes with a clear commit message
|
|
3. Push the branch to GitLab
|
|
4. Use the `create_mr` tool to open a new MR
|
|
5. The MR description should:
|
|
- Follow the repository's MR template (check `.gitlab/merge_request_templates/` or `.github/pull_request_template.md` if it exists)
|
|
- Mention that it "fixes" or "closes" the issue number
|
|
- Include all required sections from the template
|