-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/WordPress/openverse into mo…
…d_metrics
- Loading branch information
Showing
178 changed files
with
2,665 additions
and
1,058 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,6 +125,19 @@ jobs: | |
just precommit | ||
just lint | ||
validate-codeowners: | ||
name: Validate CODEOWNERS | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- uses: mszostok/[email protected] | ||
with: | ||
checks: "files,duppatterns,syntax" | ||
experimental_checks: "notowned,avoid-shadowing" | ||
|
||
add-stack-label: | ||
name: Add stack label | ||
if: | | ||
|
@@ -219,7 +232,7 @@ jobs: | |
uses: docker/build-push-action@v5 | ||
with: | ||
context: ${{ matrix.context }} | ||
target: ${{ matrix.target }} | ||
target: ${{ matrix.target || '' }} | ||
push: false | ||
tags: openverse-${{ matrix.image }} | ||
file: ${{ matrix.file }} | ||
|
@@ -1107,7 +1120,7 @@ jobs: | |
run: python generate_report.py | ||
|
||
- name: Send report | ||
uses: slackapi/slack-github-action@v1.24.0 | ||
uses: slackapi/slack-github-action@v1.25.0 | ||
with: | ||
payload: ${{ steps.report.outputs.payload }} | ||
env: | ||
|
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
styles/* | ||
!styles/Vocab/ | ||
!styles/Openverse/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
StylesPath = styles | ||
|
||
MinAlertLevel = suggestion | ||
Vocab = Openverse | ||
# Using an explicit reference to downloads for package zips rather than the shorthand allows us to | ||
# pin the package to a specific version. Otherwise, changes in the upstream style configuration can | ||
# cause sudden and unexpected failures during linting. | ||
Packages = https://github.com/errata-ai/proselint/releases/download/v0.3.3/proselint.zip | ||
|
||
# The default settings also ignore `pre` and `code`, which includes admonition code blocks. | ||
# We may encounter false positives by including code blocks, but we use admonitions | ||
# so frequently in Openverse documentation that it is probably worth it to include them. | ||
SkippedScopes = script, style, figure | ||
IgnoredScopes = tt | ||
|
||
[formats] | ||
# Treat mdx as markdown (for Storybook support) | ||
mdx = md | ||
|
||
# Only configure Markdown, because that's the only language we use to write documentation in | ||
# (Except MDX, but if we want to add Vale there it will have to be at a later date to avoid complexity | ||
# in the initial setup) | ||
[*.md] | ||
BasedOnStyles = proselint, Vale, Openverse | ||
|
||
# Avoid Vale.Spelling for now, but we do want Vale.Terms for the vocab at least | ||
Vale.Spelling = NO | ||
|
||
# The suggested terms are obscure | ||
proselint.AnimalLabels = NO | ||
|
||
# These are rarely necessary changes and can be more fiddly than they are helpful | ||
proselint.Typography = NO | ||
|
||
# proselint.Needless considers a host of terms "needless" which are natural and wide-spread changes in the English language, | ||
# and is clearly favouring US changes rather than others (the US isn't the only or even the largest English speaking country). | ||
# You don't have to look far to find examples of this rule preferring variants of terms in line with 18th century elite preferences: | ||
# https://www.merriam-webster.com/grammar/preventive-or-preventative | ||
# In other words, it's a linguistic prescriptive holdover to insist on some of these terms being "needless" when they're in | ||
# fact widespread and well understood. Not all the terms have this issue, but we'd have to rewrite | ||
# practically the entire rule to sort out which ones we cared about. If we find any we _do_ care about, we can add them to our | ||
# own substitution rule. | ||
proselint.Needless = NO |
Oops, something went wrong.