Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into performance-api-guide
Browse files Browse the repository at this point in the history
* upstream/main: (286 commits)
  Correct Epsilon property description (mdn#22804)
  Fix typo in subtle crypto digest (mdn#22802)
  Alt tag added - reference issue mdn#21616 (mdn#22255)
  WeakSet: Improve recursive validation example (mdn#22787)
  New page: validityState.valueMissing (mdn#22691)
  Edit: <dialog> element (mdn#22786)
  Update Paint Timing pages (mdn#22771)
  chore(deps): bump @mdn/yari from 1.27.16 to 1.27.20 (mdn#22791)
  chore(deps): bump technote-space/get-diff-action from 6.1.1 to 6.1.2 (mdn#22790)
  Remove WebGLSidebar (mdn#22782)
  fix indefinite articles usage (mdn#22789)
  Removed part of sentence that refers to code that appears to have been removed (mdn#22788)
  Split (Async)?(Generator)?Function class and ctor pages (mdn#22778)
  Fix interfaces links (mdn#22779)
  Change "hypertext link" to "hypertext links" (mdn#22780)
  add hyphenate-limit-chars CSS property (mdn#22747)
  22225: Add links to accessibility guides section (mdn#22240)
  ci(markdownlint): use GitHub API to get changed files (mdn#22773)
  Document font-palette & @font-palette-values with its descriptors (mdn#22519)
  fix typo in createImageBitmap api (mdn#22774)
  ...
  • Loading branch information
wbamberg committed Dec 8, 2022
2 parents c31cff1 + 4c53efa commit 072ff75
Show file tree
Hide file tree
Showing 1,332 changed files with 17,136 additions and 10,016 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on-demand-preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
echo "After..."
du -sh build
- uses: technote-space/[email protected].1
- uses: technote-space/[email protected].2
with:
PATTERNS: files/**/*.+(png|jpeg|jpg|gif|svg|webp)
ABSOLUTE: true
Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/pr-check_markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,19 @@ jobs:
- uses: actions/checkout@v3

- name: Get changed files
id: changed-files
uses: tj-actions/[email protected]
with:
files: |
**/*.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
run: |
# Use the GitHub API to get the list of changed files
# documenation: https://docs.github.com/rest/commits/commits#compare-two-commits
DIFF_DOCUMENTS=$(gh api repos/{owner}/{repo}/compare/${{ env.BASE_SHA }}...${{ env.HEAD_SHA }} \
--paginate \
--jq '.files | .[] | select(.status|IN("added", "modified", "renamed", "copied", "changed")) | .filename')
# filter out files that are not markdown
DIFF_DOCUMENTS=$(echo "${DIFF_DOCUMENTS}" | egrep -i "^files/.*\.md$" | xargs)
echo "DIFF_DOCUMENTS=${DIFF_DOCUMENTS}" >> $GITHUB_ENV
- name: Setup Node.js environment
uses: actions/setup-node@v3
Expand All @@ -34,5 +42,5 @@ jobs:
- name: Lint markdown files
run: |
echo "::add-matcher::.github/workflows/markdownlint-problem-matcher.json"
files_to_lint="${{ steps.changed-files.outputs.all_changed_files }}"
files_to_lint="${{ env.DIFF_DOCUMENTS }}"
yarn markdownlint-cli2 ${files_to_lint}
6 changes: 3 additions & 3 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
# Now, this gets used by the `git diff ...` inside get-diff-action.
git config --global core.quotePath false
- uses: technote-space/[email protected].1
- uses: technote-space/[email protected].2
id: git_diff_content
with:
PATTERNS: files/**/*.+(html|md)
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
name: build
path: build/

- uses: technote-space/[email protected].1
- uses: technote-space/[email protected].2
with:
PATTERNS: files/**/*.+(png|jpeg|jpg|gif|svg|webp)
ABSOLUTE: true
Expand All @@ -157,7 +157,7 @@ jobs:
export CONTENT_ROOT=$(pwd)/files
yarn filecheck ${{ env.GIT_DIFF_FILES }}
- uses: technote-space/[email protected].1
- uses: technote-space/[email protected].2
id: git_diff_redirects
with:
PATTERNS: files/**/_redirects.txt
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

4 changes: 2 additions & 2 deletions .markdownlint-cli2.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"MD026": {
"punctuation": ".,;:"
},
// Consectutive Notes/Callouts currently don't conform with this rule
// Consecutive Notes/Callouts currently don't conform with this rule
"MD028": false,
// Force orderd numbering to catch accidental list ending from indenting
// Force ordered numbering to catch accidental list ending from indenting
"MD029": {
"style": "ordered"
},
Expand Down
76 changes: 47 additions & 29 deletions files/en-us/_redirects.txt

Large diffs are not rendered by default.

Loading

0 comments on commit 072ff75

Please sign in to comment.