Skip to content

[FEATURE] Create a PR when building the LeetCode directory #1215

@Panquesito7

Description

@Panquesito7

Detailed description

When creating the leetcode/DIRECTORY.md file, it creates a commit on the current branch.
However, I think it should do the following:

  • Only run in this repository in main.
  • Create a PR and merge it automatically (if wanted) due to the branch protection.

Context

This would make it better for users who are making LeetCode contributions to prevent fixing the conflicts with the leetcode/DIRECTORY.md file as well as updating the file easily with a PR, if any changes are found, of course.

Possible implementation

No response

Additional information

I'll work on this soon.

Metadata

Metadata

Assignees

Labels

dont-closeThis issue/pull request shouldn't be closedenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions