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.GITEA_TOKEN }}" name: Automation email: "automation@noreply.huizinga.dev" - run: env - run: git config --list - run: release-plz release-pr --git-token "${{ secrets.GITEA_TOKEN }}" --forge gitea -o json -vvv