docs(rust): Minor doc fixes and cleanup (#19935) #121
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update draft releases | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
# Latest commit to include with the release. If omitted, use the latest commit on the main branch. | |
sha: | |
description: Commit SHA | |
type: string | |
permissions: | |
contents: write | |
pull-requests: read | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Draft Rust release | |
uses: release-drafter/release-drafter@v6 | |
with: | |
config-name: release-drafter-rust.yml | |
commitish: ${{ inputs.sha || github.sha }} | |
disable-autolabeler: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Draft Python release | |
uses: release-drafter/release-drafter@v6 | |
with: | |
config-name: release-drafter-python.yml | |
commitish: ${{ inputs.sha || github.sha }} | |
disable-autolabeler: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |