-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ef4894d
Showing
131 changed files
with
17,224 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[env] | ||
TESTING_CONTENT_ROOT = { value = "tests/data/content/files", relative = true } |
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,18 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.rs] | ||
indent_size = 4 |
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,36 @@ | ||
name: "Issue report" | ||
description: Report an unexpected problem or unintended behavior. | ||
labels: ["needs triage"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
### Before you start | ||
**Want to fix the problem yourself?** This project is open source and we welcome fixes and improvements from the community! | ||
↩ Check the project [CONTRIBUTING.md](../blob/main/CONTRIBUTING.md) guide to see how to get started. | ||
--- | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: What information was incorrect, unhelpful, or incomplete? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: What did you expect to see? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: references | ||
attributes: | ||
label: Do you have any supporting links, references, or citations? | ||
description: Link to information that helps us confirm your issue. | ||
- type: textarea | ||
id: more-info | ||
attributes: | ||
label: Do you have anything more you want to share? | ||
description: For example, steps to reproduce, screenshots, screen recordings, or sample code. |
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,8 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Content or feature request | ||
url: https://github.com/mdn/mdn/issues/new/choose | ||
about: Propose new content for MDN Web Docs or submit a feature request using this link. | ||
- name: MDN GitHub Discussions | ||
url: https://github.com/orgs/mdn/discussions | ||
about: Does the issue involve a lot of changes, or is it hard to split it into actionable tasks? Start a discussion before opening an issue. |
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,19 @@ | ||
<!-- 🙌 Thanks for contributing! Adding details below will help us to merge your PR faster. --> | ||
|
||
### Description | ||
|
||
<!-- ✍️ Summarize your changes in one or two sentences --> | ||
|
||
### Motivation | ||
|
||
<!-- ❓ Why are you making these changes and how do they help? --> | ||
|
||
### Additional details | ||
|
||
<!-- 🔗 Link to documentation, bug trackers, source control, or other places providing more context --> | ||
|
||
### Related issues and pull requests | ||
|
||
<!-- 🔨 If this fully resolves a GitHub issue, use "Fixes #123" --> | ||
<!-- 👉 Highlight related pull requests using "Relates to #123" --> | ||
<!-- ❗ If another pull request should be merged first, use "**Depends on:** #123" --> |
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,54 @@ | ||
repository: | ||
# See https://github.com/apps/settings for all available settings. | ||
|
||
# The name of the repository. Changing this will rename the repository | ||
name: project-template | ||
|
||
# A short description of the repository that will show up on GitHub | ||
description: MDN Web Docs project template | ||
|
||
# A URL with more information about the repository | ||
homepage: https://github.com/mdn/project-template | ||
|
||
# The branch used by default for pull requests and when the repository is cloned/viewed. | ||
default_branch: main | ||
|
||
# This repository is a template that others can use to start a new repository. | ||
is_template: true | ||
|
||
branches: | ||
- name: main | ||
protection: | ||
# Required. Require at least one approving review on a pull request, before merging. Set to null to disable. | ||
required_pull_request_reviews: | ||
# The number of approvals required. (1-6) | ||
required_approving_review_count: 1 | ||
# Dismiss approved reviews automatically when a new commit is pushed. | ||
dismiss_stale_reviews: true | ||
# Blocks merge until code owners have reviewed. | ||
require_code_owner_reviews: true | ||
|
||
collaborators: | ||
- username: Rumyra | ||
permission: admin | ||
|
||
- username: fiji-flo | ||
permission: admin | ||
|
||
labels: | ||
- name: bug | ||
color: D41130 | ||
description: "Something that's wrong or not working as expected" | ||
- name: chore | ||
color: 258CD3 | ||
description: "A routine task" | ||
- name: "good first issue" | ||
color: 48B71D | ||
description: "Great for newcomers to start contributing" | ||
- name: "help wanted" | ||
color: 2E7A10 | ||
description: "Contributions welcome" | ||
|
||
teams: | ||
- name: core | ||
permission: admin |
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,41 @@ | ||
# TODO: Rename this file to codeql.yml and fill in the TODOs | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
paths-ignore: | ||
- "**.md" | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: ["main"] | ||
paths-ignore: | ||
- "**.md" | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
matrix: | ||
language: ["rust"] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
with: | ||
category: "/language:${{matrix.language}}" |
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,41 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- v[0-9]+.* | ||
|
||
jobs: | ||
create-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: taiki-e/create-gh-release-action@v1 | ||
with: | ||
allow-missing-changelog: true | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
upload-assets: | ||
needs: create-release | ||
strategy: | ||
matrix: | ||
include: | ||
- target: x86_64-unknown-linux-musl | ||
os: ubuntu-latest | ||
build-tool: cargo-zigbuild | ||
- target: aarch64-unknown-linux-musl | ||
os: ubuntu-latest | ||
build-tool: cargo-zigbuild | ||
- target: aarch64-apple-darwin | ||
os: macos-latest | ||
- target: x86_64-pc-windows-msvc | ||
os: windows-latest | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: taiki-e/upload-rust-binary-action@v1 | ||
with: | ||
bin: rari | ||
target: ${{ matrix.target }} | ||
build-tool: ${{ matrix.build-tool }} | ||
token: ${{ secrets.GITHUB_TOKEN }} |
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,35 @@ | ||
# This workflow is hosted at: https://github.com/mdn/workflows/blob/main/.github/workflows/allo-allo.yml | ||
# Docs for this workflow: https://github.com/mdn/workflows/blob/main/README.md#allo-allo | ||
name: "AlloAllo" | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
pull_request_target: | ||
branches: | ||
- main | ||
types: | ||
- opened | ||
- closed | ||
|
||
jobs: | ||
allo-allo: | ||
uses: mdn/workflows/.github/workflows/allo-allo.yml@main | ||
with: | ||
target-repo: "TODO - add this repo in 'mdn/REPOSITORY_NAME' format" | ||
issue-welcome: > | ||
It looks like this is your first issue. Welcome! 👋 | ||
One of the project maintainers will be with you as soon as possible. We | ||
appreciate your patience. To safeguard the health of the project, please | ||
take a moment to read our [code of conduct](../blob/main/CODE_OF_CONDUCT.md). | ||
pr-welcome: > | ||
It looks like this is your first pull request. 🎉 | ||
Thank you for your contribution! One of the project maintainers will triage | ||
and assign the pull request for review. We appreciate your patience. To | ||
safeguard the health of the project, please take a moment to read our | ||
[code of conduct](../blob/main/CODE_OF_CONDUCT.md). | ||
pr-merged: > | ||
Congratulations on your first merged pull request. 🎉 Thank you for your contribution! | ||
Did you know we have a [project board](https://github.com/orgs/mdn/projects/25) with high-impact contribution opportunities? | ||
We look forward to your next contribution. |
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,2 @@ | ||
/target | ||
.config.toml |
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,2 @@ | ||
imports_granularity = "Module" | ||
group_imports = "StdExternalCrate" |
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,8 @@ | ||
# Code of conduct | ||
|
||
This repository is governed by Mozilla's code of conduct and etiquette guidelines. | ||
For more details, read [Mozilla's Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/). | ||
|
||
## Reporting violations | ||
|
||
For more information on how to report violations of the Community Participation Guidelines, read the [How to report](https://www.mozilla.org/about/governance/policies/participation/reporting/) page. |
Oops, something went wrong.