This revision modifies the functionality to handle the head branch in pull requests. It allows for the head branch to be input manually, and provides clearer error messaging when working from a non-branch. Additionally, it updates the description for the base and head parameters in 'action.yml' for better understanding.
The create-pull-request.go has been deleted and its functionalities have been incorporated into main.go. This refactor improves the code structure, by eliminating the file separation which was unnecessary. It maintains all original functionalities, including managing pull requests and labels on Gitea repositories.