-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: ci, linting, and community docs
- Loading branch information
1 parent
8c2acdb
commit 94626e1
Showing
35 changed files
with
1,222 additions
and
152 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
* @aiven/team-space-invaders |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: ❓ Ask a question | ||
about: Got stuck or missing something from the docs? Ask away! | ||
--- | ||
|
||
# Fill the question form below and remove this heading | ||
|
||
## What can we help you with? | ||
|
||
<!-- Try to explain your question with as much detail as you can provide. --> | ||
|
||
## Where would you expect to find this information? | ||
|
||
<!-- Feel free to point us where with links or even proposing new sections or pages in the documentation. --> |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: 🐜 Report a bug | ||
about: Spotted a problem? Let us know | ||
--- | ||
|
||
# Fill the bug report form below and remove this heading | ||
|
||
## What happened? | ||
|
||
<!-- Try to be as precise as possible. If you can a small reproducer example would be great! --> | ||
|
||
## What did you expect to happen? | ||
|
||
<!-- Please explain what would be the expected behavior for this particular case, ideally, with examples. --> | ||
|
||
## What else do we need to know? | ||
|
||
<!-- Include your platform, version, and any other information that seems relevant. --> |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: 💡 Feature suggestion | ||
about: What would make this even better? | ||
--- | ||
|
||
# Fill the feature suggestion form below and remove this heading | ||
|
||
## What is currently missing? | ||
|
||
<!-- Please, describe what is currently missing and why should it be present in the project. --> | ||
|
||
## How could this be improved? | ||
|
||
<!-- If you already know how this could be approached, please provide some brief explanation about it. --> | ||
|
||
## Is this a feature you would work on yourself? | ||
|
||
- [ ] I plan to open a pull request for this feature |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Aiven Security Bug Bounty | ||
url: https://hackerone.com/aiven_ltd | ||
about: Our bug bounty program. |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- All contributors please complete these sections, including maintainers --> | ||
|
||
# Fill the pull request form below and remove this heading | ||
|
||
## About this change - What it does | ||
|
||
<!-- Provide a small sentence that summarizes the change. --> | ||
|
||
<!-- Provide the issue number below if it exists. --> | ||
|
||
Resolves: #xxxxx | ||
|
||
## Why this way | ||
|
||
<!-- Provide a small explanation on why this is the approach you took for solving this problem. --> |
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: CodeQL | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- labeled | ||
- unlabeled | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
jobs: | ||
codeql: | ||
runs-on: ubuntu-latest | ||
if: > | ||
(github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || | ||
github.event_name == 'push' | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: | ||
- go | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.mod | ||
- uses: github/codeql-action/init@v3 | ||
with: | ||
languages: "${{ matrix.language }}" | ||
- uses: github/codeql-action/autobuild@v3 | ||
- uses: github/codeql-action/analyze@v3 |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Lint | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- labeled | ||
- unlabeled | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
commitlint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: wagoid/commitlint-github-action@v5 | ||
trunk: | ||
if: > | ||
(github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || | ||
github.event_name == 'push' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version-file: go.mod | ||
- uses: trunk-io/trunk-action@v1 |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- labeled | ||
- unlabeled | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: {} | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
test: | ||
if: > | ||
(github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || | ||
github.event_name == 'push' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version-file: go.mod | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: arduino/setup-task@v1 | ||
- run: task test |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Upgrade Trunk | ||
|
||
on: | ||
schedule: | ||
- cron: 0 8 * * 1-5 | ||
workflow_dispatch: {} | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
trunk_upgrade: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.mod | ||
- uses: trunk-io/trunk-action/upgrade@v1 | ||
with: | ||
prefix: "ci(deps): " | ||
lowercase-title: true |
Oops, something went wrong.