4 Commits
v1.5 ... v2.3.0

Author SHA1 Message Date
lucasdpt
a346f8db9a ci: update 2026-04-10 20:21:20 +02:00
lucasdpt
ce3539c2ec ci: update 2026-04-10 20:13:08 +02:00
58b6d322a5 ci: update checkout version 2026-03-30 14:09:45 +00:00
9ececf8cba feat(setup-semrel): add saithodev/semantic-release-gitea 2026-03-30 12:33:01 +02:00
3 changed files with 1024 additions and 25 deletions

View File

@@ -2,11 +2,10 @@ name: Semantic Release
on:
workflow_call:
permissions:
contents: write
issues: write
pull-requests: write
secrets:
GH_TOKEN:
description: 'PAT with repo access, required to trigger workflows on tag push'
required: false
jobs:
release:
@@ -15,14 +14,29 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN || github.token }}
- name: Setup semantic-release
uses: https://gitea.ldpt.fr/actions/semantic-release/setup-semrel@main
with:
node-version: "24"
- name: Configure git remote with PAT
if: ${{ secrets.GH_TOKEN != '' }}
shell: bash
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
set -euo pipefail
REMOTE_URL=$(git remote get-url origin)
# Inject PAT so tag pushes come from the PAT user, not the Actions runner token
NEW_URL=$(echo "$REMOTE_URL" | sed "s|https://|https://oauth2:${GH_TOKEN}@|")
git remote set-url origin "$NEW_URL"
- name: Run semantic-release
env:
GITEA_TOKEN: ${{ secrets.GH_TOKEN || github.token }}
run: semantic-release

File diff suppressed because it is too large Load Diff

View File

@@ -1,14 +1,15 @@
{
"name": "semantic-release",
"dependencies": {
"@saithodev/semantic-release-gitea": "^2.1.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^13.1.3",
"@semantic-release/npm": "^13.1.5",
"@semantic-release/release-notes-generator": "^14.1.0",
"@terrestris/maven-semantic-release": "^3.1.0",
"conventional-changelog-conventionalcommits": "^9.1.0",
"conventional-changelog-conventionalcommits": "^9.3.1",
"semantic-release": "^25.0.3",
"tsx": "^4.21.0"
}