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 }}