Skip to content

Commit 7217361

Browse files
committed
Update format-code workflow
1 parent 89eebdd commit 7217361

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/format-code.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,23 @@ name: Format code
33
on:
44
pull_request:
55
branches: [main]
6-
push:
7-
branches: [main]
6+
7+
# Right now we only want to run this on PRs to main.
8+
# The branch protection rules that we have in place prevent
9+
# it from running on direct pushes.
10+
# push:
11+
# branches: [main]
812

913
jobs:
1014
format-code:
1115
name: Format code
1216
runs-on: ubuntu-latest
1317
steps:
1418
- name: Check out repository
15-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
1620

1721
- name: Setup node
18-
uses: actions/setup-node@v4
22+
uses: actions/setup-node@v6
1923
with:
2024
node-version: 22
2125

@@ -31,7 +35,7 @@ jobs:
3135
yarn run format
3236
3337
- name: Commit changes
34-
uses: stefanzweifel/git-auto-commit-action@v4
38+
uses: stefanzweifel/git-auto-commit-action@v7
3539
with:
3640
commit_message: Apply formatting changes
3741
branch: ${{ github.head_ref }}

packages/column-views/stories/unit-details.stories.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import h from "@macrostrat/hyper";
22
import { Meta, StoryObj } from "@storybook/react-vite";
33
import { useAPIResult } from "@macrostrat/ui-components";
4-
54
import { Button, Spinner } from "@blueprintjs/core";
65
import "@macrostrat/style-system";
76
import { UnitDetailsPanel } from "../src";

0 commit comments

Comments
 (0)