8000 fix: copyright license script by Panquesito7 · Pull Request #28 · TheAlgorithms/scripts · GitHub
[go: up one dir, main page]

Skip to content

fix: copyright license script #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 3, 2023
Merged

fix: copyright license script #28

merged 3 commits into from
Jul 3, 2023

Conversation

Panquesito7
Copy link
Member

Things added/changed:

  • Fix copyright license script.
    • If there are unpushed changes, the script will attempt to create a PR.
    • When pushing changes, if there are no available commits (which means there were no changes done), the script won't fail anymore.
    • Fix initial_year description that was taken as a string (by using ').
    • When creating a PR, it uses the correct branch and not just master. Every repository has different branch names.

@Panquesito7 Panquesito7 added the bug Something isn't working label Jun 27, 2023
Copy link
Member
@alexpantyukhin alexpantyukhin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks goot to me!

@Panquesito7 Panquesito7 requested a review from tjgurwara99 July 3, 2023 01:36
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
@Panquesito7 Panquesito7 requested a review from tjgurwara99 July 3, 2023 17:30
@Panquesito7 Panquesito7 merged commit 619ac06 into main Jul 3, 2023
@Panquesito7 Panquesito7 deleted the fix_copyright_script branch July 3, 2023 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0