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

Closed
opened 2026-01-29 15:05:37 +00:00 by claunia · 0 comments
Owner

Originally created by @Panquesito7 on GitHub (Feb 11, 2023).

Originally assigned to: @Panquesito7 on GitHub.

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.

Originally created by @Panquesito7 on GitHub (Feb 11, 2023). Originally assigned to: @Panquesito7 on GitHub. ### 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.
claunia added the enhancementdont-close labels 2026-01-29 15:05:37 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#147