aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/format.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/format.yml')
-rw-r--r--.github/workflows/format.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
new file mode 100644
index 000000000..9faaa1886
--- /dev/null
+++ b/.github/workflows/format.yml
@@ -0,0 +1,15 @@
+name: Format
+
+on:
+ workflow_dispatch:
+ push:
+ branches:
+ - main
+
+jobs:
+ prettier:
+ if: github.repository_owner == 'withastro'
+ uses: withastro/automation/.github/workflows/format.yml@main
+ with:
+ command: "format"
+ secrets: inherit