From 50a0976092c5ad981cc12ff3cba218499769d6b7 Mon Sep 17 00:00:00 2001 From: Daniel Hansen Date: Tue, 30 Jun 2026 04:10:53 -0700 Subject: [PATCH 1/3] Attempt to resolve format problems Signed-off-by: Daniel Hansen --- .github/workflows/AutoFormat.yml | 9 +- Web/index.html | 304 +++++++++++++------------------ 2 files changed, 138 insertions(+), 175 deletions(-) diff --git a/.github/workflows/AutoFormat.yml b/.github/workflows/AutoFormat.yml index 0431b9f..f793abf 100644 --- a/.github/workflows/AutoFormat.yml +++ b/.github/workflows/AutoFormat.yml @@ -19,14 +19,21 @@ jobs: runs-on: ubuntu-slim permissions: contents: write - id-token: write steps: - name: Checkout Pull Request + if: github.event_name == 'pull_request' uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: ref: ${{ github.event.pull_request.head.ref }} fetch-depth: 1 + - name: Checkout Branch + if: github.event_name == 'push' + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + ref: ${{ github.ref }} + fetch-depth: 1 + - name: Setup NodeJS uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 diff --git a/Web/index.html b/Web/index.html index 2392264..224bf47 100644 --- a/Web/index.html +++ b/Web/index.html @@ -1,180 +1,135 @@ - - - - GRCAN Viewer - - - - - - - - -
- -

GRCAN Viewer

- -
+ + + + GRCAN Viewer + + + + + + -
- + + -
-
- -
-
-
-
-
Bus
-
- Select a ref -
+
+
+ +
+
+
+
+
Bus
+
+ Select a ref
-
-
Nodes
-
- Select a bus -
+
+
+
Nodes
+
+ Select a bus
-
-
Messages
-
- Select a node -
+
+
+
Messages
+
+ Select a node
-
-
+
+
+
- - + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + From d7c0c400d3c254d216557b646de46cc922187a5b Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 30 Jun 2026 11:12:48 +0000 Subject: [PATCH 2/3] Automatic Web Format: Standardized formatting automatically --- Web/index.html | 303 ++++++++++++++++++++++++++++--------------------- 1 file changed, 174 insertions(+), 129 deletions(-) diff --git a/Web/index.html b/Web/index.html index 224bf47..4e6f633 100644 --- a/Web/index.html +++ b/Web/index.html @@ -1,135 +1,181 @@ + + + + GRCAN Viewer + + + + + + - - - - GRCAN Viewer - - - - - - + + - - - -
- -

GRCAN Viewer

- -
+
+ +

GRCAN Viewer

+ +
-
- + + -
-
- -
-
-
-
-
Bus
-
- Select a ref +
+
+ +
+
+
+
+
Bus
+
+ Select a ref +
-
-
-
Nodes
-
- Select a bus +
+
Nodes
+
+ Select a bus +
-
-
-
Messages
-
- Select a node +
+
Messages
+
+ Select a node +
-
-
-
+
+
- - + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + From d1a91c398fe241e4c0ef892f99a4283fbc0e8e4a Mon Sep 17 00:00:00 2001 From: Daniel Hansen Date: Tue, 30 Jun 2026 04:13:23 -0700 Subject: [PATCH 3/3] Avoid running if draft PR Signed-off-by: Daniel Hansen --- .github/workflows/AutoFormat.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/AutoFormat.yml b/.github/workflows/AutoFormat.yml index f793abf..71210db 100644 --- a/.github/workflows/AutoFormat.yml +++ b/.github/workflows/AutoFormat.yml @@ -6,6 +6,7 @@ on: branches: - main pull_request: + types: [opened, synchronize, reopened, ready_for_review] branches: - main @@ -15,6 +16,7 @@ concurrency: jobs: web: + if: ${{ !github.event.pull_request.draft }} name: Web runs-on: ubuntu-slim permissions: