forked from rook/rook
The build version should be detected with the git describe command, but if the VERSION var is already set, it will be used instead of being detected from git. During the official builds or even local builds, we just want to let the makefile detect the git version. The full git history is added to enable proper detection of the version. Without the full history only a hash is returned for the version, which then results in an invalid semantic version error for the helm chart. Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
name: Codespell
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
branches:
|
|
- master
|
|
- release-*
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- release-*
|
|
|
|
jobs:
|
|
codespell:
|
|
name: codespell
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: codespell
|
|
uses: codespell-project/actions-codespell@master
|
|
with:
|
|
skip: .git,*.png,*.jpg,*.svg,*.sum
|
|
# 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
|
|
ignore_words_list: aks,keyserver,atleast,ser,ist,ba,iam,te,parm,assigment
|
|
check_filenames: true
|
|
check_hidden: true
|