From b4f215f42f2fca80ec7c588a812eb6d6af691b41 Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Tue, 20 May 2025 14:01:00 +0200 Subject: [PATCH] update ci test --- .gitea/workflows/ci_make_relnotes.yml | 51 +++++---------------------- 1 file changed, 8 insertions(+), 43 deletions(-) diff --git a/.gitea/workflows/ci_make_relnotes.yml b/.gitea/workflows/ci_make_relnotes.yml index ede7a79..e0ea46e 100644 --- a/.gitea/workflows/ci_make_relnotes.yml +++ b/.gitea/workflows/ci_make_relnotes.yml @@ -1,48 +1,13 @@ -name: 'CI' +name: "Tests" + on: - push: - tags: - - '*' + workflow_dispatch: jobs: - release: - if: startsWith(github.ref, 'refs/tags/') + tests: runs-on: ubuntu-latest steps: - - name: Build Changelog - uses: https://github.com/mikepenz/release-changelog-builder-action@v5 - with: - platform: "gitea" # gitea or GitHub, default is GitHub - mode: "COMMIT" - configurationJson: | - { - "template": "#{{CHANGELOG}}", - "categories": [ - { - "title": "## Feature", - "labels": ["feat", "feature"] - }, - { - "title": "## Fix", - "labels": ["fix", "bug"] - }, - { - "title": "## Other", - "labels": [] - } - ], - "label_extractor": [ - { - "pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)", - "on_property": "title", - "target": "$1" - } - ] - } - token: ${{ secrets.TOKEN }} - - name: create Release - uses: softprops/action-gh-release@master - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - body: ${{ steps.changelog.outputs.changelog }} \ No newline at end of file + - name: Checkout the code + uses: actions/checkout@v4 + - name: echo name + run: echo ${{ github.event.repository.owner.login }} \ No newline at end of file