Skip to content

Add codespell support (config, workflow to detect/not fix) and make it fix some typos #3584

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[codespell]
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
skip = .git*,*.svg,go.sum,.codespellrc
check-hidden = true
ignore-regex = \bBui\b|"bu"
ignore-words-list = aks,ans,notin,oldes
25 changes: 25 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Codespell configuration is within .codespellrc
---
name: Codespell

on:
push:
branches: [master]
pull_request:
branches: [master]

permissions:
contents: read

jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Annotate locations with typos
uses: codespell-project/codespell-problem-matcher@v1
- name: Codespell
uses: codespell-project/actions-codespell@v2
18 changes: 9 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
* [13028fcd](https://github.com/argoproj/argo-events/commit/13028fcd51914a470f2d7e560a7403154b0f1b9a) fix(ci): fix bunch of ci issues (#3292)
* [20fd81fb](https://github.com/argoproj/argo-events/commit/20fd81fba02db85c848f52117eef0e6892ff4040) fix:eventsource crash on cast #3238 (#3282)
* [789c91ea](https://github.com/argoproj/argo-events/commit/789c91ea48be591130f80afc5c0d906aafc70da3) chore(deps): bump github.com/aws/aws-sdk-go from v1.44.209 => v1.47.11 (#3261)
* [af54701c](https://github.com/argoproj/argo-events/commit/af54701c7a3ab88dca6b007f323c01d107467e96) Fix tuto exemple 02-parameterization/sensor-05.yaml (#3218)
* [af54701c](https://github.com/argoproj/argo-events/commit/af54701c7a3ab88dca6b007f323c01d107467e96) Fix tuto example 02-parameterization/sensor-05.yaml (#3218)
* [8fb91d65](https://github.com/argoproj/argo-events/commit/8fb91d657c954560ac9c7b4cdc7ccde494c7731d) chore(deps): bump github.com/slack-go/slack from 0.13.0 to 0.13.1 (#3213)
* [213a29ef](https://github.com/argoproj/argo-events/commit/213a29ef86d16f4fe6187933bc64a1f7f263f0f2) chore(deps): bump github.com/xanzy/go-gitlab from 0.106.0 to 0.107.0 (#3212)
* [69f705a4](https://github.com/argoproj/argo-events/commit/69f705a4b07b7cbc1ac92ed83cfc77f64dd64204) chore(deps): bump github.com/minio/minio-go/v7 from 7.0.73 to 7.0.74 (#3211)
Expand Down Expand Up @@ -451,7 +451,7 @@
* [f7fe87f5](https://github.com/argoproj/argo-events/commit/f7fe87f5a57660c8e5ea6bc6d6df49e60f5afd70) chore(deps): bump google.golang.org/api from 0.139.0 to 0.141.0 (#2801)
* [4785345a](https://github.com/argoproj/argo-events/commit/4785345a534a7081f6d62766078c7ed2c298feb6) chore(deps): bump github.com/antonmedv/expr from 1.15.1 to 1.15.2 (#2803)
* [7dc0ccf4](https://github.com/argoproj/argo-events/commit/7dc0ccf4e05fff65f11a1dfb7bd18474367614c1) chore(deps): bump docker/setup-buildx-action from 2 to 3 (#2799)
* [f5ce1ef6](https://github.com/argoproj/argo-events/commit/f5ce1ef689d17e2328247146a20d37b09a9200cb) fix: Eventsource resourse label selector operators not working (#2795)
* [f5ce1ef6](https://github.com/argoproj/argo-events/commit/f5ce1ef689d17e2328247146a20d37b09a9200cb) fix: Eventsource resource label selector operators not working (#2795)
* [f335fc24](https://github.com/argoproj/argo-events/commit/f335fc24e8a3ab2c37a34eb01b4b181ad71501fe) chore(deps): bump google.golang.org/api from 0.136.0 to 0.139.0 (#2791)
* [d647c844](https://github.com/argoproj/argo-events/commit/d647c8441d665fc5e8ed90d6e02922d7af8f3592) chore(deps): bump actions/checkout from 3 to 4 (#2792)
* [a5d9e9a5](https://github.com/argoproj/argo-events/commit/a5d9e9a5ec05339cd8b28e1980b13d309fbf93cc) chore(deps): bump github.com/xanzy/go-gitlab from 0.90.0 to 0.91.1 (#2788)
Expand Down Expand Up @@ -697,7 +697,7 @@
* [62be2408](https://github.com/argoproj/argo-events/commit/62be2408dc7b63fca533cc28107ad490efff650a) chore(deps): bump github.com/minio/minio-go/v7 from 7.0.45 to 7.0.46 (#2398)
* [d75aa6fc](https://github.com/argoproj/argo-events/commit/d75aa6fc4242b78c93c30737637d78a38f668c24) NATS event data - add header field (#2396)
* [9a0759d4](https://github.com/argoproj/argo-events/commit/9a0759d47f0dcf54dbc097b7e08c865846920470) fix: fix bug in evaluation of filters with filtersLogicalOperator=or (#2374)
* [1428cae9](https://github.com/argoproj/argo-events/commit/1428cae94225107eabf08b7297a50402c93e393c) Implement multiple partions usage in Kafka trigger (#2360)
* [1428cae9](https://github.com/argoproj/argo-events/commit/1428cae94225107eabf08b7297a50402c93e393c) Implement multiple partitions usage in Kafka trigger (#2360)
* [3cbcd720](https://github.com/argoproj/argo-events/commit/3cbcd7200d2bf7588dd1b562ac7a6fe5c9e882e9) chore(deps): bump github.com/aws/aws-sdk-go from 1.44.162 to 1.44.171 (#2387)
* [29da45b5](https://github.com/argoproj/argo-events/commit/29da45b595bc4b2a1b0210a188ad0aa1108a7e33) chore(deps): bump github.com/nats-io/nats.go from 1.21.0 to 1.22.1 (#2381)
* [6fa130ec](https://github.com/argoproj/argo-events/commit/6fa130ec31ee5c06a142f991549479b6796f9b49) chore(deps): bump github.com/slack-go/slack from 0.12.0 to 0.12.1 (#2379)
Expand Down Expand Up @@ -1047,7 +1047,7 @@
* [ae5abfc2](https://github.com/argoproj/argo-events/commit/ae5abfc27217773a9583c2cbdb53cc4f1765ea1d) chore(deps): bump github.com/minio/minio-go/v7 from 7.0.45 to 7.0.46 (#2398)
* [0da2dfe3](https://github.com/argoproj/argo-events/commit/0da2dfe3e811a9bfbc9118e65f745dd2abf1072a) NATS event data - add header field (#2396)
* [ff524af8](https://github.com/argoproj/argo-events/commit/ff524af8366acaec033998f5692e842ad516a95d) fix: fix bug in evaluation of filters with filtersLogicalOperator=or (#2374)
* [eeae3da9](https://github.com/argoproj/argo-events/commit/eeae3da976f5f735e698f66eb44d06ff9a728251) Implement multiple partions usage in Kafka trigger (#2360)
* [eeae3da9](https://github.com/argoproj/argo-events/commit/eeae3da976f5f735e698f66eb44d06ff9a728251) Implement multiple partitions usage in Kafka trigger (#2360)
* [a0ef3c24](https://github.com/argoproj/argo-events/commit/a0ef3c24eb960539a73c157dfdab65f6fcbc8f55) chore(deps): bump github.com/aws/aws-sdk-go from 1.44.162 to 1.44.171 (#2387)
* [c650f05b](https://github.com/argoproj/argo-events/commit/c650f05bdbf82abb54e9e1e5a8af6d26b2f1997f) chore(deps): bump github.com/nats-io/nats.go from 1.21.0 to 1.22.1 (#2381)
* [8565b135](https://github.com/argoproj/argo-events/commit/8565b135fd79220b8457cf13b013e98943c28ab3) chore(deps): bump github.com/slack-go/slack from 0.12.0 to 0.12.1 (#2379)
Expand Down Expand Up @@ -1585,7 +1585,7 @@
* [6e976052](https://github.com/argoproj/argo-events/commit/6e97605216d15948dedb628cae4f6db1e62c33e7) chore(deps): bump github.com/aws/aws-sdk-go from 1.35.24 to 1.42.50 (#1617)
* [ea5b5a5b](https://github.com/argoproj/argo-events/commit/ea5b5a5b12176b1adc0caccf40c1800f9beb7e3f) feat (kafa-es): Implements SCRAM functionality and enables SCRAM-SHA512/256 SASL
* [097e87d8](https://github.com/argoproj/argo-events/commit/097e87d8c7e6db7e1036f0159041230fe15bb834) chore(deps): bump actions/setup-go from 2.1.5 to 2.2.0 (#1609)
* [8bea0754](https://github.com/argoproj/argo-events/commit/8bea07540a4541fd51979efe351997fde5c57887) fix: Garabge collection of the ValidatingWebhookConfiguration (#1603)
* [8bea0754](https://github.com/argoproj/argo-events/commit/8bea07540a4541fd51979efe351997fde5c57887) fix: Garbage collection of the ValidatingWebhookConfiguration (#1603)
* [54fb550a](https://github.com/argoproj/argo-events/commit/54fb550a080c6ecba73a8bf3ea3b851de6e535b7) chore(deps): bump github.com/eclipse/paho.mqtt.golang (#1570)
* [968bddf7](https://github.com/argoproj/argo-events/commit/968bddf77ecba154bb9187a176eb6b35294c9500) chore(deps): bump github.com/go-swagger/go-swagger from 0.25.0 to 0.29.0 (#1555)
* [993fb2d1](https://github.com/argoproj/argo-events/commit/993fb2d12e2c69d709d4d33e850768e5ae6ef4a4) username, password authentication doesn't work when AMQPLAIN authentication mechanism is used; instead using PLAIN mechanism: apparently the former is non-standard according to https://www.rabbitmq.com/access-control.html (#1600)
Expand Down Expand Up @@ -1768,7 +1768,7 @@
* [55a992be](https://github.com/argoproj/argo-events/commit/55a992bed084c7921a87ae1ab434fe995df4f987) fix: correct field name in error message (#1317)
* [feeaf5d0](https://github.com/argoproj/argo-events/commit/feeaf5d0420f6949ccaf1904a8dcd58c65a176ac) feat: add eventsource support for Bitbucket Server. Fixes #891 (#1223)
* [bd737904](https://github.com/argoproj/argo-events/commit/bd7379042ce2172f9e29f5bb3af6c3f44da7e1d5) fix: Upgrade pkg to v0.10.1 (#1305)
* [c6725a9f](https://github.com/argoproj/argo-events/commit/c6725a9fa313ea29afc19687cb1d102244362cc8) feat(eventsource): gitlab to support mutiple projects (#1297)
* [c6725a9f](https://github.com/argoproj/argo-events/commit/c6725a9fa313ea29afc19687cb1d102244362cc8) feat(eventsource): gitlab to support multiple projects (#1297)
* [d19cb22c](https://github.com/argoproj/argo-events/commit/d19cb22c4b67dcd993c362b9c6310f29b035037a) fix(docs): add missing dataKey for examples (#1286)
* [181198ae](https://github.com/argoproj/argo-events/commit/181198aeb4c220bddbb64df1dc2a107a64c08976) docs(users): Add WooliesX (#1281)
* [fa60ca0c](https://github.com/argoproj/argo-events/commit/fa60ca0c854991b41924416054e51b1e3f86784c) fix trigger dependencies yaml (#1276)
Expand Down Expand Up @@ -2156,7 +2156,7 @@
* [6f26ae99](https://github.com/argoproj/argo-events/commit/6f26ae999bfd75e3582d9b558d72560f86e5664c) fix: azure eventsource (#789)
* [adee1b5b](https://github.com/argoproj/argo-events/commit/adee1b5b2c18c26a176352fd8cabdf451801a5d2) fix: Added/fixed tolerations for CRDs (#787)
* [527a45fa](https://github.com/argoproj/argo-events/commit/527a45fa661c4c6d8315a170225e724f26582d44) fix: switch slack lib and stop using deprecated APIs. Fixes #726 (#777)
* [c57bdb69](https://github.com/argoproj/argo-events/commit/c57bdb69926e9156c1af5f7c1f3fb340fac0c1fa) feat: Support re-using existing subscription ID for gcp pubsub (#778)
* [c57bdb69](https://github.com/argoproj/argo-events/commit/c57bdb69926e9156c1af5f7c1f3fb340fac0c1fa) feat: Support reusing existing subscription ID for gcp pubsub (#778)
* [1cf98ab4](https://github.com/argoproj/argo-events/commit/1cf98ab45ad1ae189da7a89fd453252f0e8e890b) feat: pulsar event source (#774)
* [21f4360f](https://github.com/argoproj/argo-events/commit/21f4360fcfbb97c00fae881f9bd1a9096bac8d6c) feat: Expose metadata for sensors and fix metadata for eventsources (#773)
* [c911103d](https://github.com/argoproj/argo-events/commit/c911103db12855147985cff33bb67d0c1c5f9a43) fix(manifests): Fixed namespace in kustomization files (#772)
Expand Down Expand Up @@ -2188,7 +2188,7 @@
* [2f027680](https://github.com/argoproj/argo-events/commit/2f027680621e8d7696a917764fd12519c757025e) feat: Merge Gateway and EventSource (#735)
* [071aedb7](https://github.com/argoproj/argo-events/commit/071aedb71cae0b197a70651384e45c76c476afa2) Updated the sensor base dockerimage to fix vulnerabilities (#731)
* [4e8cf29d](https://github.com/argoproj/argo-events/commit/4e8cf29dfe17cae6e9c8b7f119fe81c3abd4aa4a) feat: Sensor-controller and Sensor re-implementation (#723)
* [9a62f30a](https://github.com/argoproj/argo-events/commit/9a62f30a17f966ad44376eec96f6d02241f9fee2) use json log formatter if stdout isnt tty (#699)
* [9a62f30a](https://github.com/argoproj/argo-events/commit/9a62f30a17f966ad44376eec96f6d02241f9fee2) use json log formatter if stdout isn't tty (#699)
* [693e2109](https://github.com/argoproj/argo-events/commit/693e2109d33d152175cb38dc63198b9517a2032d) fix: Fix kafka gateway (#704)
* [500df0ac](https://github.com/argoproj/argo-events/commit/500df0ac9ffcaaf3e67dd9c5cf691e6be931c931) feat: Replace gatewayName with eventSourceName in Sensor dependencies (#687)
* [6aabc5a8](https://github.com/argoproj/argo-events/commit/6aabc5a8905b97a459be7d4a3d96f9f6bd2cdcf6) fix: Updated common.Status to inheritance (#708)
Expand Down Expand Up @@ -2643,7 +2643,7 @@
## v0.8 (2019-02-27)

* [d5c4871c](https://github.com/argoproj/argo-events/commit/d5c4871c896be955a3e7a70f781acc295be62461) Fix typo in resource-gateway doc (#173)
* [212979c1](https://github.com/argoproj/argo-events/commit/212979c16d20f39e597f5a62def8cfd060f34cb6) modify instalation link (#182)
* [212979c1](https://github.com/argoproj/argo-events/commit/212979c16d20f39e597f5a62def8cfd060f34cb6) modify installation link (#182)
* [506cc70a](https://github.com/argoproj/argo-events/commit/506cc70a3b0c851a37e357e3501d06251261aa33) Allow to overwrite variables in Makefile (#181)
* [72fc6f2f](https://github.com/argoproj/argo-events/commit/72fc6f2ffe71e0f8a7de0d5dedf4b836a79815f8) Slack gateway (#177)
* [e0242e7b](https://github.com/argoproj/argo-events/commit/e0242e7b00f7edc7e0cff314abd3a728ddf3c62b) Update README.md (#179)
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,7 @@ update-manifests-version:
.PHONY: checksums
checksums:
sha256sum ./dist/$(BINARY_NAME)-*.gz | awk -F './dist/' '{print $$1 $$2}' > ./dist/$(BINARY_NAME)-checksums.txt

.PHONY: codespell
codespell:
codespell
Loading
Loading