From 68901ebf4357212ea3e968c3b95b56ae74c546f6 Mon Sep 17 00:00:00 2001 From: Pete LeVasseur Date: Tue, 17 Feb 2026 01:06:07 +0900 Subject: [PATCH 1/6] ci: add website-scoped typos check workflow --- .github/workflows/check-typos.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/check-typos.yml diff --git a/.github/workflows/check-typos.yml b/.github/workflows/check-typos.yml new file mode 100644 index 00000000..cd070d3f --- /dev/null +++ b/.github/workflows/check-typos.yml @@ -0,0 +1,24 @@ +name: Check typos + +permissions: + contents: read + +on: + pull_request: + push: + branches: + - main + merge_group: + +jobs: + check_typos: + name: check_typos + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Check for typos + uses: crate-ci/typos@v1.40.0 + with: + files: ./arewesafetycriticalyet.org From 16dbcea38649f6ccae5ac1b1f3bb7da3bd1da807 Mon Sep 17 00:00:00 2001 From: Pete LeVasseur Date: Tue, 17 Feb 2026 01:06:10 +0900 Subject: [PATCH 2/6] chore: add baseline typos config --- _typos.toml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 _typos.toml diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 00000000..7d821fb2 --- /dev/null +++ b/_typos.toml @@ -0,0 +1,7 @@ +# Project typo configuration for CI. +# Keep allowlists narrow and add entries only for verified false positives. + +[default] +extend-ignore-identifiers-re = [] + +[default.extend-words] From 64d76b83108c4959f78b126f760ae7da4fffa663 Mon Sep 17 00:00:00 2001 From: Pete LeVasseur Date: Tue, 17 Feb 2026 01:06:13 +0900 Subject: [PATCH 3/6] fix(docs): correct typo in mission heading --- arewesafetycriticalyet.org/docs/coding_guidelines/mission.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arewesafetycriticalyet.org/docs/coding_guidelines/mission.md b/arewesafetycriticalyet.org/docs/coding_guidelines/mission.md index 0f7ffabe..9c17e119 100644 --- a/arewesafetycriticalyet.org/docs/coding_guidelines/mission.md +++ b/arewesafetycriticalyet.org/docs/coding_guidelines/mission.md @@ -22,7 +22,7 @@ An effort led out of the [AUTOSAR Foundation](https://www.autosar.org/) titled t An outcome of this working group is the [Explanation of ARA Applications in Rust](https://www.autosar.org/fileadmin/standards/R23-11/AP/AUTOSAR_AP_EXP_ARARustApplications.pdf) document which outlines the API which can be used to write Rust applications within an Adaptive AUTOSAR environment. -## Other Safety-Critial Guidelines +## Other Safety-Critical Guidelines ### MISRA C, C++ @@ -35,4 +35,3 @@ There was an [effort](https://github.com/PolySync/misra-rust/blob/master/MISRA-R We would like to put out a request for those that have used Rust in safety-critical applications, may be familiar with `unsafe` best practices, or otherwise feel they have guidelines or experience to contribute to please reach out to us! As we adopt pieces of these documents we can keep track of contribution provenance here. - From a42d72894dcc9ea7858bb48289af1cd08716136d Mon Sep 17 00:00:00 2001 From: Pete LeVasseur Date: Tue, 17 Feb 2026 01:06:17 +0900 Subject: [PATCH 4/6] docs: add local typo check command --- CONTRIBUTING.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9fdd7ec1..78eb75d6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,5 +30,14 @@ for more information on using pull requests. Do you just want to file an issue for the project? Please do so in GitHub under the `Issues` tab. +### Local checks + +For changes under the website directory, you can run typo checks locally before +pushing: + +```shell +typos arewesafetycriticalyet.org +``` + [ip-policy]: https://foundation.rust-lang.org/policies/intellectual-property-policy/ [pull-requests]: https://help.github.com/articles/about-pull-requests/ From cd360fecb76dc75d778b682c7d8f11a44a97a3c6 Mon Sep 17 00:00:00 2001 From: Pete LeVasseur Date: Tue, 17 Feb 2026 01:11:12 +0900 Subject: [PATCH 5/6] test(ci): add intentional typo to validate typos check --- arewesafetycriticalyet.org/docs/coding_guidelines/mission.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arewesafetycriticalyet.org/docs/coding_guidelines/mission.md b/arewesafetycriticalyet.org/docs/coding_guidelines/mission.md index 9c17e119..1d3b6f76 100644 --- a/arewesafetycriticalyet.org/docs/coding_guidelines/mission.md +++ b/arewesafetycriticalyet.org/docs/coding_guidelines/mission.md @@ -22,7 +22,7 @@ An effort led out of the [AUTOSAR Foundation](https://www.autosar.org/) titled t An outcome of this working group is the [Explanation of ARA Applications in Rust](https://www.autosar.org/fileadmin/standards/R23-11/AP/AUTOSAR_AP_EXP_ARARustApplications.pdf) document which outlines the API which can be used to write Rust applications within an Adaptive AUTOSAR environment. -## Other Safety-Critical Guidelines +## Other Safety-Critial Guidelines ### MISRA C, C++ From f2314e6a55c2c5a32d2524cddac6454631e63bf2 Mon Sep 17 00:00:00 2001 From: Pete LeVasseur Date: Tue, 17 Feb 2026 01:14:12 +0900 Subject: [PATCH 6/6] Revert "test(ci): add intentional typo to validate typos check" This reverts commit cd360fecb76dc75d778b682c7d8f11a44a97a3c6. --- arewesafetycriticalyet.org/docs/coding_guidelines/mission.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arewesafetycriticalyet.org/docs/coding_guidelines/mission.md b/arewesafetycriticalyet.org/docs/coding_guidelines/mission.md index 1d3b6f76..9c17e119 100644 --- a/arewesafetycriticalyet.org/docs/coding_guidelines/mission.md +++ b/arewesafetycriticalyet.org/docs/coding_guidelines/mission.md @@ -22,7 +22,7 @@ An effort led out of the [AUTOSAR Foundation](https://www.autosar.org/) titled t An outcome of this working group is the [Explanation of ARA Applications in Rust](https://www.autosar.org/fileadmin/standards/R23-11/AP/AUTOSAR_AP_EXP_ARARustApplications.pdf) document which outlines the API which can be used to write Rust applications within an Adaptive AUTOSAR environment. -## Other Safety-Critial Guidelines +## Other Safety-Critical Guidelines ### MISRA C, C++