blockwatch-cli 0.18.0__tar.gz → 0.19.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (339) hide show
  1. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.github/dependabot.yml +6 -0
  2. blockwatch_cli-0.19.0/.github/workflows/actions.lock +145 -0
  3. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.github/workflows/blockwatch.yml +1 -1
  4. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.github/workflows/codeql.yml +5 -3
  5. blockwatch_cli-0.19.0/.github/workflows/lockfile.yml +24 -0
  6. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.github/workflows/markdownlint.yml +3 -1
  7. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.github/workflows/pypi.yml +8 -8
  8. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.github/workflows/release.yml +38 -19
  9. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.github/workflows/rust.yml +9 -5
  10. blockwatch_cli-0.19.0/.github/workflows/sign-archives.yml +78 -0
  11. blockwatch_cli-0.19.0/.github/workflows/site.yml +62 -0
  12. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.github/workflows/trusted-checks.yml +1 -1
  13. blockwatch_cli-0.19.0/.github/zizmor.yml +17 -0
  14. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.gitignore +1 -6
  15. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.markdownlint-cli2.yaml +4 -0
  16. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.pre-commit-config.yaml +17 -0
  17. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/AGENTS.md +27 -10
  18. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/CHANGELOG.md +54 -0
  19. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/CLAUDE.md +27 -10
  20. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/Cargo.lock +1 -1
  21. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/Cargo.toml +9 -1
  22. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/PKG-INFO +1 -1
  23. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/README.md +47 -33
  24. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/SECURITY.md +31 -0
  25. blockwatch_cli-0.19.0/blockwatch.toml +105 -0
  26. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/dist-workspace.toml +14 -3
  27. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/docs/agents.md +4 -0
  28. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/docs/ci.md +33 -2
  29. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/docs/cli.md +98 -16
  30. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/docs/symbols.md +108 -30
  31. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/docs/validators/README.md +1 -1
  32. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/setup.py +1 -1
  33. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/block_parser.rs +1 -1
  34. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/blocks.rs +2 -2
  35. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/cli.rs +3 -9
  36. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/flags.rs +3 -3
  37. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/bash.rs +14 -17
  38. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/c.rs +13 -17
  39. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/c_sharp.rs +11 -14
  40. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/cmake.rs +6 -7
  41. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/cpp.rs +7 -8
  42. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/css.rs +3 -3
  43. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/dart.rs +11 -14
  44. blockwatch_cli-0.19.0/src/language_parsers/dockerfile.rs +1259 -0
  45. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/elixir.rs +5 -6
  46. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/go.rs +14 -19
  47. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/graphql.rs +6 -7
  48. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/groovy.rs +6 -7
  49. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/hcl.rs +11 -14
  50. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/html.rs +7 -8
  51. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/java.rs +13 -16
  52. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/javascript.rs +8 -10
  53. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/json.rs +13 -15
  54. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/kotlin.rs +11 -14
  55. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/lean.rs +2 -2
  56. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/lua.rs +6 -7
  57. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/makefile.rs +3 -3
  58. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/markdown.rs +24 -24
  59. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/mdx.rs +14 -14
  60. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/mod.rs +247 -336
  61. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/nix.rs +5 -6
  62. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/ocaml.rs +8 -9
  63. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/php.rs +18 -21
  64. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/proto.rs +11 -14
  65. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/python.rs +11 -14
  66. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/ruby.rs +7 -8
  67. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/rust.rs +11 -14
  68. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/scala.rs +8 -9
  69. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/sql.rs +6 -7
  70. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/starlark.rs +8 -11
  71. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/swift.rs +11 -14
  72. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/toml.rs +9 -10
  73. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/tsx.rs +7 -9
  74. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/typescript.rs +11 -13
  75. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/xml.rs +10 -13
  76. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/language_parsers/yaml.rs +16 -19
  77. blockwatch_cli-0.19.0/src/language_resolver.rs +1411 -0
  78. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/lib.rs +7 -10
  79. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/report.rs +3 -3
  80. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/scan.rs +36 -35
  81. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/settings.rs +18 -30
  82. blockwatch_cli-0.19.0/src/skill.md +307 -0
  83. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/symbols/code.rs +6 -9
  84. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/symbols/mod.rs +1 -1
  85. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/validators/affects.rs +2 -2
  86. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/validators/keep_unique.rs +1 -1
  87. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/validators/mod.rs +2 -4
  88. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/virtual_blocks.rs +4 -7
  89. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/symbol_references.rs +7 -0
  90. blockwatch_cli-0.19.0/tests/testdata/symbol_references/Dockerfile +1 -0
  91. blockwatch_cli-0.19.0/tests/testdata/symbol_references/dockerfile_source.rs +3 -0
  92. blockwatch_cli-0.18.0/blockwatch.toml +0 -53
  93. blockwatch_cli-0.18.0/src/language_parsers/dockerfile.rs +0 -164
  94. blockwatch_cli-0.18.0/src/skill.md +0 -735
  95. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.agents/.claude-plugin/plugin.json +0 -0
  96. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.agents/skills/blockwatch/SKILL.md +0 -0
  97. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.claude-plugin/marketplace.json +0 -0
  98. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.github/FUNDING.yml +0 -0
  99. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/.pre-commit-hooks.yaml +0 -0
  100. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/LICENSE +0 -0
  101. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/clippy.toml +0 -0
  102. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/codecov.yml +0 -0
  103. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/demo.gif +0 -0
  104. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/docs/validators/affects.md +0 -0
  105. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/docs/validators/check-ai.md +0 -0
  106. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/docs/validators/check-lua.md +0 -0
  107. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/docs/validators/keep-sorted.md +0 -0
  108. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/docs/validators/keep-unique.md +0 -0
  109. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/docs/validators/line-count.md +0 -0
  110. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/docs/validators/line-pattern.md +0 -0
  111. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/docs/validators/same-as.md +0 -0
  112. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/pypi/pyproject.toml +0 -0
  113. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/pyproject.toml +0 -0
  114. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/release.toml +0 -0
  115. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/scripts/check_language_count.lua +0 -0
  116. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/scripts/check_latest_gpt_nano_model.lua +0 -0
  117. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/config.rs +0 -0
  118. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/diff_parser.rs +0 -0
  119. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/explain.rs +0 -0
  120. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/fs.rs +0 -0
  121. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/main.rs +0 -0
  122. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/path_arguments.rs +0 -0
  123. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/paths_glob.rs +0 -0
  124. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/repo_path.rs +0 -0
  125. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/sarif.rs +0 -0
  126. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/symbol_path.rs +0 -0
  127. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/tag_parser.rs +0 -0
  128. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/target_reference.rs +0 -0
  129. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/validators/check_ai.rs +0 -0
  130. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/validators/check_lua.rs +0 -0
  131. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/validators/keep_sorted.rs +0 -0
  132. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/validators/line_count.rs +0 -0
  133. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/validators/line_pattern.rs +0 -0
  134. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/validators/same_as.rs +0 -0
  135. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/src/violation_address.rs +0 -0
  136. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/affects.rs +0 -0
  137. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/check_ai.rs +0 -0
  138. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/check_lua.rs +0 -0
  139. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/common/empty.toml +0 -0
  140. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/common/mod.rs +0 -0
  141. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/config.rs +0 -0
  142. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/encoding.rs +0 -0
  143. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/explain.rs +0 -0
  144. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/general.rs +0 -0
  145. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/keep_sorted.rs +0 -0
  146. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/keep_unique.rs +0 -0
  147. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/line_count.rs +0 -0
  148. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/line_pattern.rs +0 -0
  149. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/list.rs +0 -0
  150. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/path_arguments.rs +0 -0
  151. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/repository_root.rs +0 -0
  152. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/same_as.rs +0 -0
  153. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/sarif.rs +0 -0
  154. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/skill.rs +0 -0
  155. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/suppressions.rs +0 -0
  156. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/cross_file_source.rs +0 -0
  157. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/cross_file_target.md +0 -0
  158. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/custom_ext_source.javascript +0 -0
  159. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/custom_ext_target.javascript +0 -0
  160. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/dangling.md +0 -0
  161. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/missing_symbol.rs +0 -0
  162. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/more_added_than_deleted.py +0 -0
  163. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/multiline_tag_source.rs +0 -0
  164. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/multiline_tag_target.rs +0 -0
  165. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/nested_mapping_source.rs +0 -0
  166. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/nested_mapping_target.yaml +0 -0
  167. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/sibling.md +0 -0
  168. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/symbol_source.rs +0 -0
  169. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/symbol_target.json +0 -0
  170. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/table_source.rs +0 -0
  171. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/table_target.toml +0 -0
  172. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/tag_and_content_source.ts +0 -0
  173. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/tag_and_content_target.ts +0 -0
  174. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/whole_file_source.rs +0 -0
  175. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/affects/whole_file_target.json +0 -0
  176. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_ai/two_blocks.py +0 -0
  177. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/affects.lua +0 -0
  178. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/affects.py +0 -0
  179. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/affects_drift.py +0 -0
  180. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/blocking_io.lua +0 -0
  181. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/blocking_io.py +0 -0
  182. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/echo.lua +0 -0
  183. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/fail.lua +0 -0
  184. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/mode.py +0 -0
  185. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/os.lua +0 -0
  186. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/pathfmt/report_path.lua +0 -0
  187. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/pathfmt/source.py +0 -0
  188. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/pattern.py +0 -0
  189. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/pattern_many_matches.py +0 -0
  190. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/pattern_no_match.py +0 -0
  191. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/success.lua +0 -0
  192. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/check_lua/success_and_failure.py +0 -0
  193. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/config/glob_target/config.toml +0 -0
  194. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/config/glob_target/package.json +0 -0
  195. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/config/glob_target/plugins/blue/package.json +0 -0
  196. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/config/glob_target/plugins/green/package.json +0 -0
  197. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/config/glob_target/plugins/red/package.json +0 -0
  198. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/explain/a.py +0 -0
  199. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/explain/check.lua +0 -0
  200. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/general/block_selection.py +0 -0
  201. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/general/custom_file_extension.javascript +0 -0
  202. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/general/custom_file_extension.python +0 -0
  203. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/general/disable_enable.py +0 -0
  204. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/general/paths/invalid.py +0 -0
  205. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/general/paths/subdir/nested_invalid.py +0 -0
  206. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/general/paths/valid.py +0 -0
  207. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/general/severity.py +0 -0
  208. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/hidden/.github/workflows/ci.yml +0 -0
  209. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/keep_sorted/orderings.py +0 -0
  210. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/keep_unique/basic_and_pattern.py +0 -0
  211. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/line_count/equality_and_greater_than.py +0 -0
  212. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/line_pattern/forbidden_text.py +0 -0
  213. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/line_pattern/hex_and_word_patterns.py +0 -0
  214. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/list/.hg/.gitkeep +0 -0
  215. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/list/a.py +0 -0
  216. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/list/b.py +0 -0
  217. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/positions/unicode_columns.py +0 -0
  218. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/custom_ext_source.javascript +0 -0
  219. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/custom_ext_target.javascript +0 -0
  220. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/package.json +0 -0
  221. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/paths/alpha/item.txt +0 -0
  222. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/paths/beta/item.txt +0 -0
  223. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/paths_and_block_source.md +0 -0
  224. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/paths_source.md +0 -0
  225. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/sibling.rs +0 -0
  226. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/source.rs +0 -0
  227. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/split_table_source.rs +0 -0
  228. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/split_table_target.toml +0 -0
  229. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/symbol_mismatch_source.rs +0 -0
  230. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/symbol_source.rs +0 -0
  231. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/target.md +0 -0
  232. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/whole_file_mismatch_source.rs +0 -0
  233. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/whole_file_source.rs +0 -0
  234. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/same_as/whole_file_target.json +0 -0
  235. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/sarif/advisory.py +0 -0
  236. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/sarif/clean.py +0 -0
  237. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/sarif/sorted.py +0 -0
  238. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/sarif/unnamed.py +0 -0
  239. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/commit_msg.txt +0 -0
  240. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/commit_msg_gone_a.txt +0 -0
  241. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/commit_msg_gone_b.txt +0 -0
  242. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/commit_msg_lowercase_trailer.txt +0 -0
  243. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/commit_msg_malformed.txt +0 -0
  244. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/commit_msg_with_noise.txt +0 -0
  245. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/dangling.py +0 -0
  246. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/sorted.py +0 -0
  247. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/symbol.py +0 -0
  248. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/symbol_target.json +0 -0
  249. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/two_rules.py +0 -0
  250. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/suppressions/unnamed.py +0 -0
  251. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/Makefile +0 -0
  252. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/bzl_source.rs +0 -0
  253. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/bzl_target.bzl +0 -0
  254. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/c_source.rs +0 -0
  255. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/c_target.c +0 -0
  256. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/cpp_source.rs +0 -0
  257. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/cpp_target.cpp +0 -0
  258. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/cs_source.rs +0 -0
  259. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/cs_target.cs +0 -0
  260. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/csproj_source.rs +0 -0
  261. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/csproj_target.csproj +0 -0
  262. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/css_source.rs +0 -0
  263. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/css_target.css +0 -0
  264. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/dart_source.rs +0 -0
  265. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/dart_target.dart +0 -0
  266. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/escapes_source.rs +0 -0
  267. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/escapes_target.json +0 -0
  268. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/filter_source.rs +0 -0
  269. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/filter_target.yaml +0 -0
  270. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/go_source.rs +0 -0
  271. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/go_target.go +0 -0
  272. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/h_source.rs +0 -0
  273. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/h_target.h +0 -0
  274. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/hcl_source.rs +0 -0
  275. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/hcl_target.hcl +0 -0
  276. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/java_source.rs +0 -0
  277. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/java_target.java +0 -0
  278. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/js_source.rs +0 -0
  279. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/js_target.js +0 -0
  280. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/json_source.rs +0 -0
  281. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/json_target.json +0 -0
  282. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/jsonc_source.rs +0 -0
  283. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/jsonc_target.jsonc +0 -0
  284. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/kt_source.rs +0 -0
  285. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/kt_target.kt +0 -0
  286. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/kts_source.rs +0 -0
  287. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/kts_target.kts +0 -0
  288. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/makefile_source.rs +0 -0
  289. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/markdown_source.rs +0 -0
  290. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/markdown_target.markdown +0 -0
  291. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/md_source.rs +0 -0
  292. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/md_target.md +0 -0
  293. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/mdx_source.rs +0 -0
  294. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/mdx_target.mdx +0 -0
  295. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/mixed_list_source.rs +0 -0
  296. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/mixed_list_target.json +0 -0
  297. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/nomad_source.rs +0 -0
  298. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/nomad_target.nomad +0 -0
  299. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/php_source.rs +0 -0
  300. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/php_target.php +0 -0
  301. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/phtml_source.rs +0 -0
  302. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/phtml_target.phtml +0 -0
  303. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/proto_source.rs +0 -0
  304. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/proto_target.proto +0 -0
  305. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/py_source.rs +0 -0
  306. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/py_target.py +0 -0
  307. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/rs_source.rs +0 -0
  308. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/rs_target.rs +0 -0
  309. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/sh_source.rs +0 -0
  310. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/sh_target.sh +0 -0
  311. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/swift_source.rs +0 -0
  312. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/swift_target.swift +0 -0
  313. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tf_source.rs +0 -0
  314. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tf_target.tf +0 -0
  315. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tfvars_source.rs +0 -0
  316. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tfvars_target.tfvars +0 -0
  317. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tofu_source.rs +0 -0
  318. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tofu_target.tofu +0 -0
  319. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/toml_source.rs +0 -0
  320. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/toml_target.toml +0 -0
  321. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/ts_source.rs +0 -0
  322. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/ts_target.ts +0 -0
  323. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tsx_source.rs +0 -0
  324. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/tsx_target.tsx +0 -0
  325. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/xml_source.rs +0 -0
  326. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/xml_target.xml +0 -0
  327. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/yaml_source.rs +0 -0
  328. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/yaml_target.yaml +0 -0
  329. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/yml_source.rs +0 -0
  330. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/symbol_references/yml_target.yml +0 -0
  331. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/affects/pair.py +0 -0
  332. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/clean/counted.py +0 -0
  333. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/clean/noop.py +0 -0
  334. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/clean/notes.txt +0 -0
  335. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/clean/sorted.py +0 -0
  336. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/diff/two_blocks.py +0 -0
  337. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/failing/unsorted.py +0 -0
  338. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/testdata/verbosity/mixed/both_kinds.py +0 -0
  339. {blockwatch_cli-0.18.0 → blockwatch_cli-0.19.0}/tests/verbosity.rs +0 -0
