From 3e7d44e767a6da05d4a3bbd654513d91bb039e0f Mon Sep 17 00:00:00 2001 From: Chisel Date: Wed, 30 Aug 2023 15:34:35 +0100 Subject: [PATCH 1/4] style: update the changeset template Removing whitespace that may be the root of our problems in pre-commit land --- .github/dependabot-changeset.template.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/dependabot-changeset.template.md b/.github/dependabot-changeset.template.md index f64ee792..2d19bc0a 100644 --- a/.github/dependabot-changeset.template.md +++ b/.github/dependabot-changeset.template.md @@ -3,5 +3,4 @@ --- - -{{ .prTitle }} +{{- .prTitle -}} From c95758d0bf32d427bb6271bae5210a8a3aae92df Mon Sep 17 00:00:00 2001 From: Chisel Date: Wed, 30 Aug 2023 15:35:41 +0100 Subject: [PATCH 2/4] docs(changeset): style: update the changeset template --- .changeset/hungry-glasses-trade.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/hungry-glasses-trade.md diff --git a/.changeset/hungry-glasses-trade.md b/.changeset/hungry-glasses-trade.md new file mode 100644 index 00000000..5b884130 --- /dev/null +++ b/.changeset/hungry-glasses-trade.md @@ -0,0 +1,5 @@ +--- +'arcane-scripts': patch +--- + +style: update the changeset template From c94d100347a11cb0ec1a4cc0e5eb7d51689cb63f Mon Sep 17 00:00:00 2001 From: Chisel Date: Wed, 30 Aug 2023 15:39:12 +0100 Subject: [PATCH 3/4] chore: allow 'style' label, and add it to labeler config --- .github/labeler.yml | 6 ++++++ .github/labels.json | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index a7ba1ca2..51fa675e 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -39,6 +39,11 @@ labels: title: '^chore\(deps-dev\): .*' commits: '^chore\(deps-dev\): .*' + - label: style + matcher: + title: '^style: .*' + commits: '^style: .*' + checks: - context: Semantic Pull Request description: @@ -53,6 +58,7 @@ checks: - docs - feat - fix + - style - context: Merge check description: Disable merging when 'DO NOT MERGE' label is set diff --git a/.github/labels.json b/.github/labels.json index 34d6bc9e..51d71c6d 100644 --- a/.github/labels.json +++ b/.github/labels.json @@ -68,5 +68,10 @@ "color": "000000", "description": "Pull requests that update Python code", "name": "python" + }, + { + "color": "f9d0c4", + "description": "One or more commits introduces changes to formatting, missing semi colons, etc; no code change", + "name": "style" } ] From 4327880653ebde46868078eaf9930b88e0235bd9 Mon Sep 17 00:00:00 2001 From: Chisel Date: Wed, 30 Aug 2023 15:39:37 +0100 Subject: [PATCH 4/4] docs(changeset): chore: allow 'style' label, and add it to labeler config --- .changeset/breezy-bobcats-live.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/breezy-bobcats-live.md diff --git a/.changeset/breezy-bobcats-live.md b/.changeset/breezy-bobcats-live.md new file mode 100644 index 00000000..f7e5a346 --- /dev/null +++ b/.changeset/breezy-bobcats-live.md @@ -0,0 +1,5 @@ +--- +'arcane-scripts': patch +--- + +chore: allow 'style' label, and add it to labeler config