about summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorDan Abramov <dan.abramov@gmail.com>2024-12-19 05:36:19 +0000
committerDan Abramov <dan.abramov@gmail.com>2024-12-19 05:36:19 +0000
commit59739a6088e8ff03ac8210c343b42d16a4a13d67 (patch)
tree4b009cb12d0e1fd48a0c812084f2fd9404087217 /.github
parent24540400d93df77511caa10737a7c5b808072579 (diff)
downloadvoidsky-59739a6088e8ff03ac8210c343b42d16a4a13d67.tar.zst
Tweak GH action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/verify-yarn-lock.yml12
1 files changed, 5 insertions, 7 deletions
diff --git a/.github/workflows/verify-yarn-lock.yml b/.github/workflows/verify-yarn-lock.yml
index bd946d7f3..aa4568f5c 100644
--- a/.github/workflows/verify-yarn-lock.yml
+++ b/.github/workflows/verify-yarn-lock.yml
@@ -1,4 +1,4 @@
-name: Verify yarn.lock
+name: Lockfile
 
 on:
   pull_request:
@@ -8,7 +8,7 @@ concurrency:
 
 jobs:
   verify-yarn-lock:
-    name: Verify yarn.lock changes
+    name: No manual yarn.lock edits
     runs-on: ubuntu-latest
     steps:
       - name: Check out PR HEAD
@@ -32,11 +32,9 @@ jobs:
             yarn
             git diff --quiet --exit-code || {
               echo '::error::`yarn.lock` does not match what Yarn would generate given the base `yarn.lock` and the head `package.json`.'
-              echo '::error::1. If this is intentional, you can ignore this check.'
-              echo '::error::2. If this is not intentional, apply the following diff:'
-              echo '```diff'
-              git --no-pager diff -R
-              echo '```'
+              echo '::error:: - If this is intentional, you can ignore this check.'
+              echo '::error:: - If this is unintentional, apply the following diff:'
+              git --no-pager diff
               exit 1
             }
           attempt_limit: 3