@@ -4,6 +4,8 @@ updates:
4
4
  directory: "/"
5
5
  schedule:
6
6
  interval: "monthly"
7
+ cooldown:
8
+ default-days: 7
7
9
  groups:
8
10
  all-dependencies:
9
11
  patterns:
@@ -14,6 +16,10 @@ updates:
14
16
  - ".github/workflows/release.yml"
15
17
  schedule:
16
18
  interval: "monthly"
19
+ # A release must be a week old before Dependabot proposes it, so a hijacked release is
20
+ # likely to be pulled before it reaches this repository.
21
+ cooldown:
22
+ default-days: 7
17
23
  groups:
18
24
  github-actions:
19
25
  patterns:
@@ -0,0 +1,145 @@
1
+ # This file is machine-generated by `gh actions-lock`.
2
+ # Do not edit by hand; run `gh actions-lock` to update.
3
+ # Docs: https://gh.io/actions-lockfile
4
+ version: 'v0.0.3'
5
+ workflows:
6
+ '.github/workflows/blockwatch.yml':
7
+ - 'mennanov/blockwatch-action@v1.1.39'
8
+ '.github/workflows/codeql.yml':
9
+ - 'actions/checkout@v7.0.1'
10
+ - 'github/codeql-action@v4.39.3'
11
+ '.github/workflows/lockfile.yml':
12
+ - 'actions/checkout@v7.0.1'
13
+ '.github/workflows/markdownlint.yml':
14
+ - 'actions/checkout@v7.0.1'
15
+ '.github/workflows/pypi.yml':
16
+ - 'actions/checkout@v7.0.1'
17
+ - 'actions/download-artifact@v8.0.2'
18
+ - 'actions/upload-artifact@v7.0.2'
19
+ - 'pyo3/maturin-action@v1.51.0'
20
+ - 'pypa/gh-action-pypi-publish@v1.14.3'
21
+ '.github/workflows/release.yml':
22
+ - 'actions/attest@v4.2.2'
23
+ - 'actions/checkout@v7.0.1'
24
+ - 'actions/download-artifact@v8.0.2'
25
+ - 'actions/upload-artifact@v7.0.2'
26
+ '.github/workflows/rust.yml':
27
+ - 'actions/checkout@v7.0.1'
28
+ - 'codecov/codecov-action@v7.1.1'
29
+ - 'dtolnay/rust-toolchain@v1'
30
+ - 'swatinem/rust-cache@v2.9.3'
31
+ - 'taiki-e/install-action@v2.90.3'
32
+ '.github/workflows/sign-archives.yml':
33
+ - 'actions/checkout@v7.0.1'
34
+ - 'actions/download-artifact@v8.0.2'
35
+ - 'actions/upload-artifact@v7.0.2'
36
+ '.github/workflows/site.yml':
37
+ - 'actions/checkout@v7.0.1'
38
+ - 'actions/setup-node@v7.1.0'
39
+ - 'cloudflare/wrangler-action@v4.1.3'
40
+ '.github/workflows/trusted-checks.yml':
41
+ - 'mennanov/blockwatch-action@v1.1.39'
42
+ dependencies:
43
+ 'actions/attest@v4.2.2':
44
+ ref: 'v4.2.2'
45
+ commit: 'sha1-1e69f48acb82d1966a394da916b4c1698aa569d6'
46
+ owner_id: 44036562
47
+ repo_id: 760701061
48
+ 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9':
49
+ ref: 'v6.1.0'
50
+ commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
51
+ owner_id: 44036562
52
+ repo_id: 215566462
53
+ 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1':
54
+ ref: 'v7.0.1'
55
+ commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
56
+ owner_id: 44036562
57
+ repo_id: 197814629
58
+ 'actions/checkout@v7.0.1':
59
+ ref: 'v7.0.1'
60
+ commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
61
+ owner_id: 44036562
62
+ repo_id: 197814629
63
+ 'actions/download-artifact@v8.0.2':
64
+ ref: 'v8.0.2'
65
+ commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333'
66
+ owner_id: 44036562
67
+ repo_id: 192626254
68
+ 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd':
69
+ ref: 'v8.0.0'
70
+ commit: 'sha1-ed597411d8f924073f98dfc5c65a23a2325f34cd'
71
+ owner_id: 44036562
72
+ repo_id: 205262760
73
+ 'actions/setup-node@v7.1.0':
74
+ ref: 'v7.1.0'
75
+ commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1'
76
+ owner_id: 44036562
77
+ repo_id: 189476904
78
+ 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405':
79
+ ref: 'v6.2.0'
80
+ commit: 'sha1-a309ff8b426b58ec0e2a45f0f869d46889d02405'
81
+ owner_id: 44036562
82
+ repo_id: 192625525
83
+ 'actions/upload-artifact@v7.0.2':
84
+ ref: 'v7.0.2'
85
+ commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9'
86
+ owner_id: 44036562
87
+ repo_id: 192625955
88
+ 'cargo-bins/cargo-binstall@81df5c23b0dc775b009efdfc9895c5965b7a4e40':
89
+ ref: 'v1.26.1'
90
+ commit: 'sha1-81df5c23b0dc775b009efdfc9895c5965b7a4e40'
91
+ owner_id: 110581826
92
+ repo_id: 321270638
93
+ 'cloudflare/wrangler-action@v4.1.3':
94
+ ref: 'v4.1.3'
95
+ commit: 'sha1-953926a2e2182532811c01a25e53647d93bf07c0'
96
+ owner_id: 314135
97
+ repo_id: 213471363
98
+ 'codecov/codecov-action@v7.1.1':
99
+ ref: 'v7.1.1'
100
+ commit: 'sha1-303a32d7a59b442fa8d48b6a1cc6825c09c847a5'
101
+ owner_id: 8226205
102
+ repo_id: 200299178
103
+ uses:
104
+ - 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd'
105
+ 'dtolnay/rust-toolchain@v1':
106
+ ref: 'v1'
107
+ commit: 'sha1-683b588c487a69d01f6c6ddf40f036ff682cc2c8'
108
+ owner_id: 1940490
109
+ repo_id: 260749683
110
+ 'github/codeql-action@v4.39.3':
111
+ ref: 'v4.39.3'
112
+ commit: 'sha1-33d7b85da1a04171e211befe2c739303b9a4c066'
113
+ owner_id: 9919
114
+ repo_id: 259445878
115
+ 'mennanov/blockwatch-action@v1.1.39':
116
+ ref: 'v1.1.39'
117
+ commit: 'sha1-7298b2d8089b9c79470ec9ba9551aea0946211ac'
118
+ owner_id: 1451079
119
+ repo_id: 964864455
120
+ uses:
121
+ - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
122
+ - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
123
+ - 'cargo-bins/cargo-binstall@81df5c23b0dc775b009efdfc9895c5965b7a4e40'
124
+ 'pyo3/maturin-action@v1.51.0':
125
+ ref: 'v1.51.0'
126
+ commit: 'sha1-e83996d129638aa358a18fbd1dfb82f0b0fb5d3b'
127
+ owner_id: 28156855
128
+ repo_id: 363801746
129
+ 'pypa/gh-action-pypi-publish@v1.14.3':
130
+ ref: 'v1.14.3'
131
+ commit: 'sha1-7245906fb61fa33a13554f9d5fb856fe61758086'
132
+ owner_id: 647025
133
+ repo_id: 178055147
134
+ uses:
135
+ - 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405'
136
+ 'swatinem/rust-cache@v2.9.3':
137
+ ref: 'v2.9.3'
138
+ commit: 'sha1-d1527c8f67ef9af357290475d4af4b0fab8f12e0'
139
+ owner_id: 580492
140
+ repo_id: 298565987
141
+ 'taiki-e/install-action@v2.90.3':
142
+ ref: 'v2.90.3'
143
+ commit: 'sha1-cfdb7ed4ccc7c7dce37759eae89dc5674b469b39'
144
+ owner_id: 43724913
145
+ repo_id: 442947557
@@ -18,7 +18,7 @@ jobs:
18
18
  TRUSTED: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }}
