mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Simplify release-pr.yml (#2070)
Some checks are pending
Release-plz / Release-plz (push) Waiting to run
Some checks are pending
Release-plz / Release-plz (push) Waiting to run
We only want to use it for cargo-binstall release Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
a799bb428c
commit
7c38109b23
1 changed files with 4 additions and 29 deletions
33
.github/workflows/release-pr.yml
vendored
33
.github/workflows/release-pr.yml
vendored
|
@ -1,37 +1,12 @@
|
|||
name: Open a release PR
|
||||
name: Open cargo-binstall 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-git-repo-api
|
||||
- binstalk-registry
|
||||
- binstalk-manifests
|
||||
- binstalk-types
|
||||
- binstalk-downloader
|
||||
- cargo-toml-workspace
|
||||
- detect-targets
|
||||
- detect-wasi
|
||||
- fs-lock
|
||||
- normalize-path
|
||||
version:
|
||||
description: Version to release
|
||||
required: true
|
||||
type: string
|
||||
default: patch
|
||||
no-check-semver:
|
||||
description: To disable check semver
|
||||
required: true
|
||||
type: string
|
||||
default: "false"
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
@ -62,11 +37,11 @@ jobs:
|
|||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
version: ${{ inputs.version }}
|
||||
crate-path: crates/${{ inputs.crate }}
|
||||
crate-path: crates/bin
|
||||
pr-label: release
|
||||
pr-release-notes: ${{ inputs.crate == 'bin' }}
|
||||
pr-release-notes: true
|
||||
pr-template-file: .github/scripts/release-pr-template.ejs
|
||||
check-semver: ${{ inputs.crate != 'bin' && inputs.no-check-semver != 'true' }}
|
||||
check-semver: false
|
||||
check-package: true
|
||||
env:
|
||||
RUSTFLAGS: --cfg reqwest_unstable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue