mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-02 12:50:54 +00:00
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
name: release-plz
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
concurrency:
|
|
group: "${{ github.workflow }}"
|
|
cancel-in-progress: true
|
|
jobs:
|
|
release-plz:
|
|
name: release-plz
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
pull-requests: write
|
|
contents: write
|
|
steps:
|
|
- uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
|
|
with:
|
|
egress-policy: audit
|
|
- uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3
|
|
id: generate-token
|
|
with:
|
|
app-id: "${{ secrets.EDERA_CULTIVATION_APP_ID }}"
|
|
private-key: "${{ secrets.EDERA_CULTIVATION_APP_PRIVATE_KEY }}"
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
with:
|
|
submodules: recursive
|
|
fetch-depth: 0
|
|
token: "${{ steps.generate-token.outputs.token }}"
|
|
- run: |
|
|
rustup update --no-self-update stable
|
|
rustup default stable
|
|
- run: ./hack/ci/install-linux-deps.sh
|
|
- name: release-plz
|
|
uses: MarcoIeni/release-plz-action@86afd21a7b114234aab55ba0005eed52f77d89e4 # v0.5.62
|
|
env:
|
|
GITHUB_TOKEN: "${{ steps.generate-token.outputs.token }}"
|
|
CARGO_REGISTRY_TOKEN: "${{ secrets.KRATA_RELEASE_CARGO_TOKEN }}"
|