19
19
 
20
20
  steps:
21
- - uses: mennanov/blockwatch-action@v1
21
+ - uses: mennanov/blockwatch-action@v1.1.39
22
22
  env:
23
23
  # Untrusted (fork) PRs are still linted, but without any secrets.
24
24
  BLOCKWATCH_AI_API_KEY: ${{ env.TRUSTED == 'true' && secrets.BLOCKWATCH_AI_API_KEY || '' }}
@@ -57,7 +57,9 @@ jobs:
57
57
  # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
58
58
  steps:
59
59
  - name: Checkout repository
60
- uses: actions/checkout@v7
60
+ uses: actions/checkout@v7.0.1
61
+ with:
62
+ persist-credentials: false
61
63
 
62
64
  # Add any setup steps before running the `github/codeql-action/init` action.
63
65
  # This includes steps like installing compilers or runtimes (`actions/setup-node`
@@ -67,7 +69,7 @@ jobs:
67
69
 
68
70
  # Initializes the CodeQL tools for scanning.
69
71
  - name: Initialize CodeQL
70
- uses: github/codeql-action/init@v4
72
+ uses: github/codeql-action/init@v4.39.3
71
73
  with:
72
74
  languages: ${{ matrix.language }}
73
75
  build-mode: ${{ matrix.build-mode }}
