Skip to content
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

scripts.set_copyright_year: Add a CI check to ensure the copyright is updated #344

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Frosty2500
Copy link
Contributor

@Frosty2500 Frosty2500 commented Nov 27, 2024

Currently we do not check if every copyright is up to date.
Now the ci pipeline will fail if the copyright is not up to date in some files.

Fixes #260
Fixes #331

etc/scripts/set_copyright_year.sh Show resolved Hide resolved
sdk/basyx/aas/adapter/_generic.py Outdated Show resolved Hide resolved
Copy link
Contributor

@s-heppner s-heppner left a comment

Choose a reason for hiding this comment

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

Other than that minor comment, it lgtm.

@@ -9,7 +9,36 @@
#
# The script will check the first two lines for a copyright
# notice (in case the first line is a shebang).
#
# Run this script with --check to have it raise an error if it
# change anything.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# change anything.
# would change anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a CI check to ensure the copyright is updated Recurring: Update Copyright Notice
2 participants