-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add release and labeler configuration (#27)
- Loading branch information
Showing
6 changed files
with
93 additions
and
19 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,13 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_size = 4 | ||
indent_style = tab | ||
|
||
[*.{md,yml,yaml}] | ||
indent_size = 2 | ||
indent_style = space |
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,29 @@ | ||
changelog: | ||
exclude: | ||
labels: | ||
- skip changelog | ||
categories: | ||
- title: 💣 Breaking Changes | ||
labels: | ||
- change | ||
- title: 🚀 Features | ||
labels: | ||
- enhancement | ||
- title: 🐛 Bug Fixes | ||
labels: | ||
- bug | ||
- title: 🧪 Tests | ||
labels: | ||
- tests | ||
- title: 🔨 Maintenance | ||
labels: | ||
- chore | ||
- title: 📝 Documentation | ||
labels: | ||
- documentation | ||
- title: ⬆️ Dependencies | ||
labels: | ||
- dependencies | ||
- title: Other Changes | ||
labels: | ||
- "*" |
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 |
---|---|---|
|
@@ -4,6 +4,8 @@ on: | |
push: | ||
branches: | ||
- master | ||
tags: | ||
- "v[0-9]+.[0-9]+.[0-9]+*" | ||
pull_request: | ||
branches: | ||
- master | ||
|
@@ -31,3 +33,16 @@ jobs: | |
|
||
- name: Run Unit Tests | ||
run: go test ./... -race -shuffle=on -v | ||
|
||
draft-release: | ||
runs-on: ubuntu-24.04 | ||
if: github.event_name != 'pull_request' | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- uses: lucacome/[email protected] | ||
with: | ||
minor-label: "enhancement" | ||
major-label: "change" | ||
collapse-after: 20 |
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,26 @@ | ||
name: Pull Request Labeler | ||
on: | ||
- pull_request_target | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
triage: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
sparse-checkout: | | ||
labeler.yml | ||
sparse-checkout-cone-mode: false | ||
repository: opentracing-contrib/common | ||
|
||
- uses: actions/labeler@v5 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
sync-labels: true | ||
configuration-path: labeler.yml |
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
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 |
---|---|---|
@@ -1,21 +1,7 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"automerge": true, | ||
"automergeStrategy": "squash", | ||
"commitBodyTable": true, | ||
"configMigration": true, | ||
"extends": [ | ||
"config:recommended", | ||
":gitSignOff", | ||
":disableRateLimiting", | ||
":semanticCommitsDisabled" | ||
], | ||
"labels": [ | ||
"dependencies" | ||
], | ||
"postUpdateOptions": [ | ||
"gomodTidy", | ||
"gomodUpdateImportPaths" | ||
], | ||
"rebaseWhen": "behind-base-branch" | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"github>opentracing-contrib/common", | ||
"schedule:daily" | ||
] | ||
} |