Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust docs and GitHub action for v0.7.2 release #138

Merged
merged 1 commit into from
Apr 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.1
mszostok/codeowners-validator:v0.7.2
```

#### Command line
Expand All @@ -46,7 +46,7 @@ env REPOSITORY_PATH="." \
#### GitHub Action

```yaml
- uses: mszostok/codeowners-validator@v0.7.1
- uses: mszostok/codeowners-validator@v0.7.2
with:
checks: "files,owners,duppatterns"
experimental_checks: "notowned"
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.1
curl -sfL https://raw.githubusercontent.com/mszostok/codeowners-validator/main/install.sh | sh -s v0.7.2

# 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.1
curl -sfL https://raw.githubusercontent.com/mszostok/codeowners-validator/main/install.sh | sh -s -- -b $(go env GOPATH)/bin v0.7.2

# 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.1
wget -O - -q https://raw.githubusercontent.com/mszostok/codeowners-validator/main/install.sh | sh -s v0.7.2

# 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/codeowners-validator@v0.7.1`.
You can install `codeowners-validator` with `go install github.com/mszostok/codeowners-validator@v0.7.2`.

> 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 @@ -59,7 +59,7 @@ inputs:

runs:
using: 'docker'
image: 'docker://ghcr.io/mszostok/codeowners-validator:v0.7.1'
image: 'docker://ghcr.io/mszostok/codeowners-validator:v0.7.2'
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/codeowners-validator@v0.7.1
uses: mszostok/codeowners-validator@v0.7.2
# 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