Skip to content

Commit

Permalink
chore: change github_token to gh_token because its reserved
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov committed Nov 26, 2024
1 parent 21f6a24 commit f144cbe
Showing 1 changed file with 5 additions and 5 deletions.
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 }}

0 comments on commit f144cbe

Please sign in to comment.