From ef19a5614022f5244715d91705e35fc2f40d9a00 Mon Sep 17 00:00:00 2001 From: Ishan Jain Date: Tue, 26 Jan 2021 19:57:41 +0530 Subject: [PATCH] Added Release drafter configuration --- .github/release-drafter.yml | 3 +++ .github/workflows/draft-release.yml | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/draft-release.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..1e4a18e9 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,3 @@ +template: | + ## What’s Changed + $CHANGES diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml new file mode 100644 index 00000000..e94d7079 --- /dev/null +++ b/.github/workflows/draft-release.yml @@ -0,0 +1,17 @@ +name: draft-release + +on: + push: + branches: + - 'master' + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + with: + config-name: release-drafter.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +