24 lines
694 B
YAML
24 lines
694 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
|
|
- uses: dtolnay/rust-toolchain@nightly
|
|
- uses: Swatinem/rust-cache@v2
|
|
- uses: taiki-e/install-action@v2
|
|
with:
|
|
tool: release-plz
|
|
- run: |
|
|
git config user.name "release-plz"
|
|
git config user.email "release-plz@noreply.huizinga.dev"
|
|
git config url.https://Dreaded_X:${{ secrets.GITEA_TOKEN }}@git.huizinga.dev/.insteadOf https://git.huizinga.dev/
|
|
- run: release-plz release-pr --git-token "${{ secrets.GITEA_TOKEN }}" --forge gitea -o json
|