-
Notifications
You must be signed in to change notification settings - Fork 2k
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 spec-url-validator
- Loading branch information
Showing
2,653 changed files
with
84,831 additions
and
31,192 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
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,30 @@ | ||
data:api: | ||
- 'api\.' | ||
- '\/docs\/Web\/API' | ||
data:css: | ||
- 'css\.' | ||
- '\/docs\/Web\/CSS' | ||
data:html: | ||
- 'html\.' | ||
- '\/docs\/Web\/HTML' | ||
data:http: | ||
- 'http\.' | ||
- '\/docs\/Web\/HTTP' | ||
data:js: | ||
- 'js\.' | ||
- '\/docs\/Web\/JavaScript' | ||
data:mathml: | ||
- 'mathml\.' | ||
- '\/docs\/Web\/MathML' | ||
data:svg: | ||
- 'svg\.' | ||
- '\/docs\/Web\/SVG' | ||
data:wasm: | ||
- 'webassembly\.' | ||
- '\/docs\/WebAssembly' | ||
data:webdriver: | ||
- 'webdriver\.' | ||
- '\/docs\/Web\/WebDriver' | ||
data:webext: | ||
- 'webextensions\.' | ||
- '\/docs\/Mozilla\/Add-ons' |
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,15 @@ | ||
# Labels issues by BCD key, MDN URL or other regex match in issue description. | ||
name: Issue Labeler | ||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
issue-labeler: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: github/[email protected] | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: .github/issue-regex-labeler.yml | ||
enable-versioned-regex: 0 |
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ name: Node.js CI | |
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
|
||
permissions: | ||
|
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,63 @@ | ||
name: Reviewdog | ||
|
||
on: | ||
pull_request_target: | ||
branches: ["main"] | ||
|
||
jobs: | ||
fix: | ||
name: Fix | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: npm | ||
|
||
- run: npm ci | ||
|
||
- run: npm run fix | ||
env: | ||
FORCE_COLOR: 3 | ||
|
||
- run: git diff > diff.patch | ||
|
||
- name: Upload diff | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: diff | ||
path: diff.patch | ||
|
||
suggest: | ||
name: Suggest | ||
needs: fix | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Download diff | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: diff | ||
|
||
- name: Setup | ||
uses: reviewdog/action-setup@v1 | ||
with: | ||
reviewdog_version: latest | ||
|
||
- name: Suggest changes | ||
env: | ||
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
cat diff.patch | reviewdog \ | ||
-name="bcd-linter" \ | ||
-f=diff \ | ||
-f.diff.strip=1 \ | ||
-filter-mode=diff_context \ | ||
-reporter=github-pr-review |
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,46 @@ | ||
name: Release PR | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
|
||
concurrency: | ||
group: ${{ github.workflow }} | ||
|
||
jobs: | ||
manage-release-pr: | ||
if: github.repository == 'mdn/browser-compat-data' && github.actor != 'dependabot[bot]' && !startsWith(github.event.head_commit.message, 'Release v') | ||
name: Manage release PR | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
fetch-tags: true | ||
token: ${{ secrets.GH_TOKEN }} | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
registry-url: "https://registry.npmjs.org/" | ||
cache: npm | ||
|
||
- name: "Setup git" | ||
run: | | ||
git config user.email [email protected] | ||
git config user.name mdn-bot | ||
- name: Install | ||
run: npm ci | ||
|
||
- name: Release | ||
run: npm run release |
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.