aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2023-03-04 14:36:55 +0100
committerMichael Muré <batolettre@gmail.com>2023-03-04 14:36:55 +0100
commita9697c7a4761693b05da21cdad364304cb020e0c (patch)
tree8a56d5666bd62851dfc6ddce0411d698127d915e
parent4477152319883cdebd5fbd8887ca092d9eaeea57 (diff)
downloadgit-bug-a9697c7a4761693b05da21cdad364304cb020e0c.tar.gz
CI: ignore spelling mistake in repo to be imported from github
-rw-r--r--.github/workflows/codespell.yml3
-rw-r--r--bridge/github/import_test.go2
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml
index 5768d7c6..2abb1a14 100644
--- a/.github/workflows/codespell.yml
+++ b/.github/workflows/codespell.yml
@@ -17,3 +17,6 @@ jobs:
uses: actions/checkout@v3
- name: Codespell
uses: codespell-project/actions-codespell@v1
+ with:
+ # github import test: the repo to be imported has that typo, and it's not easy to change
+ ignore_words_list: transfered
diff --git a/bridge/github/import_test.go b/bridge/github/import_test.go
index 52a3f852..b0ff2f99 100644
--- a/bridge/github/import_test.go
+++ b/bridge/github/import_test.go
@@ -127,7 +127,7 @@ func TestGithubImporter(t *testing.T) {
url: "https://github.com/MichaelMure/git-bug-test-github-bridge/issues/8",
bug: &bug.Snapshot{
Operations: []dag.Operation{
- bug.NewCreateOp(author, 0, "transferred issue", "", nil),
+ bug.NewCreateOp(author, 0, "transfered issue", "", nil),
},
},
},