-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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' into global-attributes-class
- Loading branch information
Showing
1,197 changed files
with
73,802 additions
and
25,596 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -39,14 +39,14 @@ jobs: | |
echo "DIFF_DOCUMENTS=${DIFF_DOCUMENTS}" >> $GITHUB_ENV | ||
- name: Checkout HEAD | ||
if: ${{ env.DIFF_DOCUMENTS }} | ||
if: env.DIFF_DOCUMENTS | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
path: pr_head | ||
|
||
- name: Get changed content from HEAD | ||
if: ${{ env.DIFF_DOCUMENTS }} | ||
if: env.DIFF_DOCUMENTS | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "mdn-bot" | ||
|
@@ -62,13 +62,13 @@ jobs: | |
git commit -m "Code from PR head" | ||
- uses: actions/checkout@v4 | ||
if: ${{ env.DIFF_DOCUMENTS }} | ||
if: env.DIFF_DOCUMENTS | ||
with: | ||
repository: mdn/content | ||
path: mdn/content | ||
|
||
- name: Setup Node.js environment | ||
if: ${{ env.DIFF_DOCUMENTS }} | ||
if: env.DIFF_DOCUMENTS | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
|
@@ -78,19 +78,19 @@ jobs: | |
yarn.lock | ||
- name: Install all yarn packages for mdn/translated-content | ||
if: ${{ env.DIFF_DOCUMENTS }} | ||
if: env.DIFF_DOCUMENTS | ||
run: yarn --frozen-lockfile | ||
|
||
- name: Install all yarn packages for mdn/content | ||
if: ${{ env.DIFF_DOCUMENTS }} | ||
if: env.DIFF_DOCUMENTS | ||
working-directory: ${{ github.workspace }}/mdn/content | ||
run: yarn --frozen-lockfile | ||
env: | ||
# https://github.com/microsoft/vscode-ripgrep#github-api-limit-note | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Lint and format markdown files | ||
if: ${{ env.DIFF_DOCUMENTS }} | ||
if: env.DIFF_DOCUMENTS | ||
run: | | ||
# Generate random delimiter | ||
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings | ||
|
@@ -136,7 +136,7 @@ jobs: | |
- name: Setup reviewdog | ||
if: env.FILES_MODIFIED == 'true' || env.MD_LINT_FAILED == 'true' | ||
uses: reviewdog/action-setup@v1 | ||
uses: reviewdog/action-setup@3f401fe1d58fe77e10d665ab713057375e39b887 # v1.3.0 | ||
with: | ||
reviewdog_version: latest | ||
|
||
|
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
Oops, something went wrong.