name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: read
id-token: write
jobs:
release:
name: Version
runs-on: ubuntu-latest
steps:
- name: Fetch GitHub token via STS
id: app-token
uses: tempoxyz/gh-actions/actions/github-sts@183a02178c660ce295e9a262edc5857cb7135f06
with:
policy: release-pr
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 with:
token: ${{ steps.app-token.outputs.token }}
- name: Authenticate with crates.io
uses: rust-lang/crates-io-auth-action@c6f97d42243bad5fab37ca0427f495c86d5b1a18 id: auth
- name: Changelogs
uses: tempoxyz/changelogs@bd50cca508d81505924dfa3997b1696ac2b7b1aa with:
ecosystem: rust
conventional-commit: true
crate-token: ${{ steps.auth.outputs.token }}
github-token: ${{ steps.app-token.outputs.token }}