Skip to content

Commit

Permalink
Moved files into Github dir
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Oct 29, 2021
1 parent 09e534f commit b18facc
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion CODE_STANDARDS.md → .github/CODE_STANDARDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ View the [effective go](https://golang.org/doc/effective_go.html) standards docu
### *golangci-lint* specifications
The package [golangci-lint](https://golangci-lint.run/usage/quick-start) runs several linters in one package/cmd.

View the active linters in the [configuration file](.golangci.yml).
View the active linters in the [configuration file](../.golangci.yml).

Install via macOS:
```shell
Expand Down
File renamed without changes.
File renamed without changes.
22 changes: 10 additions & 12 deletions .mergify.yml → .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ pull_request_rules:
conditions:
- -draft
- author~=^dependabot(|-preview)\[bot\]$
- check-success='test (1.14.x, ubuntu-latest)'
- check-success='test (1.15.x, ubuntu-latest)'
- check-success='test (1.16.x, ubuntu-latest)'
- check-success='test (1.17.x, ubuntu-latest)'
- check-success='Analyze (go)'
- title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\.
actions:
Expand All @@ -22,9 +22,9 @@ pull_request_rules:
- name: Alert on major version detection
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- check-success='test (1.14.x, ubuntu-latest)'
- check-success='test (1.15.x, ubuntu-latest)'
- check-success='test (1.16.x, ubuntu-latest)'
- check-success='test (1.17.x, ubuntu-latest)'
- check-success='Analyze (go)'
- -title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\.
actions:
Expand All @@ -38,6 +38,11 @@ pull_request_rules:
- name: Automatic Merge ⬇️ on Approval ✔
conditions:
- "#approved-reviews-by>=1"
- check-success='test (1.15.x, ubuntu-latest)'
- check-success='test (1.16.x, ubuntu-latest)'
- check-success='test (1.17.x, ubuntu-latest)'
- check-success='Analyze (go)'
- label!=work-in-progress
- -draft
actions:
merge:
Expand Down Expand Up @@ -161,8 +166,7 @@ pull_request_rules:
actions:
comment:
message: |
Welcome to our open-source project!
We're delighted to have you onboard 💘
Welcome to our open-source project! 💘
# ===============================================================================
# STALE BRANCHES
Expand All @@ -177,6 +181,8 @@ pull_request_rules:
close:
message: |
This pull request looks stale. Feel free to reopen it if you think it's a mistake.
label:
add: [ "stale" ]

# ===============================================================================
# BRANCHES
Expand All @@ -188,14 +194,6 @@ pull_request_rules:
actions:
delete_head_branch:

#- name: automatic update for PR marked as “Ready-to-Go“
# conditions:
# - -conflict # skip PRs with conflicts
# - -draft # filter-out GH draft PRs
# - label="Ready-to-Go"
# actions:
# update:

# ===============================================================================
# CONVENTION
# ===============================================================================
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ make bench
<br/>

## Code Standards
Read more about this Go project's [code standards](CODE_STANDARDS.md).
Read more about this Go project's [code standards](.github/CODE_STANDARDS.md).

<br/>

Expand Down Expand Up @@ -163,7 +163,7 @@ func main() {
<br/>

## Contributing
View the [contributing guidelines](CONTRIBUTING.md) and please follow the [code of conduct](CODE_OF_CONDUCT.md).
View the [contributing guidelines](.github/CONTRIBUTING.md) and please follow the [code of conduct](.github/CODE_OF_CONDUCT.md).

### How can I help?
All kinds of contributions are welcome :raised_hands:!
Expand Down

0 comments on commit b18facc

Please sign in to comment.