Skip to content

Commit

Permalink
Merge pull request #451 from vmware-tanzu/inclusive-naming
Browse files Browse the repository at this point in the history
Introduce inclusive naming check and update existing language
  • Loading branch information
joaopapereira authored Nov 21, 2022
2 parents 1a4690b + 329150b commit 52606f8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/inclusive-language-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Check inclusive language

on:
pull_request:
types: ['opened', 'reopened']

jobs:
check-inclusive-language:
uses: vmware-tanzu/carvel-release-scripts/.github/workflows/inclusive-language-check.yml@main
2 changes: 2 additions & 0 deletions .wokeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# out of our control
vendor/
2 changes: 1 addition & 1 deletion test/helpers/fake_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ func (r *FakeTestRegistryBuilder) WithBundleFromPath(bundleName string, path str
digest.String(), r.ReferenceOnTestServer(bundleName + "@" + digest.String()), tag}
}

// WithRandomBundle Dummy function
// WithRandomBundle sample function
// This function creates a bundle image, but WithImageRefs or WithEveryImageFromPath needs to be called
// on the return value of this function to ensure that a bundle is correctly created on the registry
func (r *FakeTestRegistryBuilder) WithRandomBundle(bundleName string) BundleInfo {
Expand Down

0 comments on commit 52606f8

Please sign in to comment.