瀏覽代碼

:wrench: Add just recipes to run the pull request template check

Jeff Triplett 1 天之前
父節點
當前提交
989b4faf3f
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      justfile

+ 8 - 0
justfile

@@ -21,6 +21,14 @@
 @doctoc:
     bunx doctoc README.md
 
+# Run the template check on every open pull request
+@check-prs:
+    gh workflow run pr-template.yml
+
+# Run the template check on one pull request, for example: just check-pr 388
+@check-pr NUMBER:
+    gh workflow run pr-template.yml -f pull_request={{ NUMBER }}
+
 # Serve the site with live reload on port 8000
 @serve:
     uv run zensical serve --dev-addr localhost:8000