From b1be6cfd2e9add310b01cd49a876643d013d9f32 Mon Sep 17 00:00:00 2001 From: Charles Garrett Date: Tue, 20 Feb 2024 16:07:13 -0500 Subject: [PATCH] build: workflow that generates a detailed release on merges to master --- .github/workflows/release_notes.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/release_notes.yml diff --git a/.github/workflows/release_notes.yml b/.github/workflows/release_notes.yml new file mode 100644 index 000000000..b09939498 --- /dev/null +++ b/.github/workflows/release_notes.yml @@ -0,0 +1,24 @@ +name: Automatic Github Releases + +on: + push: + branches: + - "master" + +jobs: + update_release_draft: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Get current date + id: name + run: echo "::set-output name=date::$(date +'%m-%d-%Y')" + - uses: actions/checkout@v3 + - uses: ncipollo/release-action@v1.14.0 + with: + generateReleaseNotes: true + tag: ${{ steps.name.output.name }} + makeLatest: true + allowUpdates: true + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file