mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 05:28:42 +00:00
Improve release-pr usage (#350)
This commit is contained in:
parent
f7ad78288b
commit
bcec382a64
1 changed files with 7 additions and 4 deletions
11
.github/workflows/release-pr.yml
vendored
11
.github/workflows/release-pr.yml
vendored
|
@ -17,20 +17,23 @@ on:
|
||||||
description: Version to release
|
description: Version to release
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
default: patch
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
make-release-pr:
|
make-release-pr:
|
||||||
|
permissions:
|
||||||
|
id-token: write # Enable OIDC
|
||||||
|
pull-requests: write
|
||||||
|
contents: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: chainguard-dev/actions/setup-gitsign@main
|
||||||
- name: Install cargo-release
|
- name: Install cargo-release
|
||||||
uses: taiki-e/install-action@v1
|
uses: taiki-e/install-action@v1
|
||||||
with:
|
with:
|
||||||
tool: cargo-release
|
tool: cargo-release
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
ref: main
|
|
||||||
|
|
||||||
- uses: cargo-bins/release-pr@v1
|
- uses: cargo-bins/release-pr@v1
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue