23 lines
581 B
YAML
23 lines
581 B
YAML
name: Semantic Release
|
|
|
|
on:
|
|
workflow_call:
|
|
secrets:
|
|
GH_TOKEN:
|
|
description: 'PAT with repo access, required to trigger workflows on tag push'
|
|
required: false
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-custom
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
token: ${{ secrets.GH_TOKEN || github.token }}
|
|
|
|
- name: Run semantic-release
|
|
env:
|
|
GITEA_TOKEN: ${{ secrets.GH_TOKEN || github.token }}
|
|
run: semantic-release |