-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update all project files (#95)
* chore: update all project files * fix: linter happiness * fix: linter happiness
- Loading branch information
Showing
41 changed files
with
1,076 additions
and
205 deletions.
There are no files selected for viewing
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,90 @@ | ||
{ | ||
"generated_at": "2024-01-05T19:47:09.507592+01:00", | ||
"version": "v1.1.5-dirty", | ||
"files": [ | ||
{ | ||
"path": ".editorconfig" | ||
}, | ||
{ | ||
"path": ".github/FUNDING.yml" | ||
}, | ||
{ | ||
"path": ".github/auto_assign.yml" | ||
}, | ||
{ | ||
"path": ".github/issue_template.md" | ||
}, | ||
{ | ||
"path": ".github/pull_request_template.md" | ||
}, | ||
{ | ||
"path": ".github/renovate.json" | ||
}, | ||
{ | ||
"path": ".github/settings.yml" | ||
}, | ||
{ | ||
"path": ".github/workflows/autoassign.yml" | ||
}, | ||
{ | ||
"path": ".github/workflows/automerge.yml" | ||
}, | ||
{ | ||
"path": ".github/workflows/notify.yml" | ||
}, | ||
{ | ||
"path": ".github/workflows/stale.yml" | ||
}, | ||
{ | ||
"path": ".github/workflows/tag.yml" | ||
}, | ||
{ | ||
"path": "CODEOWNERS" | ||
}, | ||
{ | ||
"path": "CONTRIBUTING.md" | ||
}, | ||
{ | ||
"path": "LICENSE" | ||
}, | ||
{ | ||
"path": ".dockerignore" | ||
}, | ||
{ | ||
"path": ".github/workflows/container.yml" | ||
}, | ||
{ | ||
"path": ".github/workflows/go-binaries.yml" | ||
}, | ||
{ | ||
"path": ".github/workflows/go-lint-test.yml" | ||
}, | ||
{ | ||
"path": ".gitignore" | ||
}, | ||
{ | ||
"path": ".golangci.yml" | ||
}, | ||
{ | ||
"path": "Dockerfile.linux.386" | ||
}, | ||
{ | ||
"path": "Dockerfile.linux.amd64" | ||
}, | ||
{ | ||
"path": "Dockerfile.linux.arm" | ||
}, | ||
{ | ||
"path": "Dockerfile.linux.arm64" | ||
}, | ||
{ | ||
"path": "Makefile" | ||
}, | ||
{ | ||
"path": "flake.lock" | ||
}, | ||
{ | ||
"path": "flake.nix" | ||
} | ||
] | ||
} |
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,2 @@ | ||
* | ||
!bin/ |
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,19 @@ | ||
# http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[Makefile] | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[*.go] | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = true |
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
# These are supported funding model platforms | ||
|
||
ko_fi: chrisbargmann | ||
|
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,13 @@ | ||
# Set to true to add reviewers to pull requests | ||
addReviewers: true | ||
|
||
# Set to true to add assignees to pull requests | ||
addAssignees: false | ||
|
||
# A list of reviewers to be added to pull requests (GitHub user name) | ||
reviewers: | ||
- cbrgm | ||
|
||
# A number of reviewers added to the pull request | ||
# Set 0 to add all the reviewers (default: 0) | ||
numberOfReviewers: 1 |
This file was deleted.
Oops, something went wrong.
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,10 @@ | ||
<!-- PLEASE READ BEFORE DELETING | ||
Please write in English, as it's a language understood by all maintainers of this project. Before submitting your issue, please take a moment to ensure it hasn't already been reported or addressed. | ||
Additionally, we highly recommend reading our contributing guidelines to familiarize yourself with the process and increase the effectiveness of your contribution: | ||
https://github.com/cbrgm/promcheck/blob/main/CONTRIBUTING.md | ||
Thank you for your help and understanding! | ||
--> |
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,9 @@ | ||
<!-- PLEASE READ BEFORE DELETING | ||
Before proceeding, ensure your pull request is targeting the main branch. Clearly describe the purpose of your pull request and the issue it addresses, if applicable. We also encourage you to read our contributing guidelines for a smoother contribution process: | ||
https://github.com/cbrgm/promcheck/blob/main/CONTRIBUTING.md | ||
Thank you for your contribution! | ||
--> |
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,6 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"github>cbrgm/cbrgm//renovate/preset" | ||
] | ||
} |
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 @@ | ||
--- | ||
repository: | ||
name: promcheck | ||
description: A tool and exporter to identify faulty Prometheus rules | ||
homepage: https://cbrgm.net | ||
topics: rules, alert, monitoring, metrics, exporter, alerting, prometheus, recording | ||
|
||
private: false | ||
has_issues: true | ||
has_wiki: false | ||
has_downloads: false | ||
|
||
default_branch: main | ||
|
||
allow_squash_merge: true | ||
allow_merge_commit: true | ||
allow_rebase_merge: true | ||
|
||
allow_update_branch: true | ||
allow_auto_merge: true | ||
delete_branch_on_merge: true | ||
enable_automated_security_fixes: true | ||
enable_vulnerability_alerts: true | ||
|
||
branches: | ||
- name: main | ||
protection: | ||
required_pull_request_reviews: null | ||
required_status_checks: | ||
strict: true | ||
contexts: | ||
- testing | ||
enforce_admins: true | ||
... |
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,13 @@ | ||
--- | ||
name: 'add-reviews' | ||
on: | ||
pull_request_target: | ||
types: [opened, ready_for_review] | ||
|
||
jobs: | ||
add-reviews: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: kentaro-m/auto-assign-action@v1.2.5 | ||
|
||
... |
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,56 @@ | ||
--- | ||
name: automerge | ||
|
||
on: pull_request | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
dependabot: | ||
runs-on: ubuntu-latest | ||
if: github.actor == 'dependabot[bot]' | ||
|
||
steps: | ||
|
||
- name: Fetch metadata | ||
id: metadata | ||
uses: dependabot/fetch-metadata@v1 | ||
with: | ||
github-token: ${{ secrets.BOT_PAT_TOKEN }} | ||
|
||
- name: Approve request | ||
id: approve | ||
run: gh pr review --approve ${{ github.event.pull_request.html_url }} | ||
env: | ||
GH_TOKEN: ${{ secrets.BOT_PAT_TOKEN }} | ||
|
||
- name: Enable automerge | ||
id: automerge | ||
run: gh pr merge --rebase --auto ${{ github.event.pull_request.html_url }} | ||
env: | ||
GH_TOKEN: ${{ secrets.BOT_PAT_TOKEN }} | ||
|
||
renovate: | ||
runs-on: ubuntu-latest | ||
if: github.actor == 'renovate[bot]' | ||
|
||
steps: | ||
- name: Approve request | ||
id: approve | ||
run: gh pr review --approve ${{ github.event.pull_request.html_url }} | ||
env: | ||
GH_TOKEN: ${{ secrets.BOT_PAT_TOKEN }} | ||
|
||
cbrgm: | ||
runs-on: ubuntu-latest | ||
if: github.actor == 'cbrgm' && contains(github.event.pull_request.labels.*.name, 'auto-merge') | ||
|
||
steps: | ||
- name: Enable automerge | ||
id: automerge | ||
run: gh pr merge --rebase --auto ${{ github.event.pull_request.html_url }} | ||
env: | ||
GH_TOKEN: ${{ secrets.BOT_PAT_TOKEN }} | ||
... |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.