diff --git a/.github/workflows/comment-changes.yml b/.github/workflows/comment-changes.yml new file mode 100644 index 0000000..3b6627c --- /dev/null +++ b/.github/workflows/comment-changes.yml @@ -0,0 +1,59 @@ +######################## GNU General Public License 3.0 ######################## +## ## +## Copyright (C) 2024 Kevin Matthes ## +## ## +## This program is free software: you can redistribute it and/or modify ## +## it under the terms of the GNU General Public License as published by ## +## the Free Software Foundation, either version 3 of the License, or ## +## (at your option) any later version. ## +## ## +## This program is distributed in the hope that it will be useful, ## +## but WITHOUT ANY WARRANTY; without even the implied warranty of ## +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## +## GNU General Public License for more details. ## +## ## +## You should have received a copy of the GNU General Public License ## +## along with this program. If not, see . ## +## ## +################################################################################ + +################################################################################ +## +## AUTHOR Kevin Matthes +## BRIEF Create a summary of the changes to this branch. +## COPYRIGHT GPL-3.0 +## DATE 2024 +## FILE comment-changes.yml +## NOTE See `LICENSE' for full license. +## See `README.md' for project details. +## +################################################################################ + +name: comment-changes + +on: + workflow_dispatch: + +permissions: + contents: write + +jobs: + changelog: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.1.1 + with: + fetch-depth: 0 + ref: ${{ github.head_ref }} + + - uses: fregante/setup-git-user@v2.0.1 + + - run: | + rustup update + cargo install aeruginous + aeruginous comment-changes -d ::= -f ron -k -o changelog.d/ + git add changelog.d/ + git commit -m 'Create summary of recent changes' + git push + +################################################################################ diff --git a/changelog.d/20240110_122358_Kevin_Matthes_ci-comment-changes.ron b/changelog.d/20240110_122358_Kevin_Matthes_ci-comment-changes.ron new file mode 100644 index 0000000..5028c18 --- /dev/null +++ b/changelog.d/20240110_122358_Kevin_Matthes_ci-comment-changes.ron @@ -0,0 +1,8 @@ +( + references: {}, + changes: { + "Added": [ + ".github/workflows/comment-changes.yml", + ], + }, +)