12 Commits

Author SHA1 Message Date
Tim Basten
22e64b6dec feature: add changelog builder
Some checks failed
release / release (push) Failing after 18s
2026-02-06 11:32:23 +08:00
873a4c5237 feature: test-feature 1 (#2)
All checks were successful
release / release (push) Successful in 4s
This feature introduces cool stuff
2026-02-06 11:27:01 +08:00
Tim Basten
ea0511ae49 feature: update 2026-02-06 11:22:14 +08:00
Tim Basten
e9235bb816 update 2026-02-06 11:21:28 +08:00
Tim Basten
888cae3db2 update
All checks were successful
release / release (push) Successful in 5s
2026-02-06 11:20:01 +08:00
Tim Basten
78253e9314 update
Some checks failed
release / release (push) Failing after 3s
2026-02-06 11:14:45 +08:00
Tim Basten
77662b71d2 update
Some checks failed
release / release (push) Failing after 3s
2026-02-06 11:14:02 +08:00
Tim Basten
207f392e80 update
Some checks failed
release / release (push) Failing after 2s
2026-02-06 11:10:57 +08:00
Tim Basten
507a24eb3d update
Some checks failed
Release / release (push) Failing after 2s
2026-02-06 11:06:57 +08:00
4282359e54 Update .gitea/workflows/release.yaml
Some checks failed
release / release (push) Has been cancelled
2026-02-06 11:01:45 +08:00
6d46193f5d Update .gitea/workflows/release.yaml 2026-02-06 11:00:13 +08:00
b8c6ba1355 Update .gitea/workflows/release.yaml
Some checks failed
Release / release (push) Failing after 2s
2026-02-06 10:40:10 +08:00
2 changed files with 58 additions and 58 deletions

View File

@@ -1,58 +1,57 @@
--- name: release
name: gitea-release-action
description: "An action to support publishing release to Gitea." on:
author: "Akkuman" push:
inputs: tags:
server_url: - "*"
description: the base url of the gitea API
required: false jobs:
default: ${{ github.server_url }} release:
body: runs-on: ubuntu-latest
description: "Note-worthy description of changes in release"
required: false steps:
default: ${{ github.event.release.body != '' && github.event.release.body || null }} - uses: actions/checkout@v4
body_path: with:
description: "Path to load description of changes in this release" fetch-depth: 0
required: false
name: - name: Build Changelog
description: "Gives the release a custom name. Defaults to tag name" id: changelog
required: false uses: mikepenz/release-changelog-builder-action@v6
default: ${{ github.event.release.name != '' && github.event.release.name || github.ref_name }} with:
tag_name: mode: "COMMIT"
description: "Gives a tag name. Defaults to github.GITHUB_REF" configurationJson: |
required: false {
default: ${{ github.ref_name }} "template": "#{{CHANGELOG}}",
draft: "categories": [
description: "Creates a draft release. Defaults to false" {
required: false "title": "## Feature",
default: ${{ github.event.release.draft || false }} "labels": ["feat", "feature"]
prerelease: },
description: "Identify the release as a prerelease. Defaults to false" {
required: false "title": "## Fix",
default: ${{ github.event.release.prerelease || false }} "labels": ["fix", "bug"]
files: },
description: "Newline-delimited list of path globs for asset files to upload" {
required: false "title": "## Other",
repository: "labels": []
description: "Repository to make releases against, in <owner>/<repo> format" }
required: false ],
default: ${{ github.repository }} "label_extractor": [
token: {
description: "Gitea Token" "pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
required: false "on_property": "title",
default: ${{ github.token }} "target": "$1"
target_commitish: }
description: 'Commitish value that determines where the Git tag is created from. Can be any branch or commit SHA.' ]
required: false }
md5sum: env:
description: 'Publish `.md5` along with artifacts.' GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
required: false
sha256sum: - name: Create Gitea Release
description: 'Publish `.sha256` along with artifacts.' uses: akkuman/gitea-release-action@v1
required: false with:
runs: token: ${{ secrets.GITEA_TOKEN }}
using: "node16" tag_name: ${{ gitea.ref_name }}
main: "dist/index.js" name: ${{ gitea.ref_name }}
branding: body: ${{ steps.changelog.outputs.changelog }}
color: "green"
icon: "package"

1
test2.yml Normal file
View File

@@ -0,0 +1 @@
asdfsdfg