forked from rook/rook
Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v7...v7.0.1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
61 lines
2.4 KiB
YAML
61 lines
2.4 KiB
YAML
name: Codespell
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
branches:
|
|
- master
|
|
- release-*
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- release-*
|
|
|
|
# cancel the in-progress workflow when PR is refreshed.
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
codespell:
|
|
name: codespell
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
fetch-depth: 0
|
|
- name: codespell
|
|
uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # master
|
|
with:
|
|
# LICENSE: skip file because codespell wants to flag complies, which we may want to flag
|
|
# in other places, so ignore the file itself assuming it is correct
|
|
# crds.yaml, resources.yaml: CRD files are fully generated from content we control (should
|
|
# be flagged elsewhere) and content we don't control (can't fix easily), so ignore
|
|
# *Dashboard.jjson: Grafana dashboards that are generated via exporting them from Grafana.
|
|
skip: .git,*.png,*.jpg,*.svg,*.sum,./LICENSE,./deploy/examples/crds.yaml,./deploy/charts/rook-ceph/templates/resources.yaml,./deploy/examples/csi-operator.yaml,*Dashboard.json
|
|
# aks: Amazon Kubernetes Service
|
|
# keyserver: flag to apt-key
|
|
# atleast: codespell wants to flag any 'AtLeast' method
|
|
# ser, ist: MIME types in pkg/operator/ceph/object/mime.go
|
|
# ba: daemon ID test in pkg/operator/k8sutil/name_test.go
|
|
# iam: Identity and Access Management, e.g., AWS IAM
|
|
# te: udev persistent naming test in pkg/daemon/ceph/osd/daemon_test.go
|
|
# parm: modinfo parameter
|
|
# assigment: inherited from K8s TopologySpreadConstraints dependency
|
|
# ro, RO: means read-only
|
|
ignore_words_list: aks,keyserver,atleast,ser,ist,ba,iam,te,parm,assigment,ro,RO,addin,NotIn,Parth,UpToDate
|
|
check_filenames: true
|
|
check_hidden: true
|
|
misspell:
|
|
name: misspell
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
fetch-depth: 0
|
|
- name: misspell
|
|
uses: reviewdog/action-misspell@d6429416b12b09b4e2768307d53bef58d172e962 # v1.27.0
|