mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 21:48:42 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
63 lines
1.7 KiB
YAML
63 lines
1.7 KiB
YAML
name: Open a release PR
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
crate:
|
|
description: Crate to release
|
|
required: true
|
|
type: choice
|
|
options:
|
|
- atomic-file-install
|
|
- bin
|
|
- binstalk
|
|
- binstalk-bins
|
|
- binstalk-fetchers
|
|
- binstalk-registry
|
|
- binstalk-manifests
|
|
- binstalk-types
|
|
- binstalk-downloader
|
|
- cargo-toml-workspace
|
|
- detect-targets
|
|
- detect-wasi
|
|
- fs-lock
|
|
- normalize-path
|
|
- leon
|
|
- leon-macros
|
|
- simple-git
|
|
version:
|
|
description: Version to release
|
|
required: true
|
|
type: string
|
|
default: patch
|
|
|
|
jobs:
|
|
make-release-pr:
|
|
permissions:
|
|
id-token: write # Enable OIDC
|
|
pull-requests: write
|
|
contents: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Configure toolchain
|
|
run: |
|
|
rustup toolchain install --profile minimal --no-self-update nightly
|
|
rustup default nightly
|
|
- uses: chainguard-dev/actions/setup-gitsign@main
|
|
- name: Install cargo-release
|
|
uses: taiki-e/install-action@v2
|
|
with:
|
|
tool: cargo-release,cargo-semver-checks
|
|
|
|
- uses: cargo-bins/release-pr@v2
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
version: ${{ inputs.version }}
|
|
crate-path: crates/${{ inputs.crate }}
|
|
pr-label: release
|
|
pr-release-notes: ${{ inputs.crate == 'bin' }}
|
|
pr-template-file: .github/scripts/release-pr-template.ejs
|
|
check-semver: ${{ inputs.crate != 'bin' }}
|
|
check-package: true
|
|
env:
|
|
RUSTFLAGS: --cfg reqwest_unstable
|