CI: ignore spelling mistake in repo to be imported from github

Michael Muré created

Change summary

.github/workflows/codespell.yml | 3 +++
bridge/github/import_test.go    | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)

Detailed changes

.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

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),
 				},
 			},
 		},