Files
crete/.gitea/workflows/release.yaml
T
2026-04-04 22:41:51 +02:00

30 lines
792 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:
token: "${{ secrets.GITEA_TOKEN }}"
actor: automation
name: Automation
email: "automation@huizinga.dev"
- run: release-plz release-pr --git-token "${{ secrets.RELEASE_PLZ_TOKEN }}" --forge gitea -o json