@@ -96,6 +98,6 @@ jobs:
96
98
  exit 1
97
99
 
98
100
  - name: Perform CodeQL Analysis
99
- uses: github/codeql-action/analyze@v4
101
+ uses: github/codeql-action/analyze@v4.39.3
100
102
  with:
101
103
  category: "/language:${{matrix.language}}"
@@ -0,0 +1,24 @@
1
+ name: Lockfile
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "main" ]
8
+
9
+ permissions: {}
10
+
11
+ jobs:
12
+ # Fails when actions.lock is out of sync with the workflows, or when a locked pin no longer
13
+ # verifies upstream.
14
+ lockfile:
15
+ runs-on: ubuntu-slim
16
+ env:
17
+ GH_TOKEN: ${{ github.token }}
18
+ steps:
19
+ - uses: actions/checkout@v7.0.1
20
+ with:
21
+ persist-credentials: false
22
+ # The pin keeps a new release of the extension from changing what this job checks.
23
+ - run: gh extension install github/gh-actions-lock --pin v0.4.1
24
+ - run: gh actions-lock --verify
@@ -14,7 +14,9 @@ jobs:
14
14
  runs-on: ubuntu-latest
15
15
 
16
16
  steps:
17
- - uses: actions/checkout@v7
17
+ - uses: actions/checkout@v7.0.1
18
+ with:
19
+ persist-credentials: false
18
20
  # Invoked without file arguments, the linter reads `.markdownlint-cli2.yaml` for both the
19
21
  # rules and the set of files, so a pull request is judged by exactly the same configuration as
20
22
  # a local commit. Unlike the hook, which sees only what is staged, this run covers every file:
@@ -33,17 +33,17 @@ jobs:
33
33
  # </block>
34
34
  runs-on: ${{ matrix.runner }}
35
35
  steps:
36
- - uses: actions/checkout@v7
36
+ - uses: actions/checkout@v7.0.1
37
37
  with:
38
38
  persist-credentials: false
39
- - uses: PyO3/maturin-action@v1
39
+ - uses: PyO3/maturin-action@v1.51.0
40
40
  with:
41
41
  working-directory: pypi
42
42
  target: ${{ matrix.target }}
43
43
  # The same glibc as the Linux binaries in the GitHub release. See dist-workspace.toml.
44
44
  manylinux: 2_28
45
45
  args: --out dist
46
- - uses: actions/upload-artifact@v7
46
+ - uses: actions/upload-artifact@v7.0.2
47
47
  with:
48
48
  name: wheel-${{ matrix.target }}
49
49
  path: pypi/dist
@@ -51,15 +51,15 @@ jobs:
51
51
  sdist:
52
52
  runs-on: ubuntu-latest
53
53
  steps:
54
- - uses: actions/checkout@v7
54
+ - uses: actions/checkout@v7.0.1
55
55
  with:
56
56
  persist-credentials: false
57
- - uses: PyO3/maturin-action@v1
57
+ - uses: PyO3/maturin-action@v1.51.0
58
58
  with:
59
59
  working-directory: pypi
60
60
  command: sdist
61
61
  args: --out dist
62
- - uses: actions/upload-artifact@v7
62
+ - uses: actions/upload-artifact@v7.0.2
63
63
  with:
64
64
  name: sdist
65
65
  path: pypi/dist
@@ -73,8 +73,8 @@ jobs:
73
73
  permissions:
74
74
  id-token: write
75
75
  steps:
76
- - uses: actions/download-artifact@v8
76
+ - uses: actions/download-artifact@v8.0.2
77
77
  with:
78
78
  path: dist
79
79
  merge-multiple: true
80
- - uses: pypa/gh-action-pypi-publish@release/v1
80
+ - uses: pypa/gh-action-pypi-publish@v1.14.3
@@ -56,7 +56,7 @@ jobs:
56
56
  env:
57
57
  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58
58
  steps:
59
- - uses: actions/checkout@v7
59
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
60
60
  with:
61
61
  persist-credentials: false
62
62
  submodules: recursive
@@ -66,7 +66,7 @@ jobs:
66
66
  shell: bash
67
67
  run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.32.0/cargo-dist-installer.sh | sh"
68
68
  - name: Cache dist
69
- uses: actions/upload-artifact@v7
69
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
70
70
  with:
71
71
  name: cargo-dist-cache
72
72
  path: ~/.cargo/bin/dist
@@ -82,7 +82,7 @@ jobs:
82
82
  cat plan-dist-manifest.json
83
83
  echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
84
84
  - name: "Upload dist-manifest.json"
85
- uses: actions/upload-artifact@v7
85
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
86
86
  with:
87
87
  name: artifacts-plan-dist-manifest
88
88
  path: plan-dist-manifest.json
@@ -116,7 +116,7 @@ jobs:
116
116
  - name: enable windows longpaths
117
117
  run: |
118
118
  git config --global core.longpaths true
119
- - uses: actions/checkout@v7
119
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
120
120
  with:
121
121
  persist-credentials: false
122
122
  submodules: recursive
@@ -131,7 +131,7 @@ jobs:
131
131
  run: ${{ matrix.install_dist.run }}
132
132
  # Get the dist-manifest
133
133
  - name: Fetch local artifacts
134
- uses: actions/download-artifact@v8
134
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
135
135
  with:
136
136
  pattern: artifacts-*
137
137
  path: target/distrib/
@@ -158,7 +158,7 @@ jobs:
158
158
 
159
159
  cp dist-manifest.json "$BUILD_MANIFEST_NAME"
160
160
  - name: "Upload artifacts"
161
- uses: actions/upload-artifact@v7
161
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
162
162
  with:
163
163
  name: artifacts-build-local-${{ join(matrix.targets, '_') }}
164
164
  path: |
@@ -175,19 +175,19 @@ jobs:
175
175
  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
176
176
  BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
177
177
  steps:
178
- - uses: actions/checkout@v7
178
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
179
179
  with:
180
180
  persist-credentials: false
181
181
  submodules: recursive
182
182
  - name: Install cached dist
183
- uses: actions/download-artifact@v8
183
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
184
184
  with:
185
185
  name: cargo-dist-cache
186
186
  path: ~/.cargo/bin/
187
187
  - run: chmod +x ~/.cargo/bin/dist
188
188
  # Get all the local artifacts for the global tasks to use (for e.g. checksums)
189
189
  - name: Fetch local artifacts
190
- uses: actions/download-artifact@v8
190
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
191
191
  with:
192
192
  pattern: artifacts-*
193
193
  path: target/distrib/
@@ -205,39 +205,53 @@ jobs:
205
205
 
206
206
  cp dist-manifest.json "$BUILD_MANIFEST_NAME"
207
207
  - name: "Upload artifacts"
208
- uses: actions/upload-artifact@v7
208
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
209
209
  with:
210
210
  name: artifacts-build-global
211
211
  path: |
212
212
  ${{ steps.cargo-dist.outputs.paths }}
213
213
  ${{ env.BUILD_MANIFEST_NAME }}
214
+
215
+ custom-sign-archives:
216
+ needs:
217
+ - plan
218
+ - build-local-artifacts
219
+ uses: ./.github/workflows/sign-archives.yml
220
+ with:
221
+ plan: ${{ needs.plan.outputs.val }}
222
+ secrets: inherit
214
223
  # Determines if we should publish/announce
215
224
  host:
216
225
  needs:
217
226
  - plan
218
227
  - build-local-artifacts
219
228
  - build-global-artifacts
229
+ - custom-sign-archives
220
230
  # Only run if we're "publishing", and only if plan, local and global didn't fail (skipped is fine)
221
- if: ${{ always() && needs.plan.result == 'success' && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.build-local-artifacts.result == 'skipped' || needs.build-local-artifacts.result == 'success') }}
231
+ if: ${{ always() && needs.plan.result == 'success' && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.custom-sign-archives.result == 'skipped' || needs.custom-sign-archives.result == 'success') && (needs.build-local-artifacts.result == 'skipped' || needs.build-local-artifacts.result == 'success') }}
222
232
  env:
223
233
  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
224
234
  runs-on: "ubuntu-latest"
225
235
  outputs:
226
236
  val: ${{ steps.host.outputs.manifest }}
237
+ permissions:
238
+ "attestations": "write"
239
+ "contents": "write"
240
+ "id-token": "write"
227
241
  steps:
228
- - uses: actions/checkout@v7
242
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
229
243
  with:
230
244
  persist-credentials: false
231
245
  submodules: recursive
232
246
  - name: Install cached dist
233
- uses: actions/download-artifact@v8
247
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
234
248
  with:
235
249
  name: cargo-dist-cache
236
250
  path: ~/.cargo/bin/
237
251
  - run: chmod +x ~/.cargo/bin/dist
238
252
  # Fetch artifacts from scratch-storage
239
253
  - name: Fetch artifacts
240
- uses: actions/download-artifact@v8
254
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
241
255
  with:
242
256
  pattern: artifacts-*
243
257
  path: target/distrib/
@@ -250,14 +264,14 @@ jobs:
250
264
  cat dist-manifest.json
251
265
  echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
252
266
  - name: "Upload dist-manifest.json"
253
- uses: actions/upload-artifact@v7
267
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
254
268
  with:
255
269
  # Overwrite the previous copy
256
270
  name: artifacts-dist-manifest
257
271
  path: dist-manifest.json
258
272
  # Create a GitHub Release while uploading all files to it
259
273
  - name: "Download GitHub Artifacts"
260
- uses: actions/download-artifact@v8
274
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
261
275
  with:
262
276
  pattern: artifacts-*
263
277
  path: artifacts
@@ -266,6 +280,11 @@ jobs:
266
280
  run: |
267
281
  # Remove the granular manifests
