From 96efc6c312c06925860f19d62951c5bea6d00b6a Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Wed, 21 May 2025 10:37:59 +0200 Subject: [PATCH] new test --- .gitea/workflows/release_notes.yml | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .gitea/workflows/release_notes.yml diff --git a/.gitea/workflows/release_notes.yml b/.gitea/workflows/release_notes.yml new file mode 100644 index 0000000..42305d0 --- /dev/null +++ b/.gitea/workflows/release_notes.yml @@ -0,0 +1,38 @@ +name: Deploy + +on: + push: + tags: + - v[0-9]+.[0-9]+.[0-9]+ + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Update CHANGELOG + id: changelog + uses: requarks/changelog-action@v1 + with: + token: ${{ secrets.TOKEN }} + tag: ${{ github.ref_name }} + + - name: Create Release + uses: ncipollo/release-action@v1.12.0 + with: + allowUpdates: true + draft: false + makeLatest: true + name: ${{ github.ref_name }} + body: ${{ steps.changelog.outputs.changes }} + token: ${{ secrets.TOKEN }} + + - name: Commit CHANGELOG.md + uses: stefanzweifel/git-auto-commit-action@v4 + with: + branch: main + commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]' + file_pattern: CHANGELOG.md \ No newline at end of file