-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Github action to check that the font cachebuster was updated #20973
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… when the font file is changed
bx80
added
c: Tests & QA
For issues related to automated tests or making it easier to QA & test issues.
Needs Review
PRs that need a code review
labels
Jul 6, 2023
bx80
added
Needs Review
PRs that need a code review
and removed
Needs Review
PRs that need a code review
labels
Jul 6, 2023
11 tasks
sgiehl
requested changes
Jul 7, 2023
sgiehl
force-pushed
the
github-action-font-check
branch
9 times, most recently
from
July 10, 2023 10:06
f9cad92
to
529b5fa
Compare
sgiehl
force-pushed
the
github-action-font-check
branch
from
July 10, 2023 10:08
529b5fa
to
3164b88
Compare
sgiehl
approved these changes
Jul 10, 2023
sgiehl
added
the
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
label
Aug 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
c: Tests & QA
For issues related to automated tests or making it easier to QA & test issues.
Needs Review
PRs that need a code review
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
Fixes #20991
This is a simple github action to check that the font cachebuster parameter was updated whenever the Matomo font file has changed. It's pretty basic implementation using sed and wget.
If the font has been updated then it will compare the Matomo font URL line from the icons stylesheet in the PR branch against the base branch, if they are the same (ie. not updated) then the check will fail.
Review