Skip to content

fix(ci): prevent partial releases on build failures (#361) #175

fix(ci): prevent partial releases on build failures (#361)

fix(ci): prevent partial releases on build failures (#361) #175

Workflow file for this run

name: release-plz
on:
push:
branches:
- main
paths-ignore:
- 'charts/**'
workflow_dispatch:
permissions:
pull-requests: write
contents: write
jobs:
release-plz:
runs-on: ubuntu-latest
steps:
- name: Generate GitHub token
uses: actions/create-github-app-token@v2
id: generate-token
with:
app-id: ${{ secrets.RELEASE_PLZ_APP_ID }}
private-key: ${{ secrets.RELEASE_PLZ_APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: release-plz/action@v0.5
with:
command: release-pr
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}