Skip to content

Commit ebba2e3

Browse files
authored
feat: adds codespell action to ensure correct spelling (#259)
* feat: adds codespell action to ensure correct spelling Signed-off-by: ChrisJBurns <[email protected]> * bumps chart version Signed-off-by: ChrisJBurns <[email protected]> * merge conflicts Signed-off-by: ChrisJBurns <[email protected]> * adds codespell action Signed-off-by: ChrisJBurns <[email protected]> * bumps chart Signed-off-by: ChrisJBurns <[email protected]> --------- Signed-off-by: ChrisJBurns <[email protected]> Signed-off-by: Chris Burns <[email protected]>
1 parent 63ec4eb commit ebba2e3

File tree

8 files changed

+31
-6
lines changed

8 files changed

+31
-6
lines changed

.codespellrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[codespell]
2+
ignore-words-list = NotIn,notin

.github/workflows/spellcheck.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Codespell
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
codespell:
8+
name: Codespell
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Code
12+
uses: actions/checkout@v4
13+
- name: Codespell
14+
uses: codespell-project/actions-codespell@v2
15+
with:
16+
skip: .git
17+
check_filenames: true
18+
check_hidden: true

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ repos:
1818
additional_dependencies: [jsonref]
1919
language: python
2020
types_or: [yaml, json]
21+
22+
- repo: https://github.com/codespell-project/codespell
23+
rev: v2.4.1
24+
hooks:
25+
- id: codespell

charts/backstage/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ sources:
3838
# This is the chart version. This version number should be incremented each time you make changes
3939
# to the chart and its templates, including the app version.
4040
# Versions are expected to follow Semantic Versioning (https://semver.org/)
41-
version: 2.5.0
41+
version: 2.5.1

charts/backstage/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Backstage Helm Chart
33

44
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/backstage)](https://artifacthub.io/packages/search?repo=backstage)
5-
![Version: 2.5.0](https://img.shields.io/badge/Version-2.5.0-informational?style=flat-square)
5+
![Version: 2.5.1](https://img.shields.io/badge/Version-2.5.1-informational?style=flat-square)
66
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
77

88
A Helm chart for deploying a Backstage application
@@ -181,7 +181,7 @@ Kubernetes: `>= 1.19.0-0`
181181
| metrics.serviceMonitor.interval | ServiceMonitor scrape interval | string | `nil` |
182182
| metrics.serviceMonitor.labels | Additional ServiceMonitor labels | object | `{}` |
183183
| metrics.serviceMonitor.path | ServiceMonitor endpoint path <br /> Note that the /metrics endpoint is NOT present in a freshly scaffolded Backstage app. To setup, follow the [Prometheus metrics tutorial](https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md). | string | `"/metrics"` |
184-
| metrics.serviceMonitor.port | ServiceMonitor endpoint port <br /> The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitely specificed. OpenTelemetry's default port is 9464. | string | `"http-backend"` |
184+
| metrics.serviceMonitor.port | ServiceMonitor endpoint port <br /> The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitly specified. OpenTelemetry's default port is 9464. | string | `"http-backend"` |
185185
| nameOverride | String to partially override common.names.fullname | string | `""` |
186186
| networkPolicy.egressRules.customRules | Additional custom egress rules | list | `[]` |
187187
| networkPolicy.egressRules.denyConnectionsToExternal | Deny external connections. Should not be enabled when working with an external database. | bool | `false` |

charts/backstage/values.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6473,7 +6473,7 @@
64736473
}
64746474
],
64756475
"default": "http-backend",
6476-
"description": "The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitely specificed. OpenTelemetry's default port is 9464.",
6476+
"description": "The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitly specified. OpenTelemetry's default port is 9464.",
64776477
"title": "ServiceMonitor endpoint port"
64786478
}
64796479
},

charts/backstage/values.schema.tmpl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@
935935
},
936936
"port": {
937937
"default": "http-backend",
938-
"description": "The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitely specificed. OpenTelemetry's default port is 9464.",
938+
"description": "The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitly specified. OpenTelemetry's default port is 9464.",
939939
"title": "ServiceMonitor endpoint port",
940940
"anyOf": [
941941
{

charts/backstage/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,5 +486,5 @@ metrics:
486486
path: /metrics
487487

488488
# -- ServiceMonitor endpoint port
489-
# <br /> The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitely specificed. OpenTelemetry's default port is 9464.
489+
# <br /> The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitly specified. OpenTelemetry's default port is 9464.
490490
port: http-backend

0 commit comments

Comments
 (0)