Browse Source

ci: run format workflow after sdk workflow completion

Aiden Cline 4 months ago
parent
commit
e282d5dc42
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .github/workflows/format.yml

+ 5 - 0
.github/workflows/format.yml

@@ -8,9 +8,14 @@ on:
     branches-ignore:
       - production
   workflow_dispatch:
+  workflow_run:
+    workflows: ["sdk"]
+    types:
+      - completed
 jobs:
   format:
     runs-on: blacksmith-4vcpu-ubuntu-2404
+    if: github.event.workflow_run.conclusion == 'success'
     permissions:
       contents: write
     steps: