From ed8dc2eb1e84cbd310f7de645ce0b965b7fa574d Mon Sep 17 00:00:00 2001 From: Steven Johnson Date: Fri, 30 Aug 2024 13:07:56 +0700 Subject: [PATCH 1/2] chore(general): Adjust the suggested .vscode configs to remove obsolete extension and define the commit scopes --- .vscode/extensions.json | 2 +- .vscode/settings.recommended.json | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 9fff891803..fdc5b1d78d 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -14,7 +14,6 @@ "tamasfe.even-better-toml", "rust-lang.rust-analyzer", "JScearcy.rust-doc-viewer", - "serayuzgur.crates", "bierner.markdown-checkbox", "bierner.markdown-emoji", "bierner.markdown-footnotes", @@ -24,5 +23,6 @@ "foxundermoon.shell-format", "dtsvet.vscode-wasm", "terrastruct.d2", + "fill-labs.dependi", ] } \ No newline at end of file diff --git a/.vscode/settings.recommended.json b/.vscode/settings.recommended.json index 4d43d44360..d02c96c806 100644 --- a/.vscode/settings.recommended.json +++ b/.vscode/settings.recommended.json @@ -30,13 +30,14 @@ }, "window.title": "${dirty}${activeEditorShort}", "conventionalCommits.scopes": [ - "vscode", - "mdlint", - "languages", - "spelling", - "issues", - "gateway", - "docs" + "rust", + "rust/c509-certificate", + "rust/cardano-chain-follower", + "rust/cbork", + "rust/hermes-ipfs", + "dart", + "docs", + "general" ], "conventionalCommits.gitmoji": false, "markdown.extension.toc.unorderedList.marker": "*", From 3521d59bf272dce1e73490132c6e9bad3b70ee88 Mon Sep 17 00:00:00 2001 From: Steven Johnson Date: Fri, 30 Aug 2024 13:17:14 +0700 Subject: [PATCH 2/2] ci(general): Try and force scopes in pull requests to match the defined scopes --- .github/workflows/semantic_pull_request.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/semantic_pull_request.yml b/.github/workflows/semantic_pull_request.yml index 6c0fedb69e..af68a443e2 100644 --- a/.github/workflows/semantic_pull_request.yml +++ b/.github/workflows/semantic_pull_request.yml @@ -12,3 +12,13 @@ jobs: build: name: Validate PR title uses: input-output-hk/catalyst-ci/.github/workflows/semantic_pull_request.yml@master + with: + scopes: | + rust + rust/c509-certificate + rust/cardano-chain-follower + rust/cbork + rust/hermes-ipfs + dart + docs + general