diff --git a/.github/workflows/spell-checker.yml b/.github/workflows/spell-checker.yml index 8390041b..7e42aded 100644 --- a/.github/workflows/spell-checker.yml +++ b/.github/workflows/spell-checker.yml @@ -2,8 +2,25 @@ name: Check Spelling # Only allow manual run of this workflow from the Actions tab on: + pull_request: + # Run for all PRs to develop - means PR cannot merge until unit tests pass + branches: + - develop + - main + # Skip non-code changes + paths-ignore: + - '.github/**' + - 'integrations/**' + - 'swirl-infra/**' + - 'db.sqlite3.dist' workflow_dispatch: +permissions: + contents: read + actions: read + checks: write + pull-requests: write + jobs: build: runs-on: ubuntu-latest diff --git a/swirl/connectors/verify_ssl_common.py b/swirl/connectors/verify_ssl_common.py index 23942457..5e6c2c54 100644 --- a/swirl/connectors/verify_ssl_common.py +++ b/swirl/connectors/verify_ssl_common.py @@ -34,7 +34,7 @@ def get_creds(self, def_verify_certs=False): for cre in cred_list: if cre.startswith('bearer='): - # handle this speacial becauase tokens have '=' sign in them + # handle this special becauase tokens have '=' sign in them bearer = cre[len('bearer='):] if not bearer: self.log_invalid_credentials()