chore: Setup workflows
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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
|
||||
- name: Setup git config
|
||||
uses: https://github.com/OleksiyRudenko/gha-git-credentials@v2-latest
|
||||
with:
|
||||
global: true
|
||||
token: "${{ secrets.GITEA_TOKEN }}"
|
||||
name: Automation
|
||||
email: "automation@noreply.huizinga.dev"
|
||||
- run: env
|
||||
- run: release-plz release-pr --git-token "${{ secrets.GITEA_TOKEN }}" --forge gitea -o json
|
||||
Reference in New Issue
Block a user