Skip to content

Merge pull request #49 from frantic1048/renovate/github-actions #38

Merge pull request #49 from frantic1048/renovate/github-actions

Merge pull request #49 from frantic1048/renovate/github-actions #38

Workflow file for this run

name: Release-plz
on:
push:
branches: [master]
paths:
- "blend/**"
- "Cargo.toml"
- "Cargo.lock"
- "release-plz.toml"
- "git-cliff.toml"
- ".github/workflows/release-plz.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
release-plz-release:
name: Release-plz release
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
with:
fetch-depth: 0
persist-credentials: false
- name: Install Rust toolchain
uses: step-security/dtolnay-rust-toolchain@8dd607977d06adf4ed49b190381e74c17a9dd25f # v1.0.0
with:
toolchain: 1.92.0
- name: Create release app token
id: app-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
with:
client-id: ${{ secrets.APP_CLIENT_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
permission-contents: write
permission-pull-requests: read
- name: Run release-plz
uses: release-plz/action@2eb1d8bcb770b4c48ccfaad919734b38b51958c9 # v0.5.131
with:
command: release
manifest_path: Cargo.toml
config: release-plz.toml
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
release-plz-pr:
name: Release-plz PR
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
concurrency:
group: release-plz/${{ github.ref }}
cancel-in-progress: false
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
with:
fetch-depth: 0
persist-credentials: false
- name: Install Rust toolchain
uses: step-security/dtolnay-rust-toolchain@8dd607977d06adf4ed49b190381e74c17a9dd25f # v1.0.0
with:
toolchain: 1.92.0
- name: Create release app token
id: app-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
with:
client-id: ${{ secrets.APP_CLIENT_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
permission-contents: write
permission-pull-requests: write
- name: Run release-plz
uses: release-plz/action@2eb1d8bcb770b4c48ccfaad919734b38b51958c9 # v0.5.131
with:
command: release-pr
manifest_path: Cargo.toml
config: release-plz.toml
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}