Skip to content

Commit 06bb9c6

Browse files
committed
Merge branch 'main' into datalist-types
2 parents 9737c85 + 6b35617 commit 06bb9c6

File tree

1,254 files changed

+52796
-7169
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,254 files changed

+52796
-7169
lines changed

.github/CODEOWNERS

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,19 @@
66
# https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-code-owners
77

88
/schemas/ @mdn/bcd-owners
9-
/.github/workflows/ @mdn/core-dev
9+
10+
/.github/ @mdn/engineering
11+
/.vscode/ @mdn/engineering
12+
/lint/ @mdn/engineering
13+
/scripts/ @mdn/engineering
14+
/types/ @mdn/engineering
15+
/utils/ @mdn/engineering
16+
/* @mdn/engineering
17+
/package.json @mdn/engineering @mdn-bot @mdn/bcd-releasers
18+
/package-lock.json @mdn/engineering @mdn-bot @mdn/bcd-releasers
19+
/SECURITY.md @mdn/engineering
20+
21+
# Exclude some paths
22+
/.github/ISSUE_TEMPLATE/
23+
/.github/PULL_REQUESET_TEMPLATE.md
24+
/*.md

.github/dependabot.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
version: 2
22
updates:
33
- package-ecosystem: npm
4-
directory: "/"
4+
directory: /
55
schedule:
66
interval: daily
77
time: "11:00"
8-
open-pull-requests-limit: 10
9-
labels:
10-
- "infra"
11-
- "dependencies"
12-
- package-ecosystem: "github-actions"
13-
directory: "/"
8+
groups:
9+
npm:
10+
update-types:
11+
- minor
12+
- patch
13+
exclude-patterns:
14+
- "@ddbeck/mdn-content-inventory"
15+
- web-features
16+
- web-specs
17+
commit-message:
18+
prefix: chore
19+
include: scope
20+
21+
- package-ecosystem: github-actions
22+
directory: /
1423
schedule:
15-
interval: "daily"
16-
labels:
17-
- "infra"
24+
interval: weekly
25+
commit-message:
26+
prefix: ci
27+
include: scope

.github/labeler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ data:mathml:
3636
- changed-files:
3737
- any-glob-to-any-file:
3838
- "mathml/**"
39+
data:mediatypes:
40+
- changed-files:
41+
- any-glob-to-any-file:
42+
- "mediatypes/**"
3943
data:svg:
4044
- changed-files:
4145
- any-glob-to-any-file:

.github/workflows/add-push-artifacts.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@ jobs:
1111
name: Enumerate and diff features
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
with:
1616
fetch-depth: 0 # get the full repository checkout, not just the inciting commit
1717
persist-credentials: false
18-
- uses: actions/setup-node@v5
18+
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
1919
with:
2020
node-version-file: ".nvmrc"
2121
cache: npm
2222
package-manager-cache: true
2323
- run: npm ci
2424
- run: npx tsx ./scripts/enumerate-features.ts features.json
2525
- run: npx tsx ./scripts/diff-features.ts --no-github --format=json > features.diff.json
26-
- uses: actions/upload-artifact@v4
26+
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
2727
with:
2828
name: enumerate-features
2929
path: features.json
30-
- uses: actions/upload-artifact@v4
30+
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
3131
with:
3232
name: diff-features
3333
path: features.diff.json

.github/workflows/auto-merge.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,26 @@ on:
55
branches:
66
- main
77

8-
permissions:
9-
contents: read
10-
pull-requests: write
8+
# No GITHUB_TOKEN permissions, because we use GH_TOKEN instead.
9+
permissions: {}
1110

1211
jobs:
1312
auto-merge:
14-
uses: mdn/workflows/.github/workflows/auto-merge.yml@main
15-
with:
16-
target-repo: "mdn/browser-compat-data"
17-
secrets:
18-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
13+
runs-on: ubuntu-latest
14+
if: github.event.pull_request.user.login == 'dependabot[bot]'
15+
16+
steps:
17+
- name: Dependabot metadata
18+
id: dependabot-metadata
19+
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
20+
with:
21+
github-token: ${{ secrets.GH_TOKEN }}
22+
23+
- name: Squash and merge
24+
25+
if: ${{ steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor' && !startsWith(steps.dependabot-metadata.outputs.previous-version, '0.') || steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' && !startsWith(steps.dependabot-metadata.outputs.previous-version, '0.0.') }}
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
28+
run: |
29+
gh pr review ${{ github.event.pull_request.html_url }} --approve
30+
gh pr merge ${{ github.event.pull_request.html_url }} --auto --squash

.github/workflows/close-incomplete-issues.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
close-issues-if-invalid:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: queengooborg/invalid-issue-closer@43bf1ddff3e83d208b77a3e364f7b5e22f6a9657 # v1.6.0
14+
- uses: queengooborg/invalid-issue-closer@a76c4a636b1346d4554befcadd45eb0f23283580 # v1.6.1
1515
id: blank-body-check
1616
with:
1717
repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -21,7 +21,7 @@ jobs:
2121
This issue has been identified as spam and has been automatically closed and locked. Do not use this repository for posting spam.
2222
normalize-newlines: true
2323
body-is-blank: true
24-
- uses: queengooborg/invalid-issue-closer@43bf1ddff3e83d208b77a3e364f7b5e22f6a9657 # v1.6.0
24+
- uses: queengooborg/invalid-issue-closer@a76c4a636b1346d4554befcadd45eb0f23283580 # v1.6.1
2525
if: steps.blank-body-check.outputs.was-closed == 'false'
2626
id: spam-check
2727
with:
@@ -33,7 +33,7 @@ jobs:
3333
If you believe this issue was incorrectly classified as spam, please comment below. A maintainer will review, and reopen if necessary.
3434
normalize-newlines: true
3535
is-spammy: true
36-
- uses: queengooborg/invalid-issue-closer@43bf1ddff3e83d208b77a3e364f7b5e22f6a9657 # v1.6.0
36+
- uses: queengooborg/invalid-issue-closer@a76c4a636b1346d4554befcadd45eb0f23283580 # v1.6.1
3737
if: steps.spam-check.outputs.was-closed == 'false'
3838
with:
3939
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/issue-regex-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
issue-labeler:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: github/issue-labeler@v3.4
15+
- uses: github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685 # v3.4
1616
with:
1717
configuration-path: .github/issue-regex-labeler.yml
1818
enable-versioned-regex: 0

.github/workflows/labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
label-py-path:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/labeler@v6
14+
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
1515
with:
1616
repo-token: ${{ secrets.GITHUB_TOKEN }}
1717
sync-labels: true
1818

1919
label-by-size:
20-
if: github.actor != 'dependabot[bot]' && !startsWith(github.event.pull_request.title, 'Release v')
20+
if: github.secret_source == 'Actions' && !startsWith(github.event.pull_request.title, 'Release v')
2121
needs: label-py-path
2222
runs-on: ubuntu-latest
2323
steps:

.github/workflows/node.js.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/ping-other-repos.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)