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

Add check on headers #1033

Merged
merged 15 commits into from
Feb 5, 2025
Merged

Add check on headers #1033

merged 15 commits into from
Feb 5, 2025

Conversation

Quetzacoalt91
Copy link
Member

Questions Answers
Description? Check each file being distributed has an up-to-date header about AFL-3.0. This PR adds a first commit showing the check running properly, then another commit will be added before the release of the version 7 to make sure everything is set without bringing too many conflicts.
Type? improvement
BC breaks? Nope
Deprecations? Nope
Fixed ticket? /
Sponsor company @PrestaShopCorp
How to test? CI must be triggered and must succeed

Comment on lines 37 to 38
- name: Apply header stamps
run: php tests/vendor/bin/header-stamp --license=tests/vendor/prestashop/header-stamp/assets/afl.txt --exclude=vendor,node_modules,storybook/var
Copy link
Member Author

Choose a reason for hiding this comment

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

What's the point in applying the headers on all the files if we had a check before merging pull-requests?

If you meant to update built files before release, it may be worth a comment.

@ga-devfront ga-devfront marked this pull request as ready for review February 4, 2025 10:35
Copy link

sonarqubecloud bot commented Feb 5, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
20.8% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@M0rgan01 M0rgan01 added this to the 7.0.0 milestone Feb 5, 2025
@ga-devfront ga-devfront merged commit cdbdd51 into PrestaShop:dev Feb 5, 2025
37 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

4 participants