Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
Please prefer GitHub Issues, but if the concern is sensitive in nature please use the private vulnerability reporting mechanism built into GitHub. In either scenario please also ping the person in charge of firmware in the Discord.

## Firmware

For concerns related to firmware behavior, safety, or vulnerabilities, please create a new issue as the primary reporting method and include reproduction steps, logs, and affected components. Then please ping your team lead in the Discord to escalate the issue to the appropriate party.

If this is during competition please ping multiple people in order to ensure the concern propogates in a timely manner.

## GitHub Pages
For concerns related to the GitHub repository or its associated GitHub Pages website, please create a new issue as the primary reporting method and include as much detail as possible.

If the concern is sensitive in nature please ping either your team lead or the person in charge of the firmware in the Discord to escalate the issue to the appropriate party.
54 changes: 3 additions & 51 deletions .github/workflows/AutoFormat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,57 +211,10 @@ jobs:
message: "Automatic Assembly Format: Standardized formatting automatically"
fetch: "false"

web:
if: ${{ !github.event.pull_request.draft }}
name: Web
runs-on: ubuntu-slim
permissions:
contents: write
id-token: write
steps:
- name: Acquire Secrets
uses: Gaucho-Racing/vault-pull-secrets@fa8269ea0faa78bd55f8628fd13680dae68908a2 # v1.3.0
with:
secrets: firmware-monorepo-autoformat.github_pat

- name: Checkout Pull Request
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 1
token: ${{ env.GITHUB_PAT }}

- name: Setup NodeJS
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0

- name: Install Prettier
run: npm install -g --no-fund prettier

- name: Format Web Files
run: |
set -o pipefail
echo "<details open><summary>Prettier Output</summary>" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
git ls-files 'Web/*.html' 'Web/*.css' 'Web/*.js' | xargs -r prettier --write --use-tabs 2>&1 | tee -a $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "</details>" >> $GITHUB_STEP_SUMMARY

- name: Save Changes
uses: EndBug/add-and-commit@290ea2c423ad77ca9c62ae0f5b224379612c0321 # v10.0.0
if: github.ref_type != 'tag'
env:
HOME: ${{ github.workspace }}
with:
default_author: github_actions
message: "Automatic Web Format: Standardized formatting automatically"
fetch: "false"

all:
if: ${{ !github.event.pull_request.draft && always() }}
name: Completed All Auto Formatters
needs: [clang, cmake, json, perl, asm, web]
needs: [clang, cmake, json, perl, asm]
runs-on: ubuntu-slim
permissions: {}
steps:
Expand All @@ -272,8 +225,7 @@ jobs:
needs.cmake.result != 'success' ||
needs.json.result != 'success' ||
needs.perl.result != 'success' ||
needs.asm.result != 'success' ||
needs.web.result != 'success'
needs.asm.result != 'success'
}}
run: |
echo "One or more auto format jobs have failed."
Expand All @@ -282,5 +234,5 @@ jobs:

- name: Complete Auto Format
run: |
echo "Auto Format has been completed for Clang, CMake, JSON, Perl, and Web files."
echo "Auto Format has been completed for Clang, CMake, JSON, Perl, and Assembly files."
echo "Please refer to the individual job logs for detailed formatting information."
24 changes: 2 additions & 22 deletions .github/workflows/Linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,29 +127,10 @@ jobs:
repo-token: ${{ github.token }}
input: "perlcritic_annotations.json"

web:
name: Web Linter
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
steps:
- name: Checkout Repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 1

- name: HTML5 Validator
uses: Cyb3r-Jak3/html5validator-action@4ea5e57383ed7e14432ebbaae1b64893b7c5210b # v8.0.0
with:
root: "Web"
css: "true"
log_level: "DEBUG"

all:
if: ${{ !github.event.pull_request.draft && always() }}
name: Completed All Linting
needs: [configs, codeql, perllinter, web]
needs: [configs, codeql, perllinter]
runs-on: ubuntu-slim
permissions: {}
steps:
Expand All @@ -158,8 +139,7 @@ jobs:
${{
needs.configs.result != 'success' ||
needs.codeql.result != 'success' ||
needs.perllinter.result != 'success' ||
needs.web.result != 'success'
needs.perllinter.result != 'success'
}}
run: |
echo "One or more linting jobs have failed."
Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/PublishWeb.yml

This file was deleted.

2 changes: 0 additions & 2 deletions Web/.gitignore

This file was deleted.

110 changes: 0 additions & 110 deletions Web/README.md

This file was deleted.

Loading
Loading