From 956e0c7c7e8c46df30d0a3428f732c6217a8f7e4 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Sun, 23 Aug 2020 16:00:42 +0100 Subject: [PATCH] Track changes between releases (#1238) --- .github/release-drafter.yml | 6 ++++++ .github/workflows/add-to-release-notes.yml | 21 +++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/add-to-release-notes.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000000..d97b5e66aaf --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,6 @@ +template: | + ## What’s Changed + + $CHANGES +exclude-labels: + - 'generate chapters' diff --git a/.github/workflows/add-to-release-notes.yml b/.github/workflows/add-to-release-notes.yml new file mode 100644 index 00000000000..69fc3979a1e --- /dev/null +++ b/.github/workflows/add-to-release-notes.yml @@ -0,0 +1,21 @@ +###################################### +## Custom Web Almanac GitHub action ## +###################################### +# +# This updates the current draft release notes with this commit +# Excluding certain automated commits (e.g. Generate Chapters or Ebooks) +# +name: Add to Release Notes +on: + push: + branches: + - main +jobs: + release-notes: + runs-on: ubuntu-latest + if: github.repository == 'HTTPArchive/almanac.httparchive.org' + steps: + - name: Update release notes + uses: release-drafter/release-drafter@v5.11.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}