Updated on 2026-08-04 GMT+08:00

Creating a Merge Request

After the Actions verification is successful, you can create a merge request.

  1. Log in to GitHub, go to the home page of the code repository url-link-extractor, and click Pull requests and then New pull request to go to the page for creating a merge request.

    Figure 1 Creating a merge request

  2. Compare the differences between the develop and main branches, and click Create pull request.

    Figure 2 Creating a merge request

  3. Enter the merge request information, retain the default values for other parameters, and click Create pull request.

    Develop a web link and title batch crawling component that supports multi-URL prefix matching.
    Figure 3 Entering merge request information

  4. After the merge request is created, SonarQube automatically starts scanning.

    Figure 4 Viewing the automatic build result

  5. If the build fails, you can use CodeArts Agent to locate the cause.
  6. In the input box on the chat panel, enter the following prompt and click :

    Check the CI/CD status of MR.

    AI locates the cause and provides the following rectification suggestion:

    Rectification suggestion
    In the SonarQube Cloud project settings, ensure that the PAT integrated on GitHub has the pull_requests:read permission.
    Or in sonar-project.properties, disable PR decorator analysis: sonar.pullrequest.github.repository=wqza/url-link-extractor and check the token permission.
    Or skip PR analysis and perform only branch scanning: Add args: -Dsonar.pullrequest.skip=true to the workflow.

  7. If you are not sure how to fix the issue according to the suggestions, you can continue to chat with the AI.

    For example, in the input box on the chat panel, enter the following prompt and click :
    Where can I modify the configurations based on the first fix suggestion?

    AI will provide a detailed fix method. You can follow the method to fix the issue or let AI attempt to fix it.

    Figure 5 Issues fixed by AI and automatic build succeeded

Incorporating a Merge Request

If the build pipeline has passed and the code has been modified according to the comments, you can incorporate the merge request.

  1. Log in to GitHub, go to the home page of the code repository url-link-extractor, and click Pull requests to go to the merge request page.
  2. Click the merge request name Develop to go to the merge request page and incorporate the code.

    Figure 6 Opening the Develop merge request page