-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust docs and GitHub action for v0.7.4 release (#154)
- Loading branch information
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ docker run --rm -v $(pwd):/repo -w /repo \ | |
-e GITHUB_ACCESS_TOKEN="$GH_TOKEN" \ | ||
-e EXPERIMENTAL_CHECKS="notowned" \ | ||
-e OWNER_CHECKER_REPOSITORY="org-name/rep-name" \ | ||
mszostok/codeowners-validator:v0.7.3 | ||
mszostok/codeowners-validator:v0.7.4 | ||
``` | ||
|
||
#### Command line | ||
|
@@ -46,7 +46,7 @@ env REPOSITORY_PATH="." \ | |
#### GitHub Action | ||
|
||
```yaml | ||
- uses: mszostok/[email protected].3 | ||
- uses: mszostok/[email protected].4 | ||
with: | ||
checks: "files,owners,duppatterns,syntax" | ||
experimental_checks: "notowned,avoid-shadowing" | ||
|
@@ -70,13 +70,13 @@ Here is the recommended way to install `codeowners-validator`: | |
|
||
```bash | ||
# binary installed into ./bin/ | ||
curl -sfL https://raw.githubusercontent.com/mszostok/codeowners-validator/main/install.sh | sh -s v0.7.3 | ||
curl -sfL https://raw.githubusercontent.com/mszostok/codeowners-validator/main/install.sh | sh -s v0.7.4 | ||
# binary installed into $(go env GOPATH)/bin/codeowners-validator | ||
curl -sfL https://raw.githubusercontent.com/mszostok/codeowners-validator/main/install.sh | sh -s -- -b $(go env GOPATH)/bin v0.7.3 | ||
curl -sfL https://raw.githubusercontent.com/mszostok/codeowners-validator/main/install.sh | sh -s -- -b $(go env GOPATH)/bin v0.7.4 | ||
# In alpine linux (as it does not come with curl by default) | ||
wget -O - -q https://raw.githubusercontent.com/mszostok/codeowners-validator/main/install.sh | sh -s v0.7.3 | ||
wget -O - -q https://raw.githubusercontent.com/mszostok/codeowners-validator/main/install.sh | sh -s v0.7.4 | ||
# Print version. Add `--short` to print just the version number. | ||
codeowners-validator -v | ||
|
@@ -86,7 +86,7 @@ You can also download [latest version](https://github.com/mszostok/codeowners-va | |
|
||
#### From Sources | ||
|
||
You can install `codeowners-validator` with `go install github.com/mszostok/[email protected].3`. | ||
You can install `codeowners-validator` with `go install github.com/mszostok/[email protected].4`. | ||
|
||
> NOTE: please use Go 1.16 or greater. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
# Checks-out your repository, which is validated in the next step | ||
- uses: actions/checkout@v2 | ||
- name: GitHub CODEOWNERS Validator | ||
uses: mszostok/[email protected].3 | ||
uses: mszostok/[email protected].4 | ||
# input parameters | ||
with: | ||
# "The list of checks that will be executed. By default, all checks are executed. Possible values: files,owners,duppatterns,syntax" | ||
|