From ce8d75b4e6744698eb53c193ae90e58dba77763b Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Thu, 20 Aug 2026 17:55:40 -0700 Subject: [PATCH 1/2] Add labeler --- .github/release.yml | 29 +++++++++++++++++++++++++++++ .github/workflows/ci.yml | 20 ++++++++++++++++++++ .github/workflows/labeler.yml | 27 +++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 .github/release.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 00000000..ceb3c631 --- /dev/null +++ b/.github/release.yml @@ -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: + - "*" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc9f2314..933180e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,27 @@ on: permissions: contents: read +concurrency: + group: ${{ github.ref_name }}-ci + cancel-in-progress: true + jobs: + release-notes: + name: Create/Update release notes + runs-on: ubuntu-24.04 + steps: + - name: Checkout Repository + uses: actions/checkout@v7 + + - name: Create/Update Draft + uses: lucacome/draft-release@v2.2.1 + with: + minor-label: "enhancement" + major-label: "change" + publish: ${{ github.ref_type == 'tag' }} + collapse-after: 50 + if: github.event_name != 'pull_request' + test: name: Test runs-on: ubuntu-24.04 diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000..153a6925 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,27 @@ +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@v7 + with: + sparse-checkout: | + labeler.yml + sparse-checkout-cone-mode: false + repository: opentracing-contrib/common + + - uses: actions/labeler@v7 + continue-on-error: true + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: true + configuration-path: labeler.yml From abf1998c4f1ea62c8bf1bd8ef741777856c6a7b8 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Fri, 21 Aug 2026 18:56:32 -0700 Subject: [PATCH 2/2] Update .github/workflows/ci.yml Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Luca Comellini --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 933180e2..08a32454 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,8 @@ concurrency: jobs: release-notes: name: Create/Update release notes + permissions: + contents: write runs-on: ubuntu-24.04 steps: - name: Checkout Repository