From b0d4d029e04ca29394418167a898870f2474bbd1 Mon Sep 17 00:00:00 2001 From: Fabian Ruffy <5960321+fruffy@users.noreply.github.com> Date: Thu, 30 May 2024 19:48:38 +0200 Subject: [PATCH] Add a release template to the compiler. (#4692) * Add a release template to the compiler. * Fix some stale release configurations. --- .github/release.yml | 41 +++++++++++++++++++++++++++ .github/workflows/ci-auto-release.yml | 2 +- .github/workflows/ci-release.yml | 1 + 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 .github/release.yml diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 00000000000..bd9a45fad82 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,41 @@ +# .github/release.yml + +changelog: + exclude: + labels: + - ignore-for-release + authors: + - octocat + categories: + - title: Breaking Changes 🛠 + labels: + - breaking-change + - title: P4 Specification Implementation + labels: + - p4-spec + - title: Changes to the Compiler Core + labels: + - core + - title: Changes to the Control Plane + labels: + - control-plane + - title: Changes to the BMv2 Back Ends + labels: + - bmv2 + - bmv2-psa + - title: Changes to the eBPF Back Ends + labels: + - ebpf + - ebpf-psa + - title: Changes to the TC Back End + labels: + - p4tc + - title: Changes to the DPDK Back End + labels: + - dpdk + - title: Changes to the P4Tools Back End + labels: + - p4tools + - title: Other Changes + labels: + - "*" diff --git a/.github/workflows/ci-auto-release.yml b/.github/workflows/ci-auto-release.yml index 626b7cf8303..e2d29cb70b8 100644 --- a/.github/workflows/ci-auto-release.yml +++ b/.github/workflows/ci-auto-release.yml @@ -78,7 +78,7 @@ jobs: with: base: main add-paths: Version.txt - reviewers: mbudiu-vmw + reviewers: fruffy, jafingerhut, jnfoster commit-message: ${{ steps.message.outputs.content }} signoff: false branch: v${{ env.VERSION }} diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index d08519a5780..4fb82d6c245 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -47,6 +47,7 @@ jobs: uses: softprops/action-gh-release@v2 with: tag_name: ${{ env.TAG }} + generate_release_notes: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}