Skip to content

Commit

Permalink
Apply fixes after branch rename (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
mszostok committed Aug 31, 2021
1 parent 1b1093a commit 2044fb5
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 16 deletions.
4 changes: 1 addition & 3 deletions .github/pull-request-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

Changes proposed in this pull request:

- ...
- ...
- ...
-

**Related issue(s)**

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: "CodeQL"

on:
push:
branches: [ master ]
branches: [ $default-branch ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [ $default-branch ]
schedule:
- cron: '15 15 * * 2'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Pull request

on:
pull_request:
branches: [ master ]
branches: [ $default-branch ]

env:
GO111MODULE: on
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ To start contributing, follow these steps:
git fetch --all
```

5. Set the master branch to point to upstream:
5. Set the `main` branch to point to upstream:

```bash
git branch -u upstream/master master
git branch -u upstream/main main
```

You're all set! 🚀 Read the [development](./docs/development.md) document for further instructions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@
<br/>

## Codeowners Validator
<a href="https://twitter.com/m_szostok"><img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/m_szostok?color=a&label=Follow%20%40m_szostok%20for%20updates&style=social"></a>

<a href="/LICENSE"><img alt="Software License" src="https://img.shields.io/badge/license-Apache-brightgreen.svg?style=flat-square"/></a>
<a href="https://goreportcard.com/report/github.com/mszostok/codeowners-validator"><img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/mszostok/codeowners-validator?style=flat-square"/></a>
<a href="https://travis-ci.com/github/mszostok/codeowners-validator"><img alt="Travis" src="https://img.shields.io/travis/com/mszostok/codeowners-validator/master.svg?style=flat-square"/></a>
<a href="https://twitter.com/m_szostok"><img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/m_szostok?color=a&label=Follow%20%40m_szostok%20for%20updates&style=social"></a>

The Codeowners Validator project validates the GitHub [CODEOWNERS](https://help.github.com/articles/about-code-owners/) file based on [specified checks](#checks). It supports public and private GitHub repositories and also GitHub Enterprise installations.

Expand Down Expand Up @@ -72,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/master/install.sh | sh -s v0.6.0
curl -sfL https://raw.githubusercontent.com/mszostok/codeowners-validator/main/install.sh | sh -s v0.6.0

# binary installed into $(go env GOPATH)/bin/codeowners-validator
curl -sfL https://raw.githubusercontent.com/mszostok/codeowners-validator/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v0.6.0
curl -sfL https://raw.githubusercontent.com/mszostok/codeowners-validator/main/install.sh | sh -s -- -b $(go env GOPATH)/bin v0.6.0

# In alpine linux (as it does not come with curl by default)
wget -O - -q https://raw.githubusercontent.com/mszostok/codeowners-validator/master/install.sh | sh -s v0.6.0
wget -O - -q https://raw.githubusercontent.com/mszostok/codeowners-validator/main/install.sh | sh -s v0.6.0

# Print version. Add `--short` to print just the version number.
codeowners-validator -v
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/usage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/gh-action.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
The [Codeowners Validator](https://github.com/mszostok/codeowners-validator) is available as a GitHub Action.

<p align="center">
<img src="https://raw.githack.com/mszostok/codeowners-validator/master/docs/assets/action-output.png" width="600px" alt="demo">
<img src="https://raw.githack.com/mszostok/codeowners-validator/main/docs/assets/action-output.png" width="600px" alt="demo">
</p>


Expand Down

0 comments on commit 2044fb5

Please sign in to comment.