From 50918010d0785916fa22be78530dd2b51f60a5f4 Mon Sep 17 00:00:00 2001 From: Peter Shen Date: Fri, 12 Jan 2024 03:21:39 -0700 Subject: [PATCH] feat: add release-drafter.yml (#181) * feat: add .github/workflows/release-drafter.yml * feat: add .github/workflows/release-drafter.yml * change token name --- .github/release-drafter.yml | 1 + .github/workflows/release-drafter.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..0d0b1c99 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1 @@ +_extends: .github diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000..a8248425 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,16 @@ +name: Release Drafter + +on: + push: + branches: + - "main" + workflow_dispatch: + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + # Drafts your next Release notes as Pull Requests are merged into the default branch + - uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.CPP_LINTER_TOKEN }}