aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/pr.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 6b913830..14aea7a3 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -46,7 +46,8 @@ jobs:
id: diff
run: |
git add .
- git diff --cached --exit-code
+ git diff --cached --name-only | sed -E 's/^(.*)$/::error file=\1,title=Diff detected::Please run `pnpm run preflight` and commit the changes./'
+ git diff --cached --name-only --exit-code
continue-on-error: true
- name: Transpile ts