Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change github_token to gh_token because its reserved #48

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/release-plz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release-plz
on:
workflow_call:
secrets:
github_token:
gh_token:
description: 'GitHub token'
required: true
cargo_registry_token:
Expand All @@ -27,7 +27,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.github_token }}
token: ${{ secrets.gh_token }}

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -41,7 +41,7 @@ jobs:
with:
command: release
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
GITHUB_TOKEN: ${{ secrets.gh_token }}
CARGO_REGISTRY_TOKEN: ${{ secrets.cargo_registry_token }}

# Create a PR with the new versions and changelog, preparing the next release.
Expand All @@ -56,7 +56,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.github_token }}
token: ${{ secrets.gh_token }}

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -66,5 +66,5 @@ jobs:
with:
command: release-pr
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
GITHUB_TOKEN: ${{ secrets.gh_token }}
CARGO_REGISTRY_TOKEN: ${{ secrets.cargo_registry_token }}