From 808e364469e04ed7819456f6e2e1f908dcc6895c Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sun, 24 May 2020 14:41:45 +0100 Subject: [PATCH 1/4] First go at adding codespell checking via an action --- .github/workflows/testing.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/testing.yml diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml new file mode 100644 index 00000000..a2aae4db --- /dev/null +++ b/.github/workflows/testing.yml @@ -0,0 +1,11 @@ +name: Testing + +on: [push, pull_request] + +jobs: + run_action: + name: Test run action + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: peternewman/actions-codespell@master From 21e331f635f767e00c3f1ce69d3a84909404b4f2 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sun, 24 May 2020 14:45:48 +0100 Subject: [PATCH 2/4] Add an exclude file --- .github/workflows/testing.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index a2aae4db..a93377cf 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -9,3 +9,5 @@ jobs: steps: - uses: actions/checkout@v1 - uses: peternewman/actions-codespell@master + with: + exclude_file: .codespellignore From 722f094ffbb8733491d3939ff906cc3e583a3ece Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sun, 24 May 2020 14:47:26 +0100 Subject: [PATCH 3/4] Switch to the master version of the action --- .github/workflows/testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index a93377cf..54aad3bc 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -8,6 +8,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - uses: peternewman/actions-codespell@master + - uses: codespell-project/actions-codespell@master with: exclude_file: .codespellignore From ffb034ac499943dde6eba63f68f0456aaf841601 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sun, 24 May 2020 14:56:29 +0100 Subject: [PATCH 4/4] Add more options --- .github/workflows/testing.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 54aad3bc..6fa39045 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -10,4 +10,6 @@ jobs: - uses: actions/checkout@v1 - uses: codespell-project/actions-codespell@master with: + check_filenames: 1 + check_hidden: 1 exclude_file: .codespellignore