Files
crete/.gitea/workflows/release.yaml
T
2026-04-05 02:25:33 +02:00

33 lines
892 B
YAML

name: Release-plz
on:
push:
branches:
- main
jobs:
release-plz-pr:
name: Release-plz PR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@v2
with:
tool: release-plz
- name: Setup git config
uses: https://github.com/OleksiyRudenko/gha-git-credentials@v2-latest
with:
global: true
actor: "${{ gitea.actor }}"
token: "${{ secrets.RELEASE_PLZ_TOKEN }}"
name: Automation
email: "automation@noreply.huizinga.dev"
- run: env
- run: git config --list
- run: release-plz release-pr --git-token "${{ secrets.RELEASE_PLZ_TOKEN }}" --forge gitea -o json -vvv