Skip to content

Commit

Permalink
Adjust docs and GitHub action for v0.7.4 release (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
mszostok authored Apr 16, 2022
1 parent cfa4033 commit 7f3f5e2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ inputs:

runs:
using: 'docker'
image: 'docker://ghcr.io/mszostok/codeowners-validator:v0.7.3'
image: 'docker://ghcr.io/mszostok/codeowners-validator:v0.7.4'
env:
ENVS_PREFIX: "INPUT"

Expand Down
2 changes: 1 addition & 1 deletion docs/gh-action.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7f3f5e2

Please sign in to comment.