Commit Graph

12 Commits

Author SHA1 Message Date
Julien Fastré 10b487d09d
Fix behaviour if the PR does already exists 2024-03-08 12:44:13 +01:00
Julien Fastré 54f8740a56
Fix the way the repository is retrieved 2024-03-08 12:22:27 +01:00
Julien Fastré df4813cb0f
Fix the way the repository is retrieved 2024-03-08 12:19:33 +01:00
Julien Fastré 62fd71c1b9
Fix the way the environment variables are retrieved 2024-03-08 12:16:35 +01:00
Julien Fastré deb1ba6843
Fix the way the environment variables are retrieved 2024-03-08 12:13:40 +01:00
Julien Fastré f802f2b6eb
Improve handling of head branch in pull requests
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.
2024-03-08 12:04:05 +01:00
Julien Fastré 358b8d696b
Refactor code by merging create-pull-request.go into main.go
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.
2024-03-08 11:56:17 +01:00
Julien Fastré cde3aa9ed6
first implementation of the action 2024-03-08 00:37:15 +01:00
Julien Fastré 5c5d1fcf5b
Add an action.yml file 2024-02-20 22:17:21 +01:00
Julien Fastré e06a85360f
some debugging code for preparing dev 2024-02-20 22:13:34 +01:00
Julien Fastré b6072c46db
idea project settings 2024-02-20 18:04:24 +01:00
Julien Fastré 22bc187e9b
first commit 2024-02-20 18:03:42 +01:00