268
282
  rm -f artifacts/*-dist-manifest.json
283
+ - name: Attest
284
+ uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6
285
+ with:
286
+ subject-path: |
287
+ artifacts/*
269
288
  - name: Create GitHub Release
270
289
  env:
271
290
  PRERELEASE_FLAG: "${{ fromJson(steps.host.outputs.manifest).announcement_is_prerelease && '--prerelease' || '' }}"
@@ -290,14 +309,14 @@ jobs:
290
309
  GITHUB_EMAIL: "admin+bot@axo.dev"
291
310
  if: ${{ !fromJson(needs.plan.outputs.val).announcement_is_prerelease || fromJson(needs.plan.outputs.val).publish_prereleases }}
292
311
  steps:
293
- - uses: actions/checkout@v7
312
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
294
313
  with:
295
314
  persist-credentials: true
296
315
  repository: "mennanov/homebrew-blockwatch"
297
316
  token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
298
317
  # So we have access to the formula
299
318
  - name: Fetch homebrew formulae
300
- uses: actions/download-artifact@v8
319
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333
301
320
  with:
302
321
  pattern: artifacts-*
303
322
  path: Formula/
@@ -337,7 +356,7 @@ jobs:
337
356
  env:
338
357
  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
339
358
  steps:
340
- - uses: actions/checkout@v7
359
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
341
360
  with:
342
361
  persist-credentials: false
343
362
  submodules: recursive
@@ -20,15 +20,19 @@ jobs:
20
20
  runs-on: ubuntu-latest
21
21
 
22
22
  steps:
23
- - uses: actions/checkout@v7
24
- - uses: dtolnay/rust-toolchain@stable
23
+ - uses: actions/checkout@v7.0.1
24
+ with:
25
+ persist-credentials: false
26
+ - uses: dtolnay/rust-toolchain@v1
25
27
  with:
26
28
  toolchain: stable
27
29
  components: llvm-tools-preview, clippy, rustfmt
28
30
  - name: Cache cargo
29
- uses: Swatinem/rust-cache@v2
31
+ uses: Swatinem/rust-cache@v2.9.3
30
32
  - name: Install cargo-llvm-cov
31
- uses: taiki-e/install-action@cargo-llvm-cov
33
+ uses: taiki-e/install-action@v2.90.3
34
+ with:
35
+ tool: cargo-llvm-cov
32
36
  - name: Check formatting
33
37
  run: cargo fmt --check
34
38
  - name: Run Clippy lint
@@ -44,7 +48,7 @@ jobs:
44
48
  - name: Run tests
45
49
  run: cargo llvm-cov --lcov --output-path coverage.lcov
46
50
  - name: Upload coverage report to Codecov
47
- uses: codecov/codecov-action@v7
51
+ uses: codecov/codecov-action@v7.1.1
48
52
  with:
49
53
  files: coverage.lcov
50
54
  token: ${{ secrets.CODECOV_TOKEN }}
@@ -0,0 +1,78 @@
1
+ # Signs each release archive with minisign, so `cargo binstall` can check a download against the public key in
2
+ # Cargo.toml. release.yml calls it after the builds and uploads the signatures with the archives.
3
+ #
4
+ # This job only signs. It never builds or runs code from the repository, so the secret key stays away from the
5
+ # dependencies' build scripts.
6
+ name: Sign archives
7
+
8
+ on:
9
+ workflow_call:
10
+ inputs:
11
+ # dist passes its plan to every custom job. This one doesn't need it.
12
+ plan:
13
+ required: true
14
+ type: string
15
+
16
+ permissions:
17
+ contents: read
18
+
19
+ jobs:
20
+ sign:
21
+ runs-on: ubuntu-latest
22
+ # The secret key lives in this environment, which only a version tag can use. A workflow on a branch can't read it.
23
+ environment: release
24
+ steps:
25
+ # Only for the public key in Cargo.toml.
26
+ - uses: actions/checkout@v7.0.1
27
+ with:
28
+ persist-credentials: false
29
+ - name: Fetch the archives
30
+ uses: actions/download-artifact@v8.0.2
31
+ with:
32
+ pattern: artifacts-build-local-*
33
+ path: archives
34
+ merge-multiple: true
35
+ - name: Install minisign
36
+ run: sudo apt-get update && sudo apt-get install --yes minisign
37
+ - name: Sign and verify
38
+ env:
39
+ MINISIGN_SECRET_KEY: ${{ secrets.MINISIGN_SECRET_KEY }}
40
+ run: |
41
+ set -euo pipefail
42
+ if [ -z "$MINISIGN_SECRET_KEY" ]; then
43
+ echo "error: the MINISIGN_SECRET_KEY secret of the 'release' environment is empty" >&2
44
+ exit 1
45
+ fi
46
+ # The key is written outside the workspace, so no later step can upload it.
47
+ key="$RUNNER_TEMP/minisign.key"
48
+ printf '%s\n' "$MINISIGN_SECRET_KEY" > "$key"
49
+ trap 'rm -f "$key"' EXIT
50
+
51
+ pubkey=$(sed -n 's/^pubkey = "\(.*\)"$/\1/p' Cargo.toml)
52
+ if [ -z "$pubkey" ]; then
53
+ echo "error: Cargo.toml has no 'pubkey' under [package.metadata.binstall.signing]" >&2
54
+ exit 1
55
+ fi
56
+
57
+ shopt -s nullglob
58
+ archives=(archives/*.tar.xz archives/*.zip)
59
+ if [ "${#archives[@]}" -eq 0 ]; then
60
+ echo "error: the build jobs uploaded no .tar.xz or .zip archive to sign" >&2
61
+ exit 1
62
+ fi
63
+
64
+ mkdir signatures
65
+ for archive in "${archives[@]}"; do
66
+ signature="signatures/$(basename "$archive").sig"
67
+ # -W reads a key without a password. The step has no terminal to ask for one.
68
+ minisign -S -W -s "$key" -m "$archive" -x "$signature"
69
+ # A secret key that doesn't match Cargo.toml would sign archives that binstall then refuses. Checking
70
+ # here stops the release before it is published.
71
+ minisign -V -P "$pubkey" -m "$archive" -x "$signature"
72
+ done
73
+ # release.yml uploads every file of each `artifacts-*` artifact to the release.
74
+ - uses: actions/upload-artifact@v7.0.2
75
+ with:
76
+ name: artifacts-signatures
77
+ path: signatures/*.sig
78
+ if-no-files-found: error
@@ -0,0 +1,62 @@
1
+ name: site
2
+
3
+ # A pull request only builds the site. The build fails when a file in docs/ is missing from the sidebar, so the pull
4
+ # request that adds the file fails, not the deploy after the merge. A pull request from a fork gets no secrets, so it
5
+ # couldn't deploy anyway.
6
+ #
7
+ # The paths are everything the site reads: its own folder, the docs, README.md, and Cargo.toml for the version on the
8
+ # landing page. So a release commit deploys too.
9
+ on:
10
+ push:
11
+ branches: [ "main" ]
12
+ paths:
13
+ - "site/**"
14
+ - "docs/**"
15
+ - "README.md"
16
+ - "Cargo.toml"
17
+ - ".github/workflows/site.yml"
18
+ pull_request:
19
+ branches: [ "main" ]
20
+ paths:
21
+ - "site/**"
22
+ - "docs/**"
23
+ - "README.md"
24
+ - "Cargo.toml"
25
+ - ".github/workflows/site.yml"
26
+ workflow_dispatch:
27
+
28
+ permissions:
29
+ contents: read
30
+
31
+ # Two pushes in a row deploy one after the other. Cancelling a deploy halfway could leave the older build live.
32
+ concurrency:
33
+ group: site-${{ github.ref }}
34
+ cancel-in-progress: false
35
+
36
+ jobs:
37
+ site:
38
+ runs-on: ubuntu-latest
39
+ defaults:
40
+ run:
41
+ working-directory: site
42
+ steps:
43
+ - uses: actions/checkout@v7.0.1
44
+ with:
45
+ persist-credentials: false
46
+ - uses: actions/setup-node@v7.1.0
47
+ with:
48
+ # Astro needs Node 22.23.4 or newer.
49
+ node-version: 24
50
+ # A cache restored in a job that deploys could carry poisoned files into the site.
51
+ package-manager-cache: false
52
+ - run: npm ci
53
+ - run: npm run build
54
+ - name: Deploy to Cloudflare Pages
55
+ if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
56
+ uses: cloudflare/wrangler-action@v4.1.3
57
+ with:
58
+ apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
59
+ accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
60
+ workingDirectory: site
61
+ # Cloudflare treats a deploy as production only when its branch is the project's production branch.
62
+ command: pages deploy dist --project-name=blockwatch-cli --branch=main
@@ -20,7 +20,7 @@ jobs:
20
20
  blockwatch:
21
21
  runs-on: ubuntu-latest
22
22
  steps:
23
- - uses: mennanov/blockwatch-action@v1
23
+ - uses: mennanov/blockwatch-action@v1.1.39
24
24
  env:
25
25
  BLOCKWATCH_LUA_MODE: safe
26
26